Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3951)

Unified Diff: chrome/browser/global_keyboard_shortcuts_mac.h

Issue 2074643003: MacViews: Views accelerators table should match the Cocoa one. (Closed) Base URL: ssh://bitbucket.browser.yandex-team.ru/chromium/src.git@master
Patch Set: GetWindowKeyboardShortcutTable is now shared between Cocoa and MacViews. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..df2ac19d0a0682f8fc0239a5d79e5adef7fa8042 100644
--- a/chrome/browser/global_keyboard_shortcuts_mac.h
+++ b/chrome/browser/global_keyboard_shortcuts_mac.h
@@ -78,10 +78,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_

Powered by Google App Engine
This is Rietveld 408576698