summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/chrome_browser_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/chrome_browser_window.h')
-rw-r--r--chrome/browser/cocoa/chrome_browser_window.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/chrome_browser_window.h b/chrome/browser/cocoa/chrome_browser_window.h
index fb14b28..9130616 100644
--- a/chrome/browser/cocoa/chrome_browser_window.h
+++ b/chrome/browser/cocoa/chrome_browser_window.h
@@ -15,6 +15,16 @@
BOOL shouldHideTitle_;
}
+// See global_keyboard_shortcuts_mac.h for details on the next two functions.
+
+// Checks if |event| is a window keyboard shortcut. If so, dispatches it to the
+// window controller's |executeCommand:| and returns |YES|.
+- (BOOL)handleExtraWindowKeyboardShortcut:(NSEvent*)event;
+
+// Checks if |event| is a browser keyboard shortcut. If so, dispatches it to the
+// window controller's |executeCommand:| and returns |YES|.
+- (BOOL)handleExtraBrowserKeyboardShortcut:(NSEvent*)event;
+
// Override, so we can handle global keyboard events.
- (BOOL)performKeyEquivalent:(NSEvent*)theEvent;