| 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 2adadc8b3e421843c6326be00af2c24875f8b34f..56b13e4b84a0e5b09f433f12bf1c2d25a520b81a 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
|
| @@ -205,6 +205,16 @@
|
| 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&);
|
|
|