Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.h

Issue 2647283006: Removing HandleVisible enum from FrameSelection (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698