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

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

Issue 1989623002: Suppressed MEs for gestures from cancelled PEs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 6 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/event.cc ('k') | ui/events/gesture_detection/gesture_event_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/gesture_event_data.h
diff --git a/ui/events/gesture_detection/gesture_event_data.h b/ui/events/gesture_detection/gesture_event_data.h
index 541fe125f6b2c7453ae658d2e1ab1eb82cc8e6f0..078f2575886adc6a5a52a0c63b22a3ee750587fc 100644
--- a/ui/events/gesture_detection/gesture_event_data.h
+++ b/ui/events/gesture_detection/gesture_event_data.h
@@ -28,7 +28,8 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
float raw_y,
size_t touch_point_count,
const gfx::RectF& bounding_box,
- int flags);
+ int flags,
+ uint32_t unique_touch_event_id);
GestureEventData(EventType type, const GestureEventData&);
GestureEventData(const GestureEventData& other);
@@ -44,6 +45,11 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
float raw_y;
int flags;
+ // The unique id of the touch event that released the gesture event. This
+ // field gets a non-zero from the corresponding field in
+ // GestureEventDataPacket at the moment the gesture is pushed into the packet.
+ uint32_t unique_touch_event_id;
+
private:
friend class GestureEventDataPacket;
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/gesture_detection/gesture_event_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698