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

Unified Diff: ui/aura/root_window.cc

Issue 10825323: gesture: Make sure a combination of sync/async touch-events work correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 4 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/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/base/gestures/gesture_recognizer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index d78600dfabce5a215b975018e183378522868696..8d3810b9ca6c2671167fd551f9e032cca8e76c52 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -891,8 +891,10 @@ bool RootWindow::OnHostTouchEvent(ui::TouchEvent* event) {
handled = status != ui::TOUCH_STATUS_UNKNOWN;
if (status == ui::TOUCH_STATUS_QUEUED ||
- status == ui::TOUCH_STATUS_QUEUED_END)
+ status == ui::TOUCH_STATUS_QUEUED_END) {
gesture_recognizer_->QueueTouchEventForGesture(target, *event);
+ return true;
+ }
}
// Get the list of GestureEvents from GestureRecognizer.
« no previous file with comments | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/base/gestures/gesture_recognizer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698