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

Unified Diff: ui/events/gestures/gesture_provider_aura.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
« no previous file with comments | « ui/events/gestures/gesture_provider_aura.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/gesture_provider_aura.cc
diff --git a/ui/events/gestures/gesture_provider_aura.cc b/ui/events/gestures/gesture_provider_aura.cc
index 57530fd611c1804ff846fdd5bde18b8a32899c48..1e14dcbbe6490166744a19f0d4558000b974520b 100644
--- a/ui/events/gestures/gesture_provider_aura.cc
+++ b/ui/events/gestures/gesture_provider_aura.cc
@@ -42,18 +42,20 @@ bool GestureProviderAura::OnTouchEvent(TouchEvent* event) {
return true;
}
-void GestureProviderAura::OnTouchEventAck(uint32_t unique_event_id,
- bool event_consumed) {
+void GestureProviderAura::OnTouchEventAck(uint32_t unique_touch_event_id,
+ bool event_consumed) {
DCHECK(pending_gestures_.empty());
DCHECK(!handling_event_);
base::AutoReset<bool> handling_event(&handling_event_, true);
- filtered_gesture_provider_.OnTouchEventAck(unique_event_id, event_consumed);
+ filtered_gesture_provider_.OnTouchEventAck(unique_touch_event_id,
+ event_consumed);
}
-void GestureProviderAura::OnGestureEvent(
- const GestureEventData& gesture) {
- std::unique_ptr<ui::GestureEvent> event(new ui::GestureEvent(
- gesture.x, gesture.y, gesture.flags, gesture.time, gesture.details));
+void GestureProviderAura::OnGestureEvent(const GestureEventData& gesture) {
+ std::unique_ptr<ui::GestureEvent> event(
+ new ui::GestureEvent(gesture.x, gesture.y, gesture.flags,
+ gesture.time, gesture.details,
+ gesture.unique_touch_event_id));
if (!handling_event_) {
// Dispatching event caused by timer.
« no previous file with comments | « ui/events/gestures/gesture_provider_aura.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698