Index: Source/core/editing/Position.h |
diff --git a/Source/core/editing/Position.h b/Source/core/editing/Position.h |
index 9294f3d16c515dc858586d4093af3d2bb1e661c0..caa8e862bfa59c3173a3a7515b05cc9134e41fa1 100644 |
--- a/Source/core/editing/Position.h |
+++ b/Source/core/editing/Position.h |
@@ -45,12 +45,6 @@ class Text; |
enum class TextAffinity; |
class TreeScope; |
-enum class PositionMoveType { |
- CodePoint, // Move by a single code point. |
- Character, // Move to the next Unicode character break. |
- BackwardDeletion // Subject to platform conventions. |
-}; |
- |
enum class PositionAnchorType : unsigned { |
OffsetInAnchor, |
BeforeAnchor, |
@@ -396,21 +390,6 @@ inline PositionInComposedTree fromPositionInDOMTree<EditingInComposedTreeStrateg |
return toPositionInComposedTree(position); |
} |
-// TODO(yosin) We should move |previousPositionOf()| and |nextPositionOf()| |
-// to "EditingUtilities.h" with |uncheckedPreviousOffset()| and |
-// |uncheckedNextOffset()|. |
-// Move up or down the DOM by one position. |
-// Offsets are computed using layout text for nodes that have layoutObjects - |
-// but note that even when using composed characters, the result may be inside |
-// a single user-visible character if a ligature is formed. |
-CORE_EXPORT Position previousPositionOf(const Position&, PositionMoveType); |
-CORE_EXPORT Position nextPositionOf(const Position&, PositionMoveType); |
-CORE_EXPORT PositionInComposedTree previousPositionOf(const PositionInComposedTree&, PositionMoveType); |
-CORE_EXPORT PositionInComposedTree nextPositionOf(const PositionInComposedTree&, PositionMoveType); |
- |
-CORE_EXPORT int uncheckedPreviousOffset(const Node*, int current); |
-CORE_EXPORT int uncheckedNextOffset(const Node*, int current); |
- |
} // namespace blink |
#ifndef NDEBUG |