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..f4347e2b1f17704a89498e5b879f85742734b312 100644 |
--- a/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h |
+++ b/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h |
@@ -10,8 +10,11 @@ |
#import "ui/base/cocoa/command_dispatcher.h" |
// Implement CommandDispatcherDelegate by intercepting browser window keyboard |
-// shortcuts and executing them with chrome::ExecuteCommand. |
-@interface ChromeCommandDispatcherDelegate : NSObject<CommandDispatcherDelegate> |
+// shortcuts and executing them with chrome::ExecuteCommand. Implement |
+// UserInterfaceItemCommandHandler by validating items using global chrome:: |
+// functions and executing commands with chrome::ExecuteCommand(). |
+@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. |