[webkit-changes] [WebKit/WebKit] e59a73: RemoteScrollingCoordinatorProxy needs to receive N...
Simon Fraser
noreply at github.com
Thu Feb 23 22:12:21 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e59a73b266370bee03de9e1abddf3f369e343f56
https://github.com/WebKit/WebKit/commit/e59a73b266370bee03de9e1abddf3f369e343f56
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2023-02-23 (Thu, 23 Feb 2023)
Changed paths:
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
RemoteScrollingCoordinatorProxy needs to receive NativeWebWheelEvents
https://bugs.webkit.org/show_bug.cgi?id=252860
rdar://105852101
Reviewed by Sam Weinig.
RemoteLayerTreeEventDispatcher will get a MomentumEventDispatcher soon, and MomentumEventDispatcher
needs to be fed a ScrollingAccelerationCurve which is derived from a native event, so these
native events need to get to RemoteScrollingCoordinatorProxy.
So change the argument to handleWheelEvent() to be a NativeWebWheelEvent.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
(WebKit::RemoteScrollingCoordinatorProxy::handleWheelEvent):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::handleWheelEvent):
Canonical link: https://commits.webkit.org/260784@main
More information about the webkit-changes
mailing list