[webkit-changes] [WebKit/WebKit] c26d0a: WebCore::AutoscrollType should be an enum class
Abrar Rahman Protyasha
noreply at github.com
Fri Mar 1 13:00:15 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c26d0af2b563850ca7d0cc8138c19a95a0b258b9
https://github.com/WebKit/WebKit/commit/c26d0af2b563850ca7d0cc8138c19a95a0b258b9
Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M Source/WebCore/page/AutoscrollController.cpp
M Source/WebCore/page/AutoscrollController.h
Log Message:
-----------
WebCore::AutoscrollType should be an enum class
https://bugs.webkit.org/show_bug.cgi?id=270337
rdar://123890042
Reviewed by Aditya Keerthi.
This is a mechanical patch converting WebCore::AutoscrollType to an enum
class. We also take the liberty to rename individual cases now that they
will always be prefixed with AutoscrollType::.
* Source/WebCore/page/AutoscrollController.cpp:
(WebCore::AutoscrollController::autoscrollInProgress const):
(WebCore::AutoscrollController::startAutoscrollForSelection):
(WebCore::AutoscrollController::stopAutoscrollTimer):
(WebCore::AutoscrollController::updateDragAndDrop):
(WebCore::AutoscrollController::didPanScrollStart):
(WebCore::AutoscrollController::didPanScrollStop):
(WebCore::AutoscrollController::handleMouseReleaseEvent):
(WebCore::AutoscrollController::panScrollInProgress const):
(WebCore::AutoscrollController::startPanScrolling):
(WebCore::AutoscrollController::autoscrollTimerFired):
(WebCore::AutoscrollController::updatePanScrollState):
* Source/WebCore/page/AutoscrollController.h:
Canonical link: https://commits.webkit.org/275566@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list