[webkit-changes] [WebKit/WebKit] efdb17: Cherry-pick 261961 at main (645e981e523d). https://bu...
Carlos Garcia Campos
noreply at github.com
Wed Mar 22 15:21:02 PDT 2023
Branch: refs/heads/webkitglib/2.40
Home: https://github.com/WebKit/WebKit
Commit: efdb175be422be8d27b93f46f12208f8c0346192
https://github.com/WebKit/WebKit/commit/efdb175be422be8d27b93f46f12208f8c0346192
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-03-23 (Thu, 23 Mar 2023)
Changed paths:
M Source/WebCore/page/FrameView.cpp
M Source/WebCore/platform/ScrollView.cpp
M Source/WebCore/platform/Scrollbar.cpp
M Source/WebCore/platform/Scrollbar.h
M Source/WebCore/rendering/RenderLayerScrollableArea.cpp
M Source/WebCore/testing/Internals.cpp
M Source/WebKit/Shared/NativeWebWheelEvent.h
M Source/WebKit/Shared/gtk/NativeWebWheelEventGtk.cpp
M Source/WebKit/Shared/gtk/WebEventFactory.cpp
M Source/WebKit/Shared/gtk/WebEventFactory.h
M Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
Log Message:
-----------
Cherry-pick 261961 at main (645e981e523d). https://bugs.webkit.org/show_bug.cgi?id=168300
[GTK] Slow scroll adjustment when using a mouse wheel
https://bugs.webkit.org/show_bug.cgi?id=168300
Reviewed by Michael Catanzaro.
Use a different scroll step depending on the scrollable area size,
matching what GTK4 does.
* Source/WebCore/page/FrameView.cpp:
(WebCore::FrameView::updateScrollbarSteps):
* Source/WebCore/platform/ScrollView.cpp:
(WebCore::ScrollView::updateScrollbarSteps):
* Source/WebCore/platform/Scrollbar.cpp:
(WebCore::Scrollbar::pixelsPerLineStep):
* Source/WebCore/platform/Scrollbar.h:
* Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
(WebCore::RenderLayerScrollableArea::updateScrollbarSteps):
* Source/WebKit/Shared/NativeWebWheelEvent.h:
* Source/WebKit/Shared/gtk/NativeWebWheelEventGtk.cpp:
* Source/WebKit/Shared/gtk/WebEventFactory.cpp:
(WebKit::WebEventFactory::createWebWheelEvent): Deleted.
* Source/WebKit/Shared/gtk/WebEventFactory.h:
* Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseScrollEvent):
(handleScroll):
(webkitWebViewBaseHandleWheelEvent): Deleted.
Canonical link: https://commits.webkit.org/261961@main
More information about the webkit-changes
mailing list