Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: ui/touch_selection/touch_selection_controller.h

Issue 2355403002: Consume entire touch sequence in touch selection controller (Closed)
Patch Set: Added a TODO comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/touch_selection/touch_selection_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dd1e70eb88ef257960241c3f3376b9f834fd29bc..e7126a3d3227ec9d29417f3bbc9ba16408908d85 100644
--- a/ui/touch_selection/touch_selection_controller.h
+++ b/ui/touch_selection/touch_selection_controller.h
@@ -150,6 +150,8 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController
enum InputEventType { TAP, REPEATED_TAP, LONG_PRESS, INPUT_EVENT_TYPE_NONE };
+ bool WillHandleTouchEventImpl(const MotionEvent& event);
+
// TouchHandleClient implementation.
void OnDragBegin(const TouchSelectionDraggable& draggable,
const gfx::PointF& drag_position) override;
@@ -240,6 +242,9 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController
// session' - i.e. since the current selection has been activated.
bool selection_handle_dragged_;
+ // Determines whether the entire touch sequence should be consumed or not.
+ bool consume_touch_sequence_;
+
DISALLOW_COPY_AND_ASSIGN(TouchSelectionController);
};
« no previous file with comments | « no previous file | ui/touch_selection/touch_selection_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698