[webkit-changes] [WebKit/WebKit] 421c91: Have MomentumEventDispatcher tell its client to st...
Simon Fraser
noreply at github.com
Mon Feb 20 12:16:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 421c915aa8aecb7849b59fb9496fb1f0f4958175
https://github.com/WebKit/WebKit/commit/421c915aa8aecb7849b59fb9496fb1f0f4958175
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2023-02-20 (Mon, 20 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:
-----------
Have MomentumEventDispatcher tell its client to start and stop the display refresh callbacks
https://bugs.webkit.org/show_bug.cgi?id=252542
rdar://105639929
Reviewed by Tim Horton.
Have MomentumEventDispatcher delegate to its client the responsibility of starting and
stopping the display refresh callbacks, so that MomentumEventDispatcher can be used in
the UI process in future.
* Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::EventDispatcher):
(WebKit::EventDispatcher::startDisplayWasRefreshedCallbacks):
(WebKit::EventDispatcher::stopDisplayWasRefreshedCallbacks):
* Source/WebKit/WebProcess/WebPage/EventDispatcher.h:
* Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp:
(WebKit::MomentumEventDispatcher::MomentumEventDispatcher):
(WebKit::MomentumEventDispatcher::startDisplayLink):
(WebKit::MomentumEventDispatcher::stopDisplayLink):
* Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.h:
Canonical link: https://commits.webkit.org/260553@main
More information about the webkit-changes
mailing list