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

Unified Diff: ui/views/controls/menu/menu_event_dispatcher_linux.cc

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
« no previous file with comments | « ui/views/controls/menu/menu_event_dispatcher_linux.h ('k') | ui/views/test/x11_property_change_waiter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_event_dispatcher_linux.cc
diff --git a/ui/views/controls/menu/menu_event_dispatcher_linux.cc b/ui/views/controls/menu/menu_event_dispatcher_linux.cc
index 181ba241afeafb375aac569cd01d5101f7f0582a..d693dd93d9fd0679babebc9a1afe6c3b916755f3 100644
--- a/ui/views/controls/menu/menu_event_dispatcher_linux.cc
+++ b/ui/views/controls/menu/menu_event_dispatcher_linux.cc
@@ -24,7 +24,8 @@ bool MenuEventDispatcher::CanDispatchEvent(const ui::PlatformEvent& event) {
return true;
}
-uint32_t MenuEventDispatcher::DispatchEvent(const ui::PlatformEvent& event) {
+ui::PostDispatchAction MenuEventDispatcher::DispatchEvent(
+ const ui::PlatformEvent& event) {
bool should_quit = false;
bool should_perform_default = true;
bool should_process_event = true;
« no previous file with comments | « ui/views/controls/menu/menu_event_dispatcher_linux.h ('k') | ui/views/test/x11_property_change_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698