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

Unified Diff: ui/events/gesture_detection/gesture_provider.h

Issue 212663010: Store the id of a contributing motion event in GestureEventData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Store motion_event_id, not touch_id. Created 6 years, 9 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
Index: ui/events/gesture_detection/gesture_provider.h
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
index d8542194ccecf19864e1a337354629a2826a9816..1c93f83be28b95f33de97084fc6867699c3a712c 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -84,6 +84,7 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
bool CanHandle(const MotionEvent& event) const;
void Fling(base::TimeTicks time,
+ int motion_event_id,
float x,
float y,
float velocity_x,
@@ -92,6 +93,7 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
void SendTapCancelIfNecessary(const MotionEvent& event);
bool SendLongTapIfNecessary(const MotionEvent& event);
void EndTouchScrollIfNecessary(base::TimeTicks time,
+ int motion_event_id,
bool send_scroll_end_event);
GestureProviderClient* const client_;

Powered by Google App Engine
This is Rietveld 408576698