diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-07 15:28:50 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-07 15:28:50 +0000 |
commit | d9c74b6e95e939bb2b75e04aaf2cd20a1c14b915 (patch) | |
tree | 2fe6166402ec8c4667c2d26603c0722d461d4f50 | |
parent | 297a5569f00c5a27968755453bfc8590982e3c42 (diff) | |
download | chromium_src-d9c74b6e95e939bb2b75e04aaf2cd20a1c14b915.zip chromium_src-d9c74b6e95e939bb2b75e04aaf2cd20a1c14b915.tar.gz chromium_src-d9c74b6e95e939bb2b75e04aaf2cd20a1c14b915.tar.bz2 |
Support cntrl-tab to switch tabs on OS X.
BUG=13299
TEST=Cntrl-Tab should switch to the next tab, cntrl-shift-tab should switch to the previous tab.
Review URL: http://codereview.chromium.org/164133
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22731 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/global_keyboard_shortcuts_mac.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/global_keyboard_shortcuts_mac.mm b/chrome/browser/global_keyboard_shortcuts_mac.mm index f703232..6b7c7fa 100644 --- a/chrome/browser/global_keyboard_shortcuts_mac.mm +++ b/chrome/browser/global_keyboard_shortcuts_mac.mm @@ -11,8 +11,10 @@ const KeyboardShortcutData* GetKeyboardShortCutTable(size_t* num_entries) { static const KeyboardShortcutData keyboard_shortcuts[] = { {true, true, false, 30 /* ] */, IDC_SELECT_NEXT_TAB}, {false, false, true, 121 /* pg down */, IDC_SELECT_NEXT_TAB}, + {false, false, true, 48 /* tab */, IDC_SELECT_NEXT_TAB}, {true, true, false, 33 /* [ */, IDC_SELECT_PREVIOUS_TAB}, {false, false, true, 116 /* pg_up */, IDC_SELECT_PREVIOUS_TAB}, + {false, true, true, 48 /* tab */, IDC_SELECT_PREVIOUS_TAB}, }; *num_entries = arraysize(keyboard_shortcuts); |