Index: ui/touch_selection/touch_selection_controller.h |
diff --git a/ui/touch_selection/touch_selection_controller.h b/ui/touch_selection/touch_selection_controller.h |
index aa3a429690b0f002331a5fe0449606601aa26a67..f7f29a0e3447963e35f2ccc56598bb0f4538d95c 100644 |
--- a/ui/touch_selection/touch_selection_controller.h |
+++ b/ui/touch_selection/touch_selection_controller.h |
@@ -9,6 +9,7 @@ |
#include "ui/gfx/geometry/point_f.h" |
#include "ui/gfx/geometry/rect_f.h" |
#include "ui/touch_selection/selection_event_type.h" |
+#include "ui/touch_selection/selection_granularity.h" |
#include "ui/touch_selection/touch_handle.h" |
#include "ui/touch_selection/ui_touch_selection_export.h" |
@@ -24,7 +25,9 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionControllerClient { |
virtual bool SupportsAnimation() const = 0; |
virtual void SetNeedsAnimate() = 0; |
virtual void MoveCaret(const gfx::PointF& position) = 0; |
- virtual void MoveRangeSelectionExtent(const gfx::PointF& extent) = 0; |
+ virtual void MoveRangeSelectionExtent( |
+ const gfx::PointF& extent, |
+ ui::TextSelectionGranularity granularity) = 0; |
virtual void SelectBetweenCoordinates(const gfx::PointF& base, |
const gfx::PointF& extent) = 0; |
virtual void OnSelectionEvent(SelectionEventType event, |