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

Unified Diff: ui/aura/root_window.cc

Issue 10823295: aura: Dispatch touch-events targetted to the root-window properly. (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
« no previous file with comments | « no previous file | ui/aura/root_window_unittest.cc » ('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 9c22cbe20083e1da2e677cf2bd52f793f7be879e..d78600dfabce5a215b975018e183378522868696 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -875,6 +875,8 @@ bool RootWindow::OnHostTouchEvent(ui::TouchEvent* event) {
if (!target && !bounds().Contains(event->location())) {
// If the initial touch is outside the root window, target the root.
target = this;
+ status = ProcessTouchEvent(target, event);
+ CHECK_EQ(ui::TOUCH_STATUS_UNKNOWN, status);
} else {
// We only come here when the first contact was within the root window.
if (!target) {
« no previous file with comments | « no previous file | ui/aura/root_window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698