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

Side by Side Diff: chrome/browser/views/accelerator_table_gtk.cc

Issue 2867027: Makes control-alt-b show the bookmark manager on linux and windows (Closed)
Patch Set: Created 10 years, 6 months 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/gtk/accelerators_gtk.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/views/accelerator_table_gtk.h" 5 #include "chrome/browser/views/accelerator_table_gtk.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/keyboard_codes.h" 8 #include "base/keyboard_codes.h"
9 #include "chrome/app/chrome_dll_resource.h" 9 #include "chrome/app/chrome_dll_resource.h"
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 { base::VKEY_F11, false, false, false, IDC_FULLSCREEN }, 126 { base::VKEY_F11, false, false, false, IDC_FULLSCREEN },
127 { base::VKEY_U, false, true, false, IDC_VIEW_SOURCE }, 127 { base::VKEY_U, false, true, false, IDC_VIEW_SOURCE },
128 { base::VKEY_I, true, true, false, IDC_DEV_TOOLS }, 128 { base::VKEY_I, true, true, false, IDC_DEV_TOOLS },
129 { base::VKEY_J, true, true, false, IDC_DEV_TOOLS_CONSOLE }, 129 { base::VKEY_J, true, true, false, IDC_DEV_TOOLS_CONSOLE },
130 { base::VKEY_P, false, true, false, IDC_PRINT}, 130 { base::VKEY_P, false, true, false, IDC_PRINT},
131 { base::VKEY_ESCAPE, true, false, false, IDC_TASK_MANAGER }, 131 { base::VKEY_ESCAPE, true, false, false, IDC_TASK_MANAGER },
132 { base::VKEY_F11, false, true, true, IDC_FULLSCREEN }, 132 { base::VKEY_F11, false, true, true, IDC_FULLSCREEN },
133 { base::VKEY_DELETE, false, true, true, IDC_TASK_MANAGER }, 133 { base::VKEY_DELETE, false, true, true, IDC_TASK_MANAGER },
134 { base::VKEY_OEM_COMMA, false, true, false, IDC_SYSTEM_OPTIONS }, 134 { base::VKEY_OEM_COMMA, false, true, false, IDC_SYSTEM_OPTIONS },
135 { base::VKEY_B, true, true, false, IDC_SHOW_BOOKMARK_BAR }, 135 { base::VKEY_B, true, true, false, IDC_SHOW_BOOKMARK_BAR },
136 { base::VKEY_B, false, true, true, IDC_SHOW_BOOKMARK_MANAGER },
136 #if !defined(OS_CHROMEOS) 137 #if !defined(OS_CHROMEOS)
137 { base::VKEY_F1, false, false, false, IDC_HELP_PAGE }, 138 { base::VKEY_F1, false, false, false, IDC_HELP_PAGE },
138 #endif 139 #endif
139 { base::VKEY_Q, true, true, false, IDC_EXIT }, 140 { base::VKEY_Q, true, true, false, IDC_EXIT },
140 { base::VKEY_F, false, false, true, IDC_SHOW_APP_MENU}, 141 { base::VKEY_F, false, false, true, IDC_SHOW_APP_MENU},
141 { base::VKEY_E, false, false, true, IDC_SHOW_PAGE_MENU}, 142 { base::VKEY_E, false, false, true, IDC_SHOW_PAGE_MENU},
142 #if defined(OS_CHROMEOS) 143 #if defined(OS_CHROMEOS)
143 { base::VKEY_F, false, true, true, IDC_FULLSCREEN }, 144 { base::VKEY_F, false, true, true, IDC_FULLSCREEN },
144 { base::VKEY_LWIN, false, false, false, IDC_SEARCH }, 145 { base::VKEY_LWIN, false, false, false, IDC_SEARCH },
145 #endif 146 #endif
146 }; 147 };
147 148
148 const size_t kAcceleratorMapLength = arraysize(kAcceleratorMap); 149 const size_t kAcceleratorMapLength = arraysize(kAcceleratorMap);
149 150
150 } // namespace browser 151 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/gtk/accelerators_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698