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 797b7556444b46046c8f6b48908d4b8aae1af283..3a5b83e20065b537003a6ee28f9f0fe76b211ab4 100644 |
--- a/ui/touch_selection/touch_selection_controller.h |
+++ b/ui/touch_selection/touch_selection_controller.h |
@@ -146,11 +146,9 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
enum InputEventType { TAP, REPEATED_TAP, LONG_PRESS, INPUT_EVENT_TYPE_NONE }; |
// TouchHandleClient implementation. |
- void OnDragBegin(const TouchSelectionDraggable& draggable, |
- const gfx::PointF& drag_position) override; |
- void OnDragUpdate(const TouchSelectionDraggable& draggable, |
- const gfx::PointF& drag_position) override; |
- void OnDragEnd(const TouchSelectionDraggable& draggable) override; |
+ void OnDragEvent(const TouchHandleDragEvent event, |
+ const TouchSelectionDraggable& draggable, |
+ const gfx::PointF& start_position) override; |
bool IsWithinTapSlop(const gfx::Vector2dF& delta) const override; |
void OnHandleTapped(const TouchHandle& handle) override; |
void SetNeedsAnimate() override; |
@@ -158,6 +156,12 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
base::TimeDelta GetMaxTapDuration() const override; |
bool IsAdaptiveHandleOrientationEnabled() const override; |
+ void HandleDragBegin(const TouchSelectionDraggable& draggable, |
+ const gfx::PointF& drag_position); |
+ void HandleDragUpdate(const TouchSelectionDraggable& draggable, |
+ const gfx::PointF& drag_position); |
+ void HandleDragEnd(const TouchSelectionDraggable& draggable); |
+ |
// LongPressDragSelectorClient implementation. |
void OnLongPressDragActiveStateChanged() override; |
gfx::PointF GetSelectionStart() const override; |