-
allan.jensen@nokia.com authored
https://bugs.webkit.org/show_bug.cgi?id=74926 Reviewed by Simon Hausmann. Source/WebCore: Make GestureAnimations depend on the GESTURE_ANIMATION feature flag, since GestureAnimations are unused on some platforms. * Target.pri: * platform/ScrollAnimatorNone.cpp: (WebCore::ScrollAnimatorNone::fireUpAnAnimation): (WebCore::ScrollAnimatorNone::cancelAnimations): (WebCore::ScrollAnimatorNone::animationTimerFired): * platform/ScrollAnimatorNone.h: (ScrollAnimatorNone): Source/WebKit/qt: Expose the enable scroll animator setting. * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): (QWebSettings::QWebSettings): * Api/qwebsettings.h: Source/WebKit2: Expose scroll-animator preference, but ensure animated smooth scrolling on the web process side is disabled when scrolling has been delegated to the UI process. * Shared/WebPreferencesStore.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::setResizesToContentsUsingLayoutSize): (WebKit::WebPage::updatePreferences): Source/WTF: Initialize GESTURE_ANIMATION feature flag. * wtf/Platform.h: Tools: Enabled SMOOTH_SCROLLING on Qt, and expose the enable scroll animator setting in QtTestBrowser so it can be tested. * QtTestBrowser/launcherwindow.cpp: (LauncherWindow::createChrome): (LauncherWindow::toggleScrollAnimator): * QtTestBrowser/launcherwindow.h: (WindowOptions::WindowOptions): (WindowOptions): (LauncherWindow): * qmake/mkspecs/features/features.pri: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
abefb4bd