| Index: Source/core/editing/SelectionController.h
|
| diff --git a/Source/core/editing/SelectionController.h b/Source/core/editing/SelectionController.h
|
| index e4649efab71243d72e29f328307cbba570847b91..96f1ed87e1eed91e14d10b6d26bb9b8000d30778 100644
|
| --- a/Source/core/editing/SelectionController.h
|
| +++ b/Source/core/editing/SelectionController.h
|
| @@ -74,7 +74,7 @@ private:
|
| template <typename Strategy>
|
| void updateSelectionForMouseDragAlgorithm(const HitTestResult&, Node*, const LayoutPoint&, const IntPoint&);
|
|
|
| - enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTrailingWhitespace };
|
| + enum class AppendTrailingWhitespace { ShouldAppend, DontAppend };
|
| void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailingWhitespace);
|
| void selectClosestMisspellingFromHitTestResult(const HitTestResult&, AppendTrailingWhitespace);
|
| void selectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&);
|
| @@ -85,8 +85,8 @@ private:
|
| RawPtrWillBeMember<LocalFrame> const m_frame;
|
| bool m_mouseDownMayStartSelect;
|
| bool m_mouseDownWasSingleClickInSelection;
|
| - enum SelectionInitiationState { HaveNotStartedSelection, PlacedCaret, ExtendedSelection };
|
| - SelectionInitiationState m_selectionInitiationState;
|
| + enum class SelectionState { HaveNotStartedSelection, PlacedCaret, ExtendedSelection };
|
| + SelectionState m_selectionState;
|
| };
|
|
|
| } // namespace blink
|
|
|