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

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

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
Index: ui/events/gesture_detection/gesture_provider.cc
diff --git a/ui/events/gesture_detection/gesture_provider.cc b/ui/events/gesture_detection/gesture_provider.cc
index c1d3163cfd6f6d14728b5289daa3d805e2e9b2c4..5db66be1a2ed0bb42e5eace9f5d66fa8c1c843f8 100644
--- a/ui/events/gesture_detection/gesture_provider.cc
+++ b/ui/events/gesture_detection/gesture_provider.cc
@@ -509,7 +509,8 @@ class GestureProvider::GestureListenerImpl : public ScaleGestureListener,
raw_y,
touch_point_count,
bounding_box,
- flags);
+ flags,
+ 0U);
}
GestureEventData CreateGesture(EventType type,
@@ -525,9 +526,18 @@ class GestureProvider::GestureListenerImpl : public ScaleGestureListener,
int flags) const {
GestureEventDetails details(type);
details.set_device_type(GestureDeviceType::DEVICE_TOUCHSCREEN);
- return GestureEventData(details, motion_event_id, primary_tool_type, time,
- x, y, raw_x, raw_y, touch_point_count, bounding_box,
- flags);
+ return GestureEventData(details,
+ motion_event_id,
+ primary_tool_type,
+ time,
+ x,
+ y,
+ raw_x,
+ raw_y,
+ touch_point_count,
+ bounding_box,
+ flags,
+ 0U);
}
GestureEventData CreateGesture(const GestureEventDetails& details,
@@ -542,7 +552,8 @@ class GestureProvider::GestureListenerImpl : public ScaleGestureListener,
event.GetRawY(),
event.GetPointerCount(),
GetBoundingBox(event, details.type()),
- event.GetFlags());
+ event.GetFlags(),
+ 0U);
}
GestureEventData CreateGesture(EventType type,

Powered by Google App Engine
This is Rietveld 408576698