Autogenerate Settings that call setNeedsRecalcStyleInAllFrames when set
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2013 22:21:17 +0000 (22:21 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2013 22:21:17 +0000 (22:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109989

Reviewed by Ryosuke Niwa.

.:

Add setters to export symbols.

* Source/autotools/symbols.filter:

Source/WebCore:

Start generating the code for settings that call m_page->setNeedsRecalcStyleInAllFrames()
when the value is changed. This allows us to generate 10 more settings. As a follow up, we
can remove some methods from DRT/WTR after this.

No new tests, this is a build refactor and should not impact any test results.

* page/Settings.cpp:
(WebCore::Settings::Settings): Remove member variables. Add SETTINGS_SETTER_BODIES macro that
has the generated setter bodies.
* page/Settings.h:
(Settings): Remove code that is now generated.
* page/Settings.in: Add new entries with setNeedsStyleRecalcWhenSetting=1
* page/make_settings.pl:
(defaultItemFactory): Add setNeedsStyleRecalcWhenSetting flag.
(generateSettingsMacrosHeader): Print macro for setter bodies.
(printConditionalMacros): Add setter body code.
(printGettersAndSetters): Pass in setNeedsStyleRecalcWhenSetting so we know whether to inline the
setter in the header or not.
(printGetterAndSetter): Ditto.
(printSetterBodies): Print macro for setter bodies.
(printSetterBody): Print setter body for a single setting.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143652 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/page/Settings.cpp
Source/WebCore/page/Settings.h
Source/WebCore/page/Settings.in
Source/WebCore/page/make_settings.pl
Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in
Source/WebKit/win/WebKit.vcproj/WebKitExports.def.in
Source/autotools/symbols.filter

index 0524f02..24e7e9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2013-02-21  Tony Chang  <tony@chromium.org>
+
+        Autogenerate Settings that call setNeedsRecalcStyleInAllFrames when set
+        https://bugs.webkit.org/show_bug.cgi?id=109989
+
+        Reviewed by Ryosuke Niwa.
+
+        Add setters to export symbols.
+
+        * Source/autotools/symbols.filter:
+
 2013-02-21  Martin Robinson  <mrobinson@igalia.com>
 
         [GTK] Move feature overriding to the configure phase
index 6ce9fc3..ebec5e2 100644 (file)
@@ -1,3 +1,32 @@
+2013-02-21  Tony Chang  <tony@chromium.org>
+
+        Autogenerate Settings that call setNeedsRecalcStyleInAllFrames when set
+        https://bugs.webkit.org/show_bug.cgi?id=109989
+
+        Reviewed by Ryosuke Niwa.
+
+        Start generating the code for settings that call m_page->setNeedsRecalcStyleInAllFrames()
+        when the value is changed. This allows us to generate 10 more settings. As a follow up, we
+        can remove some methods from DRT/WTR after this.
+
+        No new tests, this is a build refactor and should not impact any test results.
+
+        * page/Settings.cpp:
+        (WebCore::Settings::Settings): Remove member variables. Add SETTINGS_SETTER_BODIES macro that
+        has the generated setter bodies.
+        * page/Settings.h:
+        (Settings): Remove code that is now generated.
+        * page/Settings.in: Add new entries with setNeedsStyleRecalcWhenSetting=1
+        * page/make_settings.pl:
+        (defaultItemFactory): Add setNeedsStyleRecalcWhenSetting flag.
+        (generateSettingsMacrosHeader): Print macro for setter bodies.
+        (printConditionalMacros): Add setter body code.
+        (printGettersAndSetters): Pass in setNeedsStyleRecalcWhenSetting so we know whether to inline the
+        setter in the header or not.
+        (printGetterAndSetter): Ditto.
+        (printSetterBodies): Print macro for setter bodies.
+        (printSetterBody): Print setter body for a single setting.
+
 2013-02-21  Dean Jackson  <dino@apple.com>
 
         Plug-in snapshotting code always accepts first snapshot
index 89ce733..be7f07a 100644 (file)
@@ -141,11 +141,6 @@ static const double defaultUnifiedTextCheckerEnabled = false;
 Settings::Settings(Page* page)
     : m_page(0)
     , m_mediaTypeOverride("screen")
-    , m_minimumFontSize(0)
-    , m_minimumLogicalFontSize(0)
-    , m_defaultFontSize(0)
-    , m_defaultFixedFontSize(0)
-    , m_screenFontSubstitutionEnabled(true)
     , m_storageBlockingPolicy(SecurityOrigin::AllowAllStorage)
 #if ENABLE(TEXT_AUTOSIZING)
     , m_textAutosizingFontScaleFactor(1)
@@ -164,10 +159,8 @@ Settings::Settings(Page* page)
     , m_areImagesEnabled(true)
     , m_arePluginsEnabled(false)
     , m_isScriptEnabled(false)
-    , m_textAreasAreResizable(false)
     , m_needsAdobeFrameReloadingQuirk(false)
     , m_usesPageCache(false)
-    , m_authorAndUserStylesEnabled(true)
     , m_fontRenderingMode(0)
     , m_isCSSCustomFilterEnabled(false)
 #if ENABLE(CSS_STICKY_POSITION)
@@ -176,9 +169,6 @@ Settings::Settings(Page* page)
 #if ENABLE(CSS_VARIABLES)
     , m_cssVariablesEnabled(false)
 #endif
-    , m_acceleratedCompositingEnabled(true)
-    , m_showDebugBorders(false)
-    , m_showRepaintCounter(false)
     , m_showTiledScrollingIndicator(false)
     , m_tiledBackingStoreEnabled(false)
     , m_dnsPrefetchingEnabled(false)
@@ -204,6 +194,8 @@ PassOwnPtr<Settings> Settings::create(Page* page)
     return adoptPtr(new Settings(page));
 } 
 
+SETTINGS_SETTER_BODIES
+
 void Settings::setHiddenPageDOMTimerAlignmentInterval(double hiddenPageDOMTimerAlignmentinterval)
 {
     gHiddenPageDOMTimerAlignmentInterval = hiddenPageDOMTimerAlignmentinterval;
@@ -291,51 +283,6 @@ void Settings::setPictographFontFamily(const AtomicString& family, UScriptCode s
     setGenericFontFamilyMap(m_pictographFontFamilyMap, family, script, m_page);
 }
 
-void Settings::setMinimumFontSize(int minimumFontSize)
-{
-    if (m_minimumFontSize == minimumFontSize)
-        return;
-
-    m_minimumFontSize = minimumFontSize;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
-void Settings::setMinimumLogicalFontSize(int minimumLogicalFontSize)
-{
-    if (m_minimumLogicalFontSize == minimumLogicalFontSize)
-        return;
-
-    m_minimumLogicalFontSize = minimumLogicalFontSize;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
-void Settings::setDefaultFontSize(int defaultFontSize)
-{
-    if (m_defaultFontSize == defaultFontSize)
-        return;
-
-    m_defaultFontSize = defaultFontSize;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
-void Settings::setDefaultFixedFontSize(int defaultFontSize)
-{
-    if (m_defaultFixedFontSize == defaultFontSize)
-        return;
-
-    m_defaultFixedFontSize = defaultFontSize;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
-void Settings::setScreenFontSubstitutionEnabled(bool screenFontSubstitutionEnabled)
-{
-    if (m_screenFontSubstitutionEnabled == screenFontSubstitutionEnabled)
-        return;
-
-    m_screenFontSubstitutionEnabled = screenFontSubstitutionEnabled;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
 #if ENABLE(TEXT_AUTOSIZING)
 void Settings::setTextAutosizingEnabled(bool textAutosizingEnabled)
 {
@@ -460,15 +407,6 @@ void Settings::setUserStyleSheetLocation(const KURL& userStyleSheetLocation)
     m_page->userStyleSheetLocationChanged();
 }
 
-void Settings::setTextAreasAreResizable(bool textAreasAreResizable)
-{
-    if (m_textAreasAreResizable == textAreasAreResizable)
-        return;
-
-    m_textAreasAreResizable = textAreasAreResizable;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
 // FIXME: This quirk is needed because of Radar 4674537 and 5211271. We need to phase it out once Adobe
 // can fix the bug from their end.
 void Settings::setNeedsAdobeFrameReloadingQuirk(bool shouldNotReloadIFramesForUnchangedSRC)
@@ -531,15 +469,6 @@ void Settings::setUsesPageCache(bool usesPageCache)
     }
 }
 
-void Settings::setAuthorAndUserStylesEnabled(bool authorAndUserStylesEnabled)
-{
-    if (m_authorAndUserStylesEnabled == authorAndUserStylesEnabled)
-        return;
-
-    m_authorAndUserStylesEnabled = authorAndUserStylesEnabled;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
 void Settings::setFontRenderingMode(FontRenderingMode mode)
 {
     if (fontRenderingMode() == mode)
@@ -562,33 +491,6 @@ void Settings::setDNSPrefetchingEnabled(bool dnsPrefetchingEnabled)
     m_page->dnsPrefetchingStateChanged();
 }
 
-void Settings::setAcceleratedCompositingEnabled(bool enabled)
-{
-    if (m_acceleratedCompositingEnabled == enabled)
-        return;
-        
-    m_acceleratedCompositingEnabled = enabled;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
-void Settings::setShowDebugBorders(bool enabled)
-{
-    if (m_showDebugBorders == enabled)
-        return;
-        
-    m_showDebugBorders = enabled;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
-void Settings::setShowRepaintCounter(bool enabled)
-{
-    if (m_showRepaintCounter == enabled)
-        return;
-        
-    m_showRepaintCounter = enabled;
-    m_page->setNeedsRecalcStyleInAllFrames();
-}
-
 void Settings::setShowTiledScrollingIndicator(bool enabled)
 {
     if (m_showTiledScrollingIndicator == enabled)
index 6d18609..4ae8ab9 100644 (file)
@@ -94,21 +94,6 @@ namespace WebCore {
         void setPictographFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
         const AtomicString& pictographFontFamily(UScriptCode = USCRIPT_COMMON) const;
 
-        void setMinimumFontSize(int);
-        int minimumFontSize() const { return m_minimumFontSize; }
-
-        void setMinimumLogicalFontSize(int);
-        int minimumLogicalFontSize() const { return m_minimumLogicalFontSize; }
-
-        void setDefaultFontSize(int);
-        int defaultFontSize() const { return m_defaultFontSize; }
-
-        void setDefaultFixedFontSize(int);
-        int defaultFixedFontSize() const { return m_defaultFixedFontSize; }
-
-        void setScreenFontSubstitutionEnabled(bool);
-        bool screenFontSubstitutionEnabled() const { return m_screenFontSubstitutionEnabled; }
-
 #if ENABLE(TEXT_AUTOSIZING)
         void setTextAutosizingEnabled(bool);
         bool textAutosizingEnabled() const { return m_textAutosizingEnabled; }
@@ -177,9 +162,6 @@ namespace WebCore {
         void setUserStyleSheetLocation(const KURL&);
         const KURL& userStyleSheetLocation() const { return m_userStyleSheetLocation; }
 
-        void setTextAreasAreResizable(bool);
-        bool textAreasAreResizable() const { return m_textAreasAreResizable; }
-
         void setNeedsAdobeFrameReloadingQuirk(bool);
         bool needsAcrobatFrameReloadingQuirk() const { return m_needsAdobeFrameReloadingQuirk; }
 
@@ -201,9 +183,6 @@ namespace WebCore {
         void setUsesPageCache(bool);
         bool usesPageCache() const { return m_usesPageCache; }
         
-        void setAuthorAndUserStylesEnabled(bool);
-        bool authorAndUserStylesEnabled() const { return m_authorAndUserStylesEnabled; }
-        
         void setFontRenderingMode(FontRenderingMode mode);
         FontRenderingMode fontRenderingMode() const;
 
@@ -226,15 +205,6 @@ namespace WebCore {
         bool cssVariablesEnabled() const { return false; }
 #endif
 
-        void setAcceleratedCompositingEnabled(bool);
-        bool acceleratedCompositingEnabled() const { return m_acceleratedCompositingEnabled; }
-
-        void setShowDebugBorders(bool);
-        bool showDebugBorders() const { return m_showDebugBorders; }
-
-        void setShowRepaintCounter(bool);
-        bool showRepaintCounter() const { return m_showRepaintCounter; }
-
         void setShowTiledScrollingIndicator(bool);
         bool showTiledScrollingIndicator() const { return m_showTiledScrollingIndicator; }
 
@@ -304,11 +274,6 @@ namespace WebCore {
         ScriptFontFamilyMap m_cursiveFontFamilyMap;
         ScriptFontFamilyMap m_fantasyFontFamilyMap;
         ScriptFontFamilyMap m_pictographFontFamilyMap;
-        int m_minimumFontSize;
-        int m_minimumLogicalFontSize;
-        int m_defaultFontSize;
-        int m_defaultFixedFontSize;
-        bool m_screenFontSubstitutionEnabled;
         SecurityOrigin::StorageBlockingPolicy m_storageBlockingPolicy;
 #if ENABLE(TEXT_AUTOSIZING)
         float m_textAutosizingFontScaleFactor;
@@ -326,10 +291,8 @@ namespace WebCore {
         bool m_areImagesEnabled : 1;
         bool m_arePluginsEnabled : 1;
         bool m_isScriptEnabled : 1;
-        bool m_textAreasAreResizable : 1;
         bool m_needsAdobeFrameReloadingQuirk : 1;
         bool m_usesPageCache : 1;
-        bool m_authorAndUserStylesEnabled : 1;
         unsigned m_fontRenderingMode : 1;
         bool m_isCSSCustomFilterEnabled : 1;
 #if ENABLE(CSS_STICKY_POSITION)
@@ -338,9 +301,6 @@ namespace WebCore {
 #if ENABLE(CSS_VARIABLES)
         bool m_cssVariablesEnabled : 1;
 #endif
-        bool m_acceleratedCompositingEnabled : 1;
-        bool m_showDebugBorders : 1;
-        bool m_showRepaintCounter : 1;
         bool m_showTiledScrollingIndicator : 1;
         bool m_tiledBackingStoreEnabled : 1;
         bool m_dnsPrefetchingEnabled : 1;
index 6e715a2..97f6f93 100644 (file)
@@ -33,6 +33,11 @@ deviceHeight type=int, initial=0
 # since the memory used won't be released until the Page is destroyed.
 sessionStorageQuota type=unsigned, initial=StorageMap::noQuota
 
+minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
+minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
+defaultFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
+defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
+
 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
 maximumHTMLParserDOMTreeDepth type=unsigned, initial=defaultMaximumHTMLParserDOMTreeDepth
 
@@ -50,6 +55,13 @@ javaScriptCanAccessClipboard initial=false
 shouldPrintBackgrounds initial=false
 usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT
 
+screenFontSubstitutionEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
+textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
+authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
+acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
+showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1
+showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
+
 # This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
 # making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
 # and getting keypress dispatched in more cases.
index 13318b5..e63e1bb 100755 (executable)
@@ -45,7 +45,8 @@ sub defaultItemFactory
     return (
         'conditional' => 0,
         'initial' => '',
-        'type' => 'bool'
+        'type' => 'bool',
+        'setNeedsStyleRecalcInAllFrames' => 0,
     );
 }
 
@@ -102,6 +103,7 @@ sub generateSettingsMacrosHeader($)
     printGettersAndSetters($file, \%unconditionalSettings, \%settingsByConditional, $parsedItemsRef);
     printMemberVariables($file, \%unconditionalSettings, \%settingsByConditional, $parsedItemsRef);
     printInitializerList($file, \%unconditionalSettings, \%settingsByConditional, $parsedItemsRef);
+    printSetterBodies($file, \%unconditionalSettings, \%settingsByConditional, $parsedItemsRef);
 
     print $file "#endif // SettingsMacros_h\n";
 
@@ -120,7 +122,7 @@ sub printConditionalMacros($$$)
 
         print $file "#define ${preferredConditional}_SETTINGS_GETTER_AND_SETTERS \\\n";
         for my $settingName (sort keys %{ $settingsByConditional{$conditional} }) {
-            printGetterAndSetter($file, $settingName, $parsedItems{$settingName}{"type"});
+            printGetterAndSetter($file, $settingName, $parsedItems{$settingName}{"type"}, $parsedItems{$settingName}{"setNeedsStyleRecalcInAllFrames"});
         }
         print $file "// End of ${preferredConditional}_SETTINGS_GETTER_AND_SETTERS\n";
 
@@ -153,12 +155,19 @@ sub printConditionalMacros($$$)
         }
         print $file "// End of ${preferredConditional}_SETTINGS_BOOL_INITIALIZERS\n";
 
+        print $file "#define ${preferredConditional}_SETTINGS_SETTER_BODIES \\\n";
+        for my $settingName (sort keys %{ $settingsByConditional{$conditional} }) {
+            printSetterBody($file, $settingName, $parsedItems{$settingName}{"type"}, $parsedItems{$settingName}{"setNeedsStyleRecalcInAllFrames"});
+        }
+        print $file "// End of ${preferredConditional}_SETTINGS_SETTER_BODIES\n";
+
         print $file "#else\n";
         print $file "#define ${preferredConditional}_SETTINGS_GETTER_AND_SETTERS\n";
         print $file "#define ${preferredConditional}_SETTINGS_NON_BOOL_MEMBER_VARIABLES\n";
         print $file "#define ${preferredConditional}_SETTINGS_BOOL_MEMBER_VARIABLES\n";
         print $file "#define ${preferredConditional}_SETTINGS_NON_BOOL_INITIALIZERS\n";
         print $file "#define ${preferredConditional}_SETTINGS_BOOL_INITIALIZERS\n";
+        print $file "#define ${preferredConditional}_SETTINGS_SETTER_BODIES\n";
         print $file "#endif\n";
         print $file "\n";
     }
@@ -173,7 +182,7 @@ sub printGettersAndSetters($$$$)
 
     print $file "#define SETTINGS_GETTERS_AND_SETTERS \\\n";
     for my $settingName (sort keys %unconditionalSettings) {
-        printGetterAndSetter($file, $settingName, $parsedItems{$settingName}{"type"});
+        printGetterAndSetter($file, $settingName, $parsedItems{$settingName}{"type"}, $parsedItems{$settingName}{"setNeedsStyleRecalcInAllFrames"});
     }
     for my $conditional (sort keys %settingsByConditional) {
         my $preferredConditional = $InCompiler->preferredConditional($conditional);
@@ -226,16 +235,21 @@ sub setterFunctionName($)
     return $setterFunctionName;
 }
 
-sub printGetterAndSetter($$$)
+sub printGetterAndSetter($$$$)
 {
-    my ($file, $settingName, $type) = @_;
+    my ($file, $settingName, $type, $setNeedsStyleRecalcInAllFrames) = @_;
     my $setterFunctionName = setterFunctionName($settingName);
     if (lc(substr($type, 0, 1)) eq substr($type, 0, 1)) {
         print $file "    $type $settingName() const { return m_$settingName; } \\\n";
-        print $file "    void $setterFunctionName($type $settingName) { m_$settingName = $settingName; } \\\n";
+        print $file "    void $setterFunctionName($type $settingName)";
     } else {
         print $file "    const $type& $settingName() { return m_$settingName; } \\\n";
-        print $file "    void $setterFunctionName(const $type& $settingName) { m_$settingName = $settingName; } \\\n";
+        print $file "    void $setterFunctionName(const $type& $settingName)";
+    }
+    if ($setNeedsStyleRecalcInAllFrames) {
+        print $file "; \\\n";
+    } else {
+        print $file " { m_$settingName = $settingName; } \\\n";
     }
 }
 
@@ -278,6 +292,43 @@ sub printInitializer($$$)
     print $file "    , m_$settingName($initialValue) \\\n"
 }
 
+sub printSetterBodies($$$$)
+{
+    my ($file, $unconditionalSettingsRef, $settingsByConditionalRef, $parsedItemsRef) = @_;
+    my %parsedItems = %{ $parsedItemsRef };
+    my %unconditionalSettings = %{ $unconditionalSettingsRef };
+    my %settingsByConditional = %{ $settingsByConditionalRef };
+
+    print $file "#define SETTINGS_SETTER_BODIES \\\n";
+    for my $settingName (sort keys %unconditionalSettings) {
+        printSetterBody($file, $settingName, $parsedItems{$settingName}{"type"}, $parsedItems{$settingName}{"setNeedsStyleRecalcInAllFrames"});
+    }
+    for my $conditional (sort keys %settingsByConditional) {
+        my $preferredConditional = $InCompiler->preferredConditional($conditional);
+        print $file "    ${preferredConditional}_SETTINGS_SETTER_BODIES \\\n";
+    }
+    print $file "// End of SETTINGS_SETTER_BODIES.\n\n";
+}
+
+sub printSetterBody($$$$)
+{
+    my ($file, $settingName, $type, $setNeedsStyleRecalcInAllFrames) = @_;
+    return if (!$setNeedsStyleRecalcInAllFrames);
+
+    my $setterFunctionName = setterFunctionName($settingName);
+    if (lc(substr($type, 0, 1)) eq substr($type, 0, 1)) {
+        print $file "void Settings::$setterFunctionName($type $settingName) \\\n";
+    } else {
+        print $file "void Settings::$setterFunctionName(const $type& $settingName) \\\n";
+    }
+    print $file "{ \\\n";
+    print $file "    if (m_$settingName == $settingName) \\\n";
+    print $file "        return; \\\n";
+    print $file "    m_$settingName = $settingName; \\\n";
+    print $file "    m_page->setNeedsRecalcStyleInAllFrames(); \\\n";
+    print $file "} \\\n";
+}
+
 sub enumerateParsedItems($$$)
 {
     my ($file, $parsedItemsRef, $visitorFunction) = @_;
index 20a7ca2..21fa0cb 100644 (file)
@@ -398,6 +398,16 @@ EXPORTS
         ?setMinDOMTimerInterval@Settings@WebCore@@QAEXN@Z
         ?setApplicationChromeMode@Settings@WebCore@@QAEX_N@Z
         ?setDOMPasteAllowed@Settings@WebCore@@QAEX_N@Z
+        ?setTextAreasAreResizable@Settings@WebCore@@QAEX_N@Z
+        ?setShowRepaintCounter@Settings@WebCore@@QAEX_N@Z
+        ?setShowDebugBorders@Settings@WebCore@@QAEX_N@Z
+        ?setScreenFontSubstitutionEnabled@Settings@WebCore@@QAEX_N@Z
+        ?setMinimumLogicalFontSize@Settings@WebCore@@QAEXH@Z
+        ?setMinimumFontSize@Settings@WebCore@@QAEXH@Z
+        ?setDefaultFontSize@Settings@WebCore@@QAEXH@Z
+        ?setDefaultFixedFontSize@Settings@WebCore@@QAEXH@Z
+        ?setAuthorAndUserStylesEnabled@Settings@WebCore@@QAEX_N@Z
+        ?setAcceleratedCompositingEnabled@Settings@WebCore@@QAEX_N@Z
 
 #if ENABLE(WORKERS)
         ?workerThreadCount@WorkerThread@WebCore@@SAIXZ
index 20a7ca2..21fa0cb 100644 (file)
@@ -398,6 +398,16 @@ EXPORTS
         ?setMinDOMTimerInterval@Settings@WebCore@@QAEXN@Z
         ?setApplicationChromeMode@Settings@WebCore@@QAEX_N@Z
         ?setDOMPasteAllowed@Settings@WebCore@@QAEX_N@Z
+        ?setTextAreasAreResizable@Settings@WebCore@@QAEX_N@Z
+        ?setShowRepaintCounter@Settings@WebCore@@QAEX_N@Z
+        ?setShowDebugBorders@Settings@WebCore@@QAEX_N@Z
+        ?setScreenFontSubstitutionEnabled@Settings@WebCore@@QAEX_N@Z
+        ?setMinimumLogicalFontSize@Settings@WebCore@@QAEXH@Z
+        ?setMinimumFontSize@Settings@WebCore@@QAEXH@Z
+        ?setDefaultFontSize@Settings@WebCore@@QAEXH@Z
+        ?setDefaultFixedFontSize@Settings@WebCore@@QAEXH@Z
+        ?setAuthorAndUserStylesEnabled@Settings@WebCore@@QAEX_N@Z
+        ?setAcceleratedCompositingEnabled@Settings@WebCore@@QAEX_N@Z
 
 #if ENABLE(WORKERS)
         ?workerThreadCount@WorkerThread@WebCore@@SAIXZ
index 1ea7e0d..49f4b6e 100644 (file)
@@ -197,20 +197,30 @@ _ZN7WebCore4Node14removedLastRefEv;
 _ZN7WebCore6CursorC1ERKS0_;
 _ZN7WebCore6CursorD1Ev;
 _ZN7WebCore8Settings16setImagesEnabledEb;
+_ZN7WebCore8Settings18setDefaultFontSizeEi;
 _ZN7WebCore8Settings18setFixedFontFamilyERKN3WTF12AtomicStringE11UScriptCode;
+_ZN7WebCore8Settings18setMinimumFontSizeEi;
 _ZN7WebCore8Settings18setSerifFontFamilyERKN3WTF12AtomicStringE11UScriptCode;
+_ZN7WebCore8Settings19setShowDebugBordersEb;
 _ZN7WebCore8Settings20setCursiveFontFamilyERKN3WTF12AtomicStringE11UScriptCode;
 _ZN7WebCore8Settings20setFantasyFontFamilyERKN3WTF12AtomicStringE11UScriptCode;
+_ZN7WebCore8Settings20setMediaTypeOverrideERKN3WTF6StringE;
 _ZN7WebCore8Settings21mockScrollbarsEnabledEv;
+_ZN7WebCore8Settings21setResolutionOverrideERKNS_7IntSizeE;
+_ZN7WebCore8Settings21setShowRepaintCounterEb;
 _ZN7WebCore8Settings21setStandardFontFamilyERKN3WTF12AtomicStringE11UScriptCode;
 _ZN7WebCore8Settings22setSansSerifFontFamilyERKN3WTF12AtomicStringE11UScriptCode;
+_ZN7WebCore8Settings23setDefaultFixedFontSizeEi;
 _ZN7WebCore8Settings23setPictographFontFamilyERKN3WTF12AtomicStringE11UScriptCode;
 _ZN7WebCore8Settings24setMockScrollbarsEnabledEb;
-_ZN7WebCore8Settings24setUsesOverlayScrollbarsEb;
 _ZN7WebCore8Settings24setStorageBlockingPolicyENS_14SecurityOrigin21StorageBlockingPolicyE;
+_ZN7WebCore8Settings24setTextAreasAreResizableEb;
+_ZN7WebCore8Settings24setUsesOverlayScrollbarsEb;
+_ZN7WebCore8Settings25setMinimumLogicalFontSizeEi;
+_ZN7WebCore8Settings29setAuthorAndUserStylesEnabledEb;
+_ZN7WebCore8Settings32setAcceleratedCompositingEnabledEb;
+_ZN7WebCore8Settings32setScreenFontSubstitutionEnabledEb;
 _ZN7WebCore8Settings37setFixedElementsLayoutRelativeToFrameEb;
-_ZN7WebCore8Settings21setResolutionOverrideERKNS_7IntSizeE;
-_ZN7WebCore8Settings20setMediaTypeOverrideERKN3WTF6StringE;
 _ZN7WebCore9FrameView17paintControlTintsEv;
 _ZN7WebCore9FrameView19scrollElementToRectEPNS_7ElementERKNS_7IntRectE;
 _ZN7WebCore22RuntimeEnabledFeatures31isMultipleShadowSubtreesEnabledE;