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

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: Address jdduke's comments. 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
« no previous file with comments | « ui/events/gesture_detection/gesture_event_data.cc ('k') | ui/events/gesture_detection/gesture_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..421966b3ad84c8fbf84eb97494b66485f954eb08 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -84,14 +84,17 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
bool CanHandle(const MotionEvent& event) const;
void Fling(base::TimeTicks time,
+ int motion_event_id,
jdduke (slow) 2014/04/03 15:47:54 Hmm, can we have Fling take a const MotionEvent& a
tdresser 2014/04/03 18:09:47 Done.
float x,
float y,
float velocity_x,
float velocity_y);
void Send(const GestureEventData& gesture);
void SendTapCancelIfNecessary(const MotionEvent& event);
+ void SendTapCancelIfNecessary(const GestureEventData& event);
bool SendLongTapIfNecessary(const MotionEvent& event);
void EndTouchScrollIfNecessary(base::TimeTicks time,
+ int motion_event_id,
bool send_scroll_end_event);
GestureProviderClient* const client_;
« no previous file with comments | « ui/events/gesture_detection/gesture_event_data.cc ('k') | ui/events/gesture_detection/gesture_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698