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

Unified Diff: chrome/browser/extensions/global_shortcut_listener_x11.cc

Issue 666673005: Explicitly coerce PostDispatchAction to uint32_t in DispatchEvent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_enums
Patch Set: sigh. Windows. 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 | « no previous file | ui/aura/window_tree_host_x11.cc » ('j') | ui/events/platform/platform_event_dispatcher.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/global_shortcut_listener_x11.cc
diff --git a/chrome/browser/extensions/global_shortcut_listener_x11.cc b/chrome/browser/extensions/global_shortcut_listener_x11.cc
index 5a3ad1a7a6cec33d98611d1d46dbbad141412f35..199b2ff9216aa835f78380fb32a0d857c391e2f7 100644
--- a/chrome/browser/extensions/global_shortcut_listener_x11.cc
+++ b/chrome/browser/extensions/global_shortcut_listener_x11.cc
@@ -93,7 +93,7 @@ uint32_t GlobalShortcutListenerX11::DispatchEvent(
CHECK_EQ(KeyPress, event->type);
OnXKeyPressEvent(event);
- return ui::POST_DISPATCH_NONE;
+ return ui::kPostDispatchNone;
}
bool GlobalShortcutListenerX11::RegisterAcceleratorImpl(
« no previous file with comments | « no previous file | ui/aura/window_tree_host_x11.cc » ('j') | ui/events/platform/platform_event_dispatcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698