Chromium Code Reviews| 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 user is locked. | |
|
Daniel Erat
2012/05/23 13:45:20
nit: update this to read "Actions allowed while sc
Yusuke Sato
2012/05/23 15:36:56
Thanks, fixed.
| |
| 94 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | |
| 95 | |
| 96 // The number of elements in kActionsAllowedAtLockScreen. | |
| 97 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | |
| 92 | 98 |
| 93 } // namespace ash | 99 } // namespace ash |
| 94 | 100 |
| 95 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 101 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
| OLD | NEW |