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

Unified Diff: chrome/browser/global_keyboard_shortcuts_mac.mm

Issue 2535553002: MacViews: Fix GlobalKeyboardShortcuts.ShortcutsToWindowCommand. (Closed)
Patch Set: 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.mm
diff --git a/chrome/browser/global_keyboard_shortcuts_mac.mm b/chrome/browser/global_keyboard_shortcuts_mac.mm
index eb7d6414976333f8da1dbee5465452d4bece82e3..da338d0fca61f519fd7d8b5836e574992f533f9b 100644
--- a/chrome/browser/global_keyboard_shortcuts_mac.mm
+++ b/chrome/browser/global_keyboard_shortcuts_mac.mm
@@ -67,6 +67,8 @@ bool MatchesEventForKeyboardShortcut(const KeyboardShortcutData& shortcut,
return false;
}
+} // namespace
+
int CommandForKeyboardShortcut(const std::vector<KeyboardShortcutData>& table,
bool command_key,
bool shift_key,
@@ -91,8 +93,6 @@ int CommandForKeyboardShortcut(const std::vector<KeyboardShortcutData>& table,
return -1;
}
-} // namespace
-
int CommandForWindowKeyboardShortcut(
bool command_key, bool shift_key, bool cntrl_key, bool opt_key,
int vkey_code, unichar key_char) {

Powered by Google App Engine
This is Rietveld 408576698