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..52793c25ed17a5eab2dc3054547dfdab0f438990 100644 |
--- a/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h |
+++ b/chrome/browser/ui/cocoa/chrome_command_dispatcher_delegate.h |
@@ -20,4 +20,18 @@ |
@end |
+namespace command_dispatcher { |
+ |
+// Type of functions listed in global_keyboard_shortcuts_mac.h. |
+typedef int (*KeyToCommandMapper)(bool, bool, bool, bool, int, unichar); |
+ |
+// If the event is for a Browser window, and the key combination has an |
+// associated command, execute the command. |
+bool HandleExtraKeyboardShortcut( |
+ NSEvent* event, |
+ NSWindow* window, |
+ KeyToCommandMapper command_for_keyboard_shortcut); |
+ |
+} // namespace command_dispatcher |
+ |
#endif // CHROME_BROWSER_UI_COCOA_CHROME_COMMAND_DISPATCHER_DELEGATE_H_ |