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 | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "ui/aura/event.h" | 9 #include "ui/aura/event.h" |
11 | 10 |
12 namespace ash { | 11 namespace ash { |
13 | 12 |
14 // 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 |
15 // within each section in alphabetical order. | 14 // within each section in alphabetical order. |
16 enum AcceleratorAction { | 15 enum AcceleratorAction { |
17 BRIGHTNESS_DOWN, | 16 BRIGHTNESS_DOWN, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // Actions allowed while screen is locked (in addition to | 107 // Actions allowed while screen is locked (in addition to |
109 // kActionsAllowedAtLoginOrLockScreen). | 108 // kActionsAllowedAtLoginOrLockScreen). |
110 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 109 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
111 | 110 |
112 // The number of elements in kActionsAllowedAtLockScreen. | 111 // The number of elements in kActionsAllowedAtLockScreen. |
113 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 112 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
114 | 113 |
115 } // namespace ash | 114 } // namespace ash |
116 | 115 |
117 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 116 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |