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

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

Issue 1120293003: Make sure send one WebTouchEvent ack per ui::TouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/motion_event_aura.cc
diff --git a/ui/events/gestures/motion_event_aura.cc b/ui/events/gestures/motion_event_aura.cc
index 01df3f6042620f5dd945e786f91d93affda7a1db..65b4a492547aaac7ce052700689596ff60282474 100644
--- a/ui/events/gestures/motion_event_aura.cc
+++ b/ui/events/gestures/motion_event_aura.cc
@@ -182,9 +182,11 @@ void MotionEventAura::UpdateCachedAction(const TouchEvent& touch) {
break;
case ET_TOUCH_CANCELLED:
set_action(ACTION_CANCEL);
+ set_action_index(GetIndexFromId(touch.touch_id()));
tdresser 2015/05/04 20:41:10 This causes us to deviate from the Android impleme
jdduke (slow) 2015/05/04 20:46:43 Yeah, I'd prefer that we not overload the meaning
break;
case ET_TOUCH_MOVED:
set_action(ACTION_MOVE);
+ set_action_index(GetIndexFromId(touch.touch_id()));
break;
default:
NOTREACHED();
« ui/events/blink/blink_event_util.cc ('K') | « ui/events/gesture_detection/motion_event_generic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698