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

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: . 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
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 9c22cbe20083e1da2e677cf2bd52f793f7be879e..d76cb62759695ad699ea958c02fbde285b558287 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -889,8 +889,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.

Powered by Google App Engine
This is Rietveld 408576698