| OLD | NEW |
| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 { base::VKEY_DELETE, false, true, true, IDC_TASK_MANAGER }, | 129 { base::VKEY_DELETE, false, true, true, IDC_TASK_MANAGER }, |
| 130 { base::VKEY_OEM_COMMA, false, true, false, IDC_SYSTEM_OPTIONS }, | 130 { base::VKEY_OEM_COMMA, false, true, false, IDC_SYSTEM_OPTIONS }, |
| 131 { base::VKEY_B, true, true, false, IDC_SHOW_BOOKMARK_BAR }, | 131 { base::VKEY_B, true, true, false, IDC_SHOW_BOOKMARK_BAR }, |
| 132 #if !defined(OS_CHROMEOS) | 132 #if !defined(OS_CHROMEOS) |
| 133 { base::VKEY_F1, false, false, false, IDC_HELP_PAGE }, | 133 { base::VKEY_F1, false, false, false, IDC_HELP_PAGE }, |
| 134 #endif | 134 #endif |
| 135 { base::VKEY_Q, true, true, false, IDC_EXIT }, | 135 { base::VKEY_Q, true, true, false, IDC_EXIT }, |
| 136 { base::VKEY_F, false, false, true, IDC_SHOW_APP_MENU}, | 136 { base::VKEY_F, false, false, true, IDC_SHOW_APP_MENU}, |
| 137 { base::VKEY_E, false, false, true, IDC_SHOW_PAGE_MENU}, | 137 { base::VKEY_E, false, false, true, IDC_SHOW_PAGE_MENU}, |
| 138 #if defined(OS_CHROMEOS) | 138 #if defined(OS_CHROMEOS) |
| 139 { base::VKEY_C, true, true, false, IDC_COMPACT_NAVBAR }, | |
| 140 { base::VKEY_F, false, true, true, IDC_FULLSCREEN }, | 139 { base::VKEY_F, false, true, true, IDC_FULLSCREEN }, |
| 141 { base::VKEY_LWIN, false, false, false, IDC_SEARCH }, | 140 { base::VKEY_LWIN, false, false, false, IDC_SEARCH }, |
| 142 #endif | 141 #endif |
| 143 }; | 142 }; |
| 144 | 143 |
| 145 const size_t kAcceleratorMapLength = arraysize(kAcceleratorMap); | 144 const size_t kAcceleratorMapLength = arraysize(kAcceleratorMap); |
| 146 | 145 |
| 147 } // namespace browser | 146 } // namespace browser |
| OLD | NEW |