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

Unified Diff: ui/events/event.cc

Issue 1989623002: Suppressed MEs for gestures from cancelled PEs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a text selection regression. 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/event.cc
diff --git a/ui/events/event.cc b/ui/events/event.cc
index 8261fd9ce4cc5facce6d2dbf136c9f51574b9860..56f616163741f8da43c5a2d4f0f2c152c172c092 100644
--- a/ui/events/event.cc
+++ b/ui/events/event.cc
@@ -1270,13 +1270,15 @@ GestureEvent::GestureEvent(float x,
float y,
int flags,
base::TimeDelta time_stamp,
- const GestureEventDetails& details)
+ const GestureEventDetails& details,
+ uint32_t unique_touch_event_id)
: LocatedEvent(details.type(),
gfx::PointF(x, y),
gfx::PointF(x, y),
time_stamp,
flags | EF_FROM_TOUCH),
- details_(details) {
+ details_(details),
+ unique_touch_event_id_(unique_touch_event_id) {
}
GestureEvent::~GestureEvent() {

Powered by Google App Engine
This is Rietveld 408576698