| 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_PRESSED, |
| 19 CYCLE_BACKWARD_LINEAR_RELEASED, |
| 19 CYCLE_BACKWARD_MRU, | 20 CYCLE_BACKWARD_MRU, |
| 20 CYCLE_FORWARD_LINEAR, | 21 CYCLE_FORWARD_LINEAR_PRESSED, |
| 22 CYCLE_FORWARD_LINEAR_RELEASED, |
| 21 CYCLE_FORWARD_MRU, | 23 CYCLE_FORWARD_MRU, |
| 22 DISABLE_CAPS_LOCK, | 24 DISABLE_CAPS_LOCK, |
| 23 DISPLAY_TOGGLE_SCALE, | 25 DISPLAY_TOGGLE_SCALE, |
| 24 EXIT, | 26 EXIT, |
| 25 FOCUS_LAUNCHER, | 27 FOCUS_LAUNCHER, |
| 26 FOCUS_NEXT_PANE, | 28 FOCUS_NEXT_PANE, |
| 27 FOCUS_PREVIOUS_PANE, | 29 FOCUS_PREVIOUS_PANE, |
| 28 FOCUS_SYSTEM_TRAY, | 30 FOCUS_SYSTEM_TRAY, |
| 29 KEYBOARD_BRIGHTNESS_DOWN, | 31 KEYBOARD_BRIGHTNESS_DOWN, |
| 30 KEYBOARD_BRIGHTNESS_UP, | 32 KEYBOARD_BRIGHTNESS_UP, |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // Actions allowed while screen is locked (in addition to | 128 // Actions allowed while screen is locked (in addition to |
| 127 // kActionsAllowedAtLoginOrLockScreen). | 129 // kActionsAllowedAtLoginOrLockScreen). |
| 128 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 130 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
| 129 | 131 |
| 130 // The number of elements in kActionsAllowedAtLockScreen. | 132 // The number of elements in kActionsAllowedAtLockScreen. |
| 131 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 133 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
| 132 | 134 |
| 133 } // namespace ash | 135 } // namespace ash |
| 134 | 136 |
| 135 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 137 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
| OLD | NEW |