Index: third_party/WebKit/Source/core/editing/FrameSelection.h |
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h |
index 80320a59b82eac2615d05e1d7c2a46c0570df173..095f7239601c960c74ce8cb9c04d2b662ed55791 100644 |
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h |
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h |
@@ -90,7 +90,6 @@ class CORE_EXPORT FrameSelection final |
DoNotUpdateAppearance = 1 << 4, |
DoNotClearStrategy = 1 << 5, |
DoNotAdjustInFlatTree = 1 << 6, |
- HandleVisible = 1 << 7, |
}; |
// Union of values in SetSelectionOption and EUserTriggered |
typedef unsigned SetSelectionOptions; |
@@ -137,12 +136,14 @@ class CORE_EXPORT FrameSelection final |
// TODO(yosin): We should use |SelectionInDOMTree| version instead of |
// |VisibleSelection| version. |
void setSelection(const VisibleSelection&, |
+ HandleVisibility = HandleVisibility::NotVisible, |
SetSelectionOptions = CloseTyping | ClearTypingStyle, |
CursorAlignOnScroll = CursorAlignOnScroll::IfNeeded, |
TextGranularity = CharacterGranularity); |
// TODO(yosin): We should use |SelectionInFlatTree| version instead of |
// |VisibleSelectionInFlatTree| version. |
void setSelection(const VisibleSelectionInFlatTree&, |
+ HandleVisibility = HandleVisibility::NotVisible, |
SetSelectionOptions = CloseTyping | ClearTypingStyle, |
CursorAlignOnScroll = CursorAlignOnScroll::IfNeeded, |
TextGranularity = CharacterGranularity); |
@@ -297,6 +298,7 @@ class CORE_EXPORT FrameSelection final |
template <typename Strategy> |
void setSelectionAlgorithm(const VisibleSelectionTemplate<Strategy>&, |
+ HandleVisibility, |
SetSelectionOptions, |
CursorAlignOnScroll, |
TextGranularity); |