summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/accelerator_table_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/accelerator_table_gtk.cc')
-rw-r--r--chrome/browser/views/accelerator_table_gtk.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/views/accelerator_table_gtk.cc b/chrome/browser/views/accelerator_table_gtk.cc
index 3baa65e..261420e 100644
--- a/chrome/browser/views/accelerator_table_gtk.cc
+++ b/chrome/browser/views/accelerator_table_gtk.cc
@@ -6,14 +6,14 @@
#include "app/keyboard_codes.h"
#include "base/basictypes.h"
-#include "chrome/app/chrome_dll_resource.h"
+#include "chrome/app/chrome_command_ids.h"
namespace browser {
// NOTE: Keep this list in the same (mostly-alphabetical) order as
// the Windows accelerators in ../../app/chrome_dll.rc.
const AcceleratorMapping kAcceleratorMap[] = {
- // Keycode Shift Ctrl Alt Command ID
+ // Keycode Shift Ctrl Alt Command ID
{ app::VKEY_A, true, true, false, IDC_AUTOFILL_DEFAULT },
{ app::VKEY_LEFT, false, false, true, IDC_BACK },
{ app::VKEY_BACK, false, false, false, IDC_BACK },
@@ -81,6 +81,10 @@ const AcceleratorMapping kAcceleratorMap[] = {
#if !defined(OS_CHROMEOS)
{ app::VKEY_F1, false, false, false, IDC_HELP_PAGE },
#endif
+#if defined(OS_CHROMEOS)
+ { app::VKEY_OEM_2, false, true, false, IDC_HELP_PAGE },
+ { app::VKEY_OEM_2, true, true, false, IDC_HELP_PAGE },
+#endif
{ app::VKEY_I, true, true, false, IDC_DEV_TOOLS },
{ app::VKEY_J, true, true, false, IDC_DEV_TOOLS_CONSOLE },
{ app::VKEY_C, true, true, false, IDC_DEV_TOOLS_INSPECT },