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

Unified Diff: ui/events/gestures/gesture_recognizer_impl.cc

Issue 999423003: Set the unique_event_id when converting from TouchEvent to WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Motion events Created 5 years, 9 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/gestures/gesture_recognizer_impl.cc
diff --git a/ui/events/gestures/gesture_recognizer_impl.cc b/ui/events/gestures/gesture_recognizer_impl.cc
index 774350353309cf1ddb1d63a94ce3c6dee94433f3..164c6b2a3846cfa067ab2b04991257cdd5088709 100644
--- a/ui/events/gestures/gesture_recognizer_impl.cc
+++ b/ui/events/gestures/gesture_recognizer_impl.cc
@@ -251,7 +251,7 @@ bool GestureRecognizerImpl::ProcessTouchEventPreDispatch(
return gesture_provider->OnTouchEvent(event);
}
-// TODO(tdresser): we should take a unique_event_id here, and validate
+// TODO(tdresser): we should take a unique_touch_event_id here, and validate
// that the correct event is being acked. See crbug.com/457669 for
// details.
GestureRecognizer::Gestures*
@@ -265,12 +265,12 @@ GestureRecognizerImpl::AckAsyncTouchEvent(
}
GestureRecognizer::Gestures* GestureRecognizerImpl::AckSyncTouchEvent(
- const uint64 unique_event_id,
+ const uint64 unique_touch_event_id,
ui::EventResult result,
GestureConsumer* consumer) {
GestureProviderAura* gesture_provider =
GetGestureProviderForConsumer(consumer);
- gesture_provider->OnSyncTouchEventAck(unique_event_id,
+ gesture_provider->OnSyncTouchEventAck(unique_touch_event_id,
result != ER_UNHANDLED);
return gesture_provider->GetAndResetPendingGestures();
}

Powered by Google App Engine
This is Rietveld 408576698