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

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

Issue 1640623002: Move SelectionAdjust to its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-01-27T14:51:58 Created 4 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/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index 56b13e4b84a0e5b09f433f12bf1c2d25a520b81a..2adadc8b3e421843c6326be00af2c24875f8b34f 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -205,16 +205,6 @@ extern template class CORE_EXTERN_TEMPLATE_EXPORT VisibleSelectionTemplate<Editi
using VisibleSelection = VisibleSelectionTemplate<EditingStrategy>;
using VisibleSelectionInComposedTree = VisibleSelectionTemplate<EditingInComposedTreeStrategy>;
-// TODO(yosin): We should move |SelectionAdjuster| to its own file.
-class SelectionAdjuster final {
- STATIC_ONLY(SelectionAdjuster);
-public:
- static void adjustSelectionInComposedTree(VisibleSelectionInComposedTree*, const VisibleSelection&);
- static void adjustSelectionInDOMTree(VisibleSelection*, const VisibleSelectionInComposedTree&);
- static void adjustSelectionToAvoidCrossingShadowBoundaries(VisibleSelection*);
- static void adjustSelectionToAvoidCrossingShadowBoundaries(VisibleSelectionInComposedTree*);
-};
-
// TODO(yosin): We should use |operator==()| instead of
// |equalSelectionsInDOMTree()|.
bool equalSelectionsInDOMTree(const VisibleSelection&, const VisibleSelection&);

Powered by Google App Engine
This is Rietveld 408576698