Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: e8d22a20b2877002f12641f91c09d9eaf109bcef https://github.com/WebKit/WebKit/commit/e8d22a20b2877002f12641f91c09d9eaf109bcef Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths: M Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp M Source/WebCore/page/scrolling/AsyncScrollingCoordinator.h M Source/WebCore/page/scrolling/ScrollingTree.h M Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp M Source/WebCore/page/scrolling/ThreadedScrollingTree.h M Source/WebCore/page/scrolling/ThreadedScrollingTreeScrollingNodeDelegate.cpp M Source/WebCore/page/scrolling/ThreadedScrollingTreeScrollingNodeDelegate.h M Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm M Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h M Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm M Source/WebCore/page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.cpp M Source/WebCore/page/scrolling/nicosia/ScrollingTreeOverflowScrollingNodeNicosia.cpp M Source/WebCore/page/scrolling/nicosia/ScrollingTreeScrollingNodeDelegateNicosia.cpp M Source/WebCore/page/scrolling/nicosia/ScrollingTreeScrollingNodeDelegateNicosia.h M Source/WebCore/platform/ScrollAnimator.cpp M Source/WebCore/platform/ScrollingEffectsController.cpp Log Message: ----------- [Nicosia] AsyncScrolling: snap scrolling doesn't work https://bugs.webkit.org/show_bug.cgi?id=246277 Reviewed by Martin Robinson. There are a few missing things in the nicosia implementation. Add them trying to share as much code as possible. * Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp: * Source/WebCore/page/scrolling/AsyncScrollingCoordinator.h: * Source/WebCore/page/scrolling/ScrollingTree.h: (WebCore::ScrollingTree::handleWheelEventPhase): * Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp: (WebCore::ThreadedScrollingTree::setActiveScrollSnapIndices): * Source/WebCore/page/scrolling/ThreadedScrollingTree.h: * Source/WebCore/page/scrolling/ThreadedScrollingTreeScrollingNodeDelegate.cpp: (WebCore::ThreadedScrollingTreeScrollingNodeDelegate::updateSnapScrollState): (WebCore::ThreadedScrollingTreeScrollingNodeDelegate::updateUserScrollInProgressForEvent): * Source/WebCore/page/scrolling/ThreadedScrollingTreeScrollingNodeDelegate.h: * Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm: (WebCore::ScrollingTreeFrameScrollingNodeMac::handleWheelEvent): * Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h: * Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm: (WebCore::ScrollingTreeScrollingNodeDelegateMac::handleWheelEvent): (WebCore::ScrollingTreeScrollingNodeDelegateMac::activeScrollSnapIndexForAxis const): Deleted. (WebCore::ScrollingTreeScrollingNodeDelegateMac::activeScrollSnapIndexDidChange const): Deleted. (WebCore::ScrollingTreeScrollingNodeDelegateMac::isScrollSnapInProgress const): Deleted. * Source/WebCore/page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.cpp: (WebCore::ScrollingTreeFrameScrollingNodeNicosia::handleWheelEvent): * Source/WebCore/page/scrolling/nicosia/ScrollingTreeOverflowScrollingNodeNicosia.cpp: (WebCore::ScrollingTreeOverflowScrollingNodeNicosia::handleWheelEvent): * Source/WebCore/page/scrolling/nicosia/ScrollingTreeScrollingNodeDelegateNicosia.cpp: (WebCore::ScrollingTreeScrollingNodeDelegateNicosia::handleWheelEvent): * Source/WebCore/page/scrolling/nicosia/ScrollingTreeScrollingNodeDelegateNicosia.h: * Source/WebCore/platform/ScrollingEffectsController.cpp: (WebCore::ScrollingEffectsController::processWheelEventForKineticScrolling): (WebCore::ScrollingEffectsController::updateGestureInProgressState): (WebCore::ScrollingEffectsController::handleWheelEvent): Canonical link: https://commits.webkit.org/255426@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes