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 2bcefbd20542c1a12477ccb93ed6eec25fc7a8ea..f4d1ad0eaef0e640eb83173ed4f63f46a41062a2 100644 |
--- a/ui/touch_selection/touch_selection_controller.h |
+++ b/ui/touch_selection/touch_selection_controller.h |
@@ -115,6 +115,8 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
bool GetEndVisible() const; |
TouchHandle::AnimationStyle GetAnimationStyle(bool was_active) const; |
+ void LogSelectionEnd(); |
+ |
TouchSelectionControllerClient* const client_; |
const base::TimeDelta tap_timeout_; |
const float tap_slop_; |
@@ -140,6 +142,11 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
bool temporarily_hidden_; |
+ base::TimeTicks selection_start_time_; |
+ // Whether a selection handle was dragged during the current 'selection |
+ // session' - i.e. since the current selection has been activated. |
+ bool selection_handle_dragged_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TouchSelectionController); |
}; |