Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e59a73b266370bee03de9e1abddf3f369e343f56
      
https://github.com/WebKit/WebKit/commit/e59a73b266370bee03de9e1abddf3f369e343f56
  Author: Simon Fraser <simon.fra...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to