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

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: Plumbed aura gestures, fixed unittests. 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
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..190662310f3cebf5cbc97f11564424f8f140c639 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,10 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
float raw_y;
int flags;
+ // This field gets a meaningful value right before sending the gesture event
+ // off to the renderer at TouchDispositionGestureFilter::SendGesture.
+ uint32_t unique_touch_event_id;
+
private:
friend class GestureEventDataPacket;

Powered by Google App Engine
This is Rietveld 408576698