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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
10 #include "ui/aura/event.h" | 10 #include "ui/aura/event.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 | 13 |
14 // Please put if/def sections at the end of the bare section and keep the list | 14 // Please put if/def sections at the end of the bare section and keep the list |
15 // within each section in alphabetical order. | 15 // within each section in alphabetical order. |
16 enum AcceleratorAction { | 16 enum AcceleratorAction { |
17 BRIGHTNESS_DOWN, | 17 BRIGHTNESS_DOWN, |
18 BRIGHTNESS_UP, | 18 BRIGHTNESS_UP, |
19 CYCLE_BACKWARD_LINEAR, | 19 CYCLE_BACKWARD_LINEAR, |
20 CYCLE_BACKWARD_MRU, | 20 CYCLE_BACKWARD_MRU, |
21 CYCLE_FORWARD_LINEAR, | 21 CYCLE_FORWARD_LINEAR, |
22 CYCLE_FORWARD_MRU, | 22 CYCLE_FORWARD_MRU, |
23 EXIT, | 23 EXIT, |
24 FOCUS_LAUNCHER, | 24 FOCUS_LAUNCHER, |
25 FOCUS_NEXT_PANE, | 25 FOCUS_NEXT_PANE, |
26 FOCUS_PREVIOUS_PANE, | 26 FOCUS_PREVIOUS_PANE, |
27 FOCUS_SYSTEM_TRAY, | 27 FOCUS_SYSTEM_TRAY, |
| 28 KEYBOARD_BRIGHTNESS_DOWN, |
| 29 KEYBOARD_BRIGHTNESS_UP, |
28 MAGNIFY_SCREEN_ZOOM_IN, | 30 MAGNIFY_SCREEN_ZOOM_IN, |
29 MAGNIFY_SCREEN_ZOOM_OUT, | 31 MAGNIFY_SCREEN_ZOOM_OUT, |
30 NEW_INCOGNITO_WINDOW, | 32 NEW_INCOGNITO_WINDOW, |
31 NEW_TAB, | 33 NEW_TAB, |
32 NEW_WINDOW, | 34 NEW_WINDOW, |
33 NEXT_IME, | 35 NEXT_IME, |
34 PREVIOUS_IME, | 36 PREVIOUS_IME, |
35 RESTORE_TAB, | 37 RESTORE_TAB, |
36 ROTATE_WINDOWS, | 38 ROTATE_WINDOWS, |
37 SELECT_LAST_WIN, | 39 SELECT_LAST_WIN, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // Actions allowed while screen is locked (in addition to | 110 // Actions allowed while screen is locked (in addition to |
109 // kActionsAllowedAtLoginOrLockScreen). | 111 // kActionsAllowedAtLoginOrLockScreen). |
110 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 112 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
111 | 113 |
112 // The number of elements in kActionsAllowedAtLockScreen. | 114 // The number of elements in kActionsAllowedAtLockScreen. |
113 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 115 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
114 | 116 |
115 } // namespace ash | 117 } // namespace ash |
116 | 118 |
117 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 119 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |