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 be5223ed8af0ce79993c978871c9b568cde7ff72..6e8e35f9fe0d7989bb0f6962890e103bc8ea51de 100644 |
--- a/chrome/browser/global_keyboard_shortcuts_mac.h |
+++ b/chrome/browser/global_keyboard_shortcuts_mac.h |
@@ -8,6 +8,8 @@ |
#include <Carbon/Carbon.h> // For unichar. |
#include <stddef.h> |
+#include <vector> |
+ |
@class NSEvent; |
struct KeyboardShortcutData { |
@@ -78,10 +80,9 @@ int CommandForKeyEvent(NSEvent* event); |
unichar KeyCharacterForEvent(NSEvent* event); |
// For testing purposes. |
-const KeyboardShortcutData* GetWindowKeyboardShortcutTable(size_t* num_entries); |
-const KeyboardShortcutData* |
- GetDelayedWindowKeyboardShortcutTable(size_t* num_entries); |
-const KeyboardShortcutData* |
- GetBrowserKeyboardShortcutTable(size_t* num_entries); |
+const std::vector<KeyboardShortcutData>& GetWindowKeyboardShortcutTable(); |
+const std::vector<KeyboardShortcutData>& |
+GetDelayedWindowKeyboardShortcutTable(); |
+const std::vector<KeyboardShortcutData>& GetBrowserKeyboardShortcutTable(); |
#endif // #ifndef CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_ |