| Index: ui/touch_selection/touch_selection_draggable.h
|
| diff --git a/ui/touch_selection/touch_selection_draggable.h b/ui/touch_selection/touch_selection_draggable.h
|
| index 0bd9a70f8849fc0a245adac8eb8b327cb55bfeb9..972a22c80d2b9591fb93d19f67c3b0801a9f38d4 100644
|
| --- a/ui/touch_selection/touch_selection_draggable.h
|
| +++ b/ui/touch_selection/touch_selection_draggable.h
|
| @@ -13,15 +13,19 @@ namespace ui {
|
| class MotionEvent;
|
| class TouchSelectionDraggable;
|
|
|
| +enum TouchHandleDragEvent {
|
| + HANDLE_DRAG_BEGIN,
|
| + HANDLE_DRAG_UPDATE,
|
| + HANDLE_DRAG_END
|
| +};
|
| +
|
| // Interface through which TouchSelectionDraggable manipulates the selection.
|
| class UI_TOUCH_SELECTION_EXPORT TouchSelectionDraggableClient {
|
| public:
|
| virtual ~TouchSelectionDraggableClient() {}
|
| - virtual void OnDragBegin(const TouchSelectionDraggable& draggable,
|
| + virtual void OnDragEvent(const TouchHandleDragEvent event,
|
| + const TouchSelectionDraggable& draggable,
|
| const gfx::PointF& start_position) = 0;
|
| - virtual void OnDragUpdate(const TouchSelectionDraggable& draggable,
|
| - const gfx::PointF& new_position) = 0;
|
| - virtual void OnDragEnd(const TouchSelectionDraggable& draggable) = 0;
|
| virtual bool IsWithinTapSlop(const gfx::Vector2dF& delta) const = 0;
|
| };
|
|
|
|
|