-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=88070 Gtk 3.3.18 added smooth scroll events, adding a new scroll direction that provides detailed delta information. Added GDK_SMOOTH_SCROLL_MASK to the events listened, and added code to process properly the new direction GDK_SCROLL_SMOOTH and its deltas. Patch by José Dapena Paz <jdapena@igalia.com> on 2012-08-29 Reviewed by Martin Robinson. Test: fast/events/continuous-platform-wheelevent-in-scrolling-div.html * platform/gtk/PlatformWheelEventGtk.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent): Source/WebKit/gtk: [Gtk] Process Gtk 3.4 smooth scroll events properly. https://bugs.webkit.org/show_bug.cgi?id=88070 Gtk 3.3.18 added smooth scroll events, adding a new scroll direction that provides detailed delta information. Added GDK_SMOOTH_SCROLL_MASK to the events listened, and added code to process properly the new direction GDK_SCROLL_SMOOTH and its deltas. Patch by José Dapena Paz <jdapena@igalia.com> on 2012-08-29 Reviewed by Martin Robinson. * webkit/webkitwebview.cpp: (webkit_web_view_realize): Source/WebKit2: [Gtk] Process Gtk 3.4 smooth scroll events properly. https://bugs.webkit.org/show_bug.cgi?id=88070 Gtk 3.3.18 added smooth scroll events, adding a new scroll direction that provides detailed delta information. Added GDK_SMOOTH_SCROLL_MASK to the events listened, and added code to process properly the new direction GDK_SCROLL_SMOOTH and its deltas. Patch by José Dapena Paz <jdapena@igalia.com> on 2012-08-29 Reviewed by Martin Robinson. * Shared/gtk/WebEventFactory.cpp: (WebKit::WebEventFactory::createWebWheelEvent): * UIProcess/API/gtk/WebKitWebViewBase.cpp: (webkitWebViewBaseRealize): Tools: [Gtk] Process Gtk 3.4 smooth scroll events properly https://bugs.webkit.org/show_bug.cgi?id=88070 Added continousMouseScrollBy support in WebKitTestRunner, and added implementation for gtk, and stub for Qt, mac and EFL. Added layout tests support for smooth scroll in Gtk 3.4, and use smooth scroll for emulating multi-tick mouseScrollBy events. Patch by José Dapena Paz <jdapena@igalia.com> on 2012-08-29 Reviewed by Martin Robinson. * DumpRenderTree/gtk/EventSender.cpp: (mouseScrollByCallback): (continuousMouseScrollByCallback): * WebKitTestRunner/EventSenderProxy.h: (EventSenderProxy): * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: * WebKitTestRunner/InjectedBundle/EventSendingController.cpp: (WTR::EventSendingController::mouseScrollBy): (WTR): (WTR::EventSendingController::continuousMouseScrollBy): * WebKitTestRunner/InjectedBundle/EventSendingController.h: (EventSendingController): * WebKitTestRunner/TestController.cpp: (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp: (WTR): (WTR::EventSenderProxy::mouseScrollBy): (WTR::EventSenderProxy::continuousMouseScrollBy): * WebKitTestRunner/efl/EventSenderProxyEfl.cpp: (WTR): (WTR::EventSenderProxy::continuousMouseScrollBy): * WebKitTestRunner/mac/EventSenderProxy.mm: (WTR::EventSenderProxy::continuousScrollBy): * WebKitTestRunner/qt/EventSenderProxyQt.cpp: (WTR::EventSenderProxy::continuousMouseScrollBy): (WTR): LayoutTests: [Gtk] Process Gtk 3.4 smooth scroll events properly. https://bugs.webkit.org/show_bug.cgi?id=88070 Added layout tests support for smooth scroll in Gtk 3.4, and use smooth scroll for emulating multi-tick mouseScrollBy events. Patch by José Dapena Paz <jdapena@igalia.com> on 2012-08-29 Reviewed by Martin Robinson. * platform/gtk-wk2/fast/events/wheelevent-in-horizontal-scrollbar-in-rtl-expected.txt: Added. * platform/gtk-wk2/fast/events/wheelevent-in-vertical-scrollbar-in-rtl-expected.txt: Added. * platform/gtk/TestExpectations: * platform/gtk/fast/events/wheelevent-in-horizontal-scrollbar-in-rtl-expected.txt: Added. * platform/gtk/fast/events/wheelevent-in-vertical-scrollbar-in-rtl-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5843091f