-
tony@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=113253 Reviewed by James Robinson. Source/WebCore: Convert scrollAnimatorEnabled into an autogenerated setting. This involves renaming the setter from setEnableScrollAnimator(bool) to setScrollAnimatorEnabled(bool) and updating the callers. I didn't change any WebKit API methods. Also remove the code in InternalSettings since it's never used and will now be autogenerated with proper resetting code. No new tests, this is a refactor and should compile. * page/Settings.cpp: (WebCore::Settings::Settings): Remove code that is now autogenerated. * page/Settings.h: (Settings): Remove code that is now autogenerated. * page/Settings.in: Add entry for scrollAnimatorEnabled. * testing/InternalSettings.cpp: Remove unused code. * testing/InternalSettings.h: Remove unused code. * testing/InternalSettings.idl: Remove unused code. Source/WebKit/chromium: * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setEnableScrollAnimator): Update call to WebCore to use setScrollAnimatorEnabled(bool). Source/WebKit/gtk: * webkit/webkitwebview.cpp: (webkit_web_view_update_settings): Update call to WebCore to use setScrollAnimatorEnabled(bool). (webkit_web_view_settings_notify): Update call to WebCore to use setScrollAnimatorEnabled(bool). Source/WebKit/qt: * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): Update call to WebCore to use setScrollAnimatorEnabled(bool). Source/WebKit2: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::setUseFixedLayout): Update call to WebCore to use setScrollAnimatorEnabled(bool). (WebKit::WebPage::updatePreferences): Update call to WebCore to use setScrollAnimatorEnabled(bool). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82972d0f