[webkit-changes] [WebKit/WebKit] 05b6a8: Convert the remaining enums in FrameSelection.h to...

Ryosuke Niwa noreply at github.com
Sat May 20 00:00:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 05b6a82d72138cfb89e758d8c1afd70a88c9c850
      https://github.com/WebKit/WebKit/commit/05b6a82d72138cfb89e758d8c1afd70a88c9c850
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M Source/WebCore/editing/EditorCommand.cpp
    M Source/WebCore/editing/FrameSelection.cpp
    M Source/WebCore/editing/FrameSelection.h

  Log Message:
  -----------
  Convert the remaining enums in FrameSelection.h to enum classes
https://bugs.webkit.org/show_bug.cgi?id=257061

Reviewed by Wenson Hsieh.

* Source/WebCore/editing/EditorCommand.cpp:
(WebCore::executeMovePageDown):
(WebCore::executeMovePageDownAndModifySelection):
(WebCore::executeMovePageUp):
(WebCore::executeMovePageUpAndModifySelection):
* Source/WebCore/editing/FrameSelection.cpp:
(WebCore::DragCaretController::DragCaretController):
(WebCore::FrameSelection::FrameSelection):
(WebCore::FrameSelection::modifyExtendingForward):
(WebCore::FrameSelection::modifyMovingForward):
(WebCore::FrameSelection::modifyExtendingBackward):
(WebCore::FrameSelection::modifyMovingBackward):
(WebCore::FrameSelection::modify):
(WebCore::FrameSelection::lineDirectionPointForBlockDirectionNavigation):
(WebCore::CaretBase::paintCaret const):
(WebCore::FrameSelection::focusedOrActiveStateChanged):
* Source/WebCore/editing/FrameSelection.h:
(WebCore::CaretBase::caretIsVisible const):

Canonical link: https://commits.webkit.org/264288@main




More information about the webkit-changes mailing list