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 "ui/base/events/event_constants.h" | 9 #include "ui/base/events/event_constants.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 // Please put if/def sections at the end of the bare section and keep the list | 13 // Please put if/def sections at the end of the bare section and keep the list |
14 // within each section in alphabetical order. | 14 // within each section in alphabetical order. |
15 enum AcceleratorAction { | 15 enum AcceleratorAction { |
16 BRIGHTNESS_DOWN, | 16 BRIGHTNESS_DOWN, |
17 BRIGHTNESS_UP, | 17 BRIGHTNESS_UP, |
18 CYCLE_BACKWARD_LINEAR, | 18 CYCLE_BACKWARD_LINEAR, |
19 CYCLE_BACKWARD_MRU, | 19 CYCLE_BACKWARD_MRU, |
20 CYCLE_FORWARD_LINEAR, | 20 CYCLE_FORWARD_LINEAR, |
21 CYCLE_FORWARD_MRU, | 21 CYCLE_FORWARD_MRU, |
22 DISABLE_CAPS_LOCK, | 22 DISABLE_CAPS_LOCK, |
23 DISPLAY_ADD_REMOVE, | |
24 DISPLAY_CYCLE, | |
25 DISPLAY_TOGGLE_SCALE, | 23 DISPLAY_TOGGLE_SCALE, |
26 EXIT, | 24 EXIT, |
27 FOCUS_LAUNCHER, | 25 FOCUS_LAUNCHER, |
28 FOCUS_NEXT_PANE, | 26 FOCUS_NEXT_PANE, |
29 FOCUS_PREVIOUS_PANE, | 27 FOCUS_PREVIOUS_PANE, |
30 FOCUS_SYSTEM_TRAY, | 28 FOCUS_SYSTEM_TRAY, |
31 KEYBOARD_BRIGHTNESS_DOWN, | 29 KEYBOARD_BRIGHTNESS_DOWN, |
32 KEYBOARD_BRIGHTNESS_UP, | 30 KEYBOARD_BRIGHTNESS_UP, |
33 MAGNIFY_SCREEN_ZOOM_IN, | 31 MAGNIFY_SCREEN_ZOOM_IN, |
34 MAGNIFY_SCREEN_ZOOM_OUT, | 32 MAGNIFY_SCREEN_ZOOM_OUT, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // Actions allowed while screen is locked (in addition to | 124 // Actions allowed while screen is locked (in addition to |
127 // kActionsAllowedAtLoginOrLockScreen). | 125 // kActionsAllowedAtLoginOrLockScreen). |
128 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 126 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
129 | 127 |
130 // The number of elements in kActionsAllowedAtLockScreen. | 128 // The number of elements in kActionsAllowedAtLockScreen. |
131 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 129 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
132 | 130 |
133 } // namespace ash | 131 } // namespace ash |
134 | 132 |
135 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 133 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |