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" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 AcceleratorAction action; | 78 AcceleratorAction action; |
79 }; | 79 }; |
80 | 80 |
81 // Accelerators handled by AcceleratorController. | 81 // Accelerators handled by AcceleratorController. |
82 ASH_EXPORT extern const AcceleratorData kAcceleratorData[]; | 82 ASH_EXPORT extern const AcceleratorData kAcceleratorData[]; |
83 | 83 |
84 // The number of elements in kAcceleratorData. | 84 // The number of elements in kAcceleratorData. |
85 ASH_EXPORT extern const size_t kAcceleratorDataLength; | 85 ASH_EXPORT extern const size_t kAcceleratorDataLength; |
86 | 86 |
87 // Actions allowed while user is not signed in or screen is locked. | 87 // Actions allowed while user is not signed in or screen is locked. |
88 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLoginScreen[]; | 88 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[]; |
89 | 89 |
90 // The number of elements in kActionsAllowedAtLoginScreen. | 90 // The number of elements in kActionsAllowedAtLoginOrLockScreen. |
91 ASH_EXPORT extern const size_t kActionsAllowedAtLoginScreenLength; | 91 ASH_EXPORT extern const size_t kActionsAllowedAtLoginOrLockScreenLength; |
| 92 |
| 93 // Actions allowed while screen is locked (in addition to |
| 94 // kActionsAllowedAtLoginOrLockScreen). |
| 95 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
| 96 |
| 97 // The number of elements in kActionsAllowedAtLockScreen. |
| 98 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
92 | 99 |
93 } // namespace ash | 100 } // namespace ash |
94 | 101 |
95 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 102 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |