| 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.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, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // Actions allowed while screen is locked (in addition to | 124 // Actions allowed while screen is locked (in addition to |
| 125 // kActionsAllowedAtLoginOrLockScreen). | 125 // kActionsAllowedAtLoginOrLockScreen). |
| 126 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 126 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
| 127 | 127 |
| 128 // The number of elements in kActionsAllowedAtLockScreen. | 128 // The number of elements in kActionsAllowedAtLockScreen. |
| 129 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 129 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
| 130 | 130 |
| 131 } // namespace ash | 131 } // namespace ash |
| 132 | 132 |
| 133 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 133 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
| OLD | NEW |