Index: third_party/WebKit/Source/core/editing/SelectionModifier.h |
diff --git a/third_party/WebKit/Source/core/editing/SelectionModifier.h b/third_party/WebKit/Source/core/editing/SelectionModifier.h |
index 5e6488fb48f8f639c8749c0f60ea27e716fbfbb1..5a00050ee09d0aee04c09f78ddb947b723db5dd5 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionModifier.h |
+++ b/third_party/WebKit/Source/core/editing/SelectionModifier.h |
@@ -82,6 +82,13 @@ class SelectionModifier { |
VisiblePosition ModifyMovingBackward(TextGranularity); |
VisiblePosition NextWordPositionForPlatform(const VisiblePosition&); |
+ // TODO(editing-dev): We should handle |skips_spaces_when_moving_right| in |
+ // another way, e.g. pass |EditingBehavior()|. |
+ static VisiblePosition LeftWordPosition(const VisiblePosition&, |
+ bool skips_space_when_moving_right); |
+ static VisiblePosition RightWordPosition(const VisiblePosition&, |
+ bool skips_space_when_moving_right); |
+ |
Member<LocalFrame> frame_; |
VisibleSelection selection_; |
LayoutUnit x_pos_for_vertical_arrow_navigation_; |