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

Unified Diff: ui/views/widget/root_view_targeter.cc

Issue 552503003: Introduce EventProcessor::OnEventProcessingStarted() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed, tests changed Created 6 years, 3 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/views/widget/root_view_targeter.cc
diff --git a/ui/views/widget/root_view_targeter.cc b/ui/views/widget/root_view_targeter.cc
index aaa661b8d52cc3d4b00935a5f7e179a785250c42..ac6615c4abe371b540fc7f3d03ede175557ed6ee 100644
--- a/ui/views/widget/root_view_targeter.cc
+++ b/ui/views/widget/root_view_targeter.cc
@@ -33,6 +33,8 @@ View* RootViewTargeter::FindTargetForGestureEvent(
// If no default gesture handler has already been set, do not perform any
// targeting for a ET_GESTURE_END event.
+ // TODO(tdanderson): This check belongs in
+ // RootView::OnEventProcessingStarted() instead of here.
tdanderson 2014/09/23 21:30:27 Will do this in a follow-up CL to avoid further cl
if (gesture.type() == ui::ET_GESTURE_END)
return NULL;

Powered by Google App Engine
This is Rietveld 408576698