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

Unified Diff: ui/events/event_processor.cc

Issue 619183002: Move check for gesture end events out of RootViewTargeter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | ui/views/view_targeter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_processor.cc
diff --git a/ui/events/event_processor.cc b/ui/events/event_processor.cc
index b508508aa06394c1ca274745fe89aa4f08668058..77bca630308433e55e063a08784e76a2eeafd2f4 100644
--- a/ui/events/event_processor.cc
+++ b/ui/events/event_processor.cc
@@ -25,6 +25,8 @@ EventDispatchDetails EventProcessor::OnEventFromSource(Event* event) {
event_to_dispatch = event_copy.get();
}
+ // OnEventProcessingStarted() marks the event as handled if targeting and
+ // dispatch of the event is not permitted.
sadrul 2014/10/02 19:23:04 The comment for OnEventProcessingStarted() already
tdanderson 2014/10/02 19:35:12 Done. I realize it's duplicated documentation, b
OnEventProcessingStarted(event_to_dispatch);
EventTarget* target = NULL;
if (!event_to_dispatch->handled())
« no previous file with comments | « no previous file | ui/views/view_targeter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698