OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
6 #define ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 6 #define ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "ui/base/events/event_constants.h" | 10 #include "ui/base/events/event_constants.h" |
11 #include "ui/base/keycodes/keyboard_codes.h" | 11 #include "ui/base/keycodes/keyboard_codes.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 | 14 |
15 // Please put if/def sections at the end of the bare section and keep the list | 15 // Please put if/def sections at the end of the bare section and keep the list |
16 // within each section in alphabetical order. | 16 // within each section in alphabetical order. |
17 enum AcceleratorAction { | 17 enum AcceleratorAction { |
18 BRIGHTNESS_DOWN, | 18 BRIGHTNESS_DOWN, |
19 BRIGHTNESS_UP, | 19 BRIGHTNESS_UP, |
20 CYCLE_BACKWARD_LINEAR, | 20 CYCLE_BACKWARD_LINEAR, |
21 CYCLE_BACKWARD_MRU, | 21 CYCLE_BACKWARD_MRU, |
22 CYCLE_FORWARD_LINEAR, | 22 CYCLE_FORWARD_LINEAR, |
23 CYCLE_FORWARD_MRU, | 23 CYCLE_FORWARD_MRU, |
24 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR, | 24 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR, |
| 25 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS, |
| 26 DEBUG_TOGGLE_SHOW_FPS_COUNTER, |
25 DEBUG_TOGGLE_SHOW_PAINT_RECTS, | 27 DEBUG_TOGGLE_SHOW_PAINT_RECTS, |
26 DISABLE_CAPS_LOCK, | 28 DISABLE_CAPS_LOCK, |
27 EXIT, | 29 EXIT, |
28 FOCUS_LAUNCHER, | 30 FOCUS_LAUNCHER, |
29 FOCUS_NEXT_PANE, | 31 FOCUS_NEXT_PANE, |
30 FOCUS_PREVIOUS_PANE, | 32 FOCUS_PREVIOUS_PANE, |
31 KEYBOARD_BRIGHTNESS_DOWN, | 33 KEYBOARD_BRIGHTNESS_DOWN, |
32 KEYBOARD_BRIGHTNESS_UP, | 34 KEYBOARD_BRIGHTNESS_UP, |
33 LOCK_PRESSED, | 35 LOCK_PRESSED, |
34 LOCK_RELEASED, | 36 LOCK_RELEASED, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 165 |
164 // Actions allowed in app mode. | 166 // Actions allowed in app mode. |
165 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; | 167 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; |
166 | 168 |
167 // The number of elements in kActionsAllowedInAppMode. | 169 // The number of elements in kActionsAllowedInAppMode. |
168 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; | 170 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; |
169 | 171 |
170 } // namespace ash | 172 } // namespace ash |
171 | 173 |
172 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 174 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |