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

Unified Diff: chrome/browser/ui/views/accelerator_table_gtk.cc

Issue 5440001: Enable to show the keyboard overlay by shortcut key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 10 years 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 | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/accelerator_table_gtk.cc
diff --git a/chrome/browser/ui/views/accelerator_table_gtk.cc b/chrome/browser/ui/views/accelerator_table_gtk.cc
index 261420e44f2ab3e7ddee60e0201324e07b0bea67..fae032ae9d338fbde1e69616a225218688675ca8 100644
--- a/chrome/browser/ui/views/accelerator_table_gtk.cc
+++ b/chrome/browser/ui/views/accelerator_table_gtk.cc
@@ -19,6 +19,9 @@ const AcceleratorMapping kAcceleratorMap[] = {
{ app::VKEY_BACK, false, false, false, IDC_BACK },
#if defined(OS_CHROMEOS)
{ app::VKEY_F1, false, false, false, IDC_BACK },
+ // TODO(mazda): Change VKEY_1 to VKEY_OME_2 once the new version of the
+ // keyboard overlay is ready.
+ { app::VKEY_1, false, true, true, IDC_SHOW_KEYBOARD_OVERLAY },
#endif
{ app::VKEY_D, false, true, false, IDC_BOOKMARK_PAGE },
{ app::VKEY_D, true, true, false, IDC_BOOKMARK_ALL_TABS },
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698