Index: chrome/browser/global_keyboard_shortcuts_mac.h |
diff --git a/chrome/browser/global_keyboard_shortcuts_mac.h b/chrome/browser/global_keyboard_shortcuts_mac.h |
index 6e8e35f9fe0d7989bb0f6962890e103bc8ea51de..2ec26ba79e43108032b1f36e3ef2e0f51649bd40 100644 |
--- a/chrome/browser/global_keyboard_shortcuts_mac.h |
+++ b/chrome/browser/global_keyboard_shortcuts_mac.h |
@@ -45,6 +45,17 @@ struct KeyboardShortcutData { |
// consistent with safari and camino, and I think it's the best we can do |
// without rewriting event dispatching ( http://crbug.com/251069 ). |
+// Generic function used by CommandForWindowKeyboardShortcut, |
+// CommandForDelayedWindowKeyboardShortcut and |
+// CommandForBrowserKeyboardShortcut. |
+int CommandForKeyboardShortcut(const std::vector<KeyboardShortcutData>& table, |
+ bool command_key, |
+ bool shift_key, |
+ bool cntrl_key, |
+ bool opt_key, |
+ int vkey_code, |
+ unichar key_char); |
+ |
// This returns shortcuts that should work no matter what component of the |
// browser is focused. They are executed by the window, before any view has the |
// opportunity to override the shortcut (with the exception of the tab contents, |