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

Unified Diff: chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h

Issue 1250403002: [Mac] Move UI item validation to UserInterfaceItemCommandHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commandexecute
Patch Set: Sync to new CommandDispatcher design. Add UserInterfaceItemCommandHandler. Created 5 years, 4 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: chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h
diff --git a/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h b/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h
index 17f0d8eccdaf97775e16282fd5f2baedb8c1dfb2..ac56759785f010780a73ee1d30a1c98e5f2b5fd8 100644
--- a/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h
+++ b/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h
@@ -11,7 +11,8 @@
// Implement CommandDispatcherDelegate by intercepting browser window keyboard
// shortcuts and executing them with chrome::ExecuteCommand.
tapted 2015/08/27 07:24:42 update comment?
jackhou1 2015/09/03 01:12:49 Done.
-@interface ChromeCommandDispatcherDelegate : NSObject<CommandDispatcherDelegate>
+@interface ChromeCommandDispatcherDelegate
+ : NSObject<CommandDispatcherDelegate, UserInterfaceItemCommandHandler>
// Checks if |event| is a keyboard shortcut listed in
// global_keyboard_shortcuts_mac.h. If so, execute the associated command.

Powered by Google App Engine
This is Rietveld 408576698