Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c26d0af2b563850ca7d0cc8138c19a95a0b258b9
      
https://github.com/WebKit/WebKit/commit/c26d0af2b563850ca7d0cc8138c19a95a0b258b9
  Author: Abrar Rahman Protyasha <a_protya...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to