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

Unified Diff: ui/events/platform/platform_event_dispatcher.h

Issue 667823002: PlatformEventDispatcher::DispatchEvent() should return a PostDispatchAction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_enums
Patch Set: Fix platform_event_source_unittest.cc Created 6 years, 2 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/events/platform/platform_event_dispatcher.h
diff --git a/ui/events/platform/platform_event_dispatcher.h b/ui/events/platform/platform_event_dispatcher.h
index bda035d8f0f64f337d10d3fcf846afb62e0325a7..bba7755be7a527f7de7c56f596574dceafa4c9e4 100644
--- a/ui/events/platform/platform_event_dispatcher.h
+++ b/ui/events/platform/platform_event_dispatcher.h
@@ -32,7 +32,7 @@ class EVENTS_EXPORT PlatformEventDispatcher {
// value. If the dispatcher has processed the event, and no other dispatcher
// should be allowed to dispatch the event, then the dispatcher should set
// POST_DISPATCH_STOP_PROPAGATION flag on the return value.
- virtual uint32_t DispatchEvent(const PlatformEvent& event) = 0;
+ virtual PostDispatchAction DispatchEvent(const PlatformEvent& event) = 0;
protected:
virtual ~PlatformEventDispatcher() {}
« no previous file with comments | « ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc ('k') | ui/events/platform/platform_event_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698