Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dacbd7c36056647c1867f34236ade6815002e1f1
https://github.com/WebKit/WebKit/commit/dacbd7c36056647c1867f34236ade6815002e1f1
Author: Simon Fraser <[email protected]>
Date: 2023-02-18 (Sat, 18 Feb 2023)
Changed paths:
M Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp
M Source/WebKit/WebProcess/WebPage/EventDispatcher.h
M Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp
M Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.h
Log Message:
-----------
Prepare MomentumEventDispatcher to be used with UI-side compositing
https://bugs.webkit.org/show_bug.cgi?id=252537
rdar://105635572
Reviewed by Tim Horton.
Give MomentumEventDispatcher a Client interface that's implemented by
EventDispatcher.
MomentumEventDispatcher needs public inheritance from IPC::MessageReceiver so
we can make a WeakPtr
from it.
* Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::setScrollingAccelerationCurve):
(WebKit::EventDispatcher::handleSyntheticWheelEvent):
(WebKit::EventDispatcher::flushMomentumEventLoggingSoon):
* Source/WebKit/WebProcess/WebPage/EventDispatcher.h:
* Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp:
(WebKit::MomentumEventDispatcher::MomentumEventDispatcher):
(WebKit::MomentumEventDispatcher::dispatchSyntheticMomentumEvent):
(WebKit::MomentumEventDispatcher::didEndMomentumPhase):
* Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.h:
Canonical link: https://commits.webkit.org/260522@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes