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

Unified Diff: ash/accelerators/accelerator_table.cc

Issue 10155022: Add back accelerator labels for C-n and C-S-n to the wrench menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comment Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/toolbar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_table.cc
diff --git a/ash/accelerators/accelerator_table.cc b/ash/accelerators/accelerator_table.cc
index eb1c5c32b2a8db9ceb32b6c180077ea4250aceef..ba4bc29ee7eed8a267984bf094e9eb6431935f86 100644
--- a/ash/accelerators/accelerator_table.cc
+++ b/ash/accelerators/accelerator_table.cc
@@ -34,8 +34,13 @@ const AcceleratorData kAcceleratorData[] = {
{ true, ui::VKEY_T, false, true, true, OPEN_CROSH },
#endif
{ true, ui::VKEY_Q, true, true, false, EXIT },
+
+ // When you change the shortcut for NEW_INCOGNITO_WINDOW or NEW_WINDOW,
+ // you also need to modify ToolbarView::GetAcceleratorForCommandId() in
+ // chrome/browser/ui/views/toolbar_view.cc.
{ true, ui::VKEY_N, true, true, false, NEW_INCOGNITO_WINDOW },
{ true, ui::VKEY_N, false, true, false, NEW_WINDOW },
+
{ true, ui::VKEY_F5, true, false, false, CYCLE_BACKWARD_LINEAR },
{ true, ui::VKEY_F5, false, true, false, TAKE_SCREENSHOT },
{ true, ui::VKEY_F5, true, true, false, TAKE_PARTIAL_SCREENSHOT },
« no previous file with comments | « no previous file | chrome/browser/ui/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698