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; |