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

Unified Diff: ui/events/event_source.cc

Issue 147203004: aura: Remove event-dispatch methods from WindowTreeHostDelegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 11 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/events/event_source.h ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_source.cc
diff --git a/ui/events/event_source.cc b/ui/events/event_source.cc
index 4946ea0dfd1b932d200ebd23e7639055facb5a21..a40813079d837398644acc295b54fba54f865f6c 100644
--- a/ui/events/event_source.cc
+++ b/ui/events/event_source.cc
@@ -8,12 +8,10 @@
namespace ui {
-void EventSource::SendEventToProcessor(Event* event) {
+EventDispatchDetails EventSource::SendEventToProcessor(Event* event) {
EventProcessor* processor = GetEventProcessor();
CHECK(processor);
- EventDispatchDetails details = processor->OnEventFromSource(event);
- if (details.dispatcher_destroyed)
- return;
+ return processor->OnEventFromSource(event);
}
} // namespace ui
« no previous file with comments | « ui/events/event_source.h ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698