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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "ui/events/event_constants.h" | 10 #include "ui/events/event_constants.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 ASH_EXPORT extern const size_t kNonrepeatableActionsLength; | 222 ASH_EXPORT extern const size_t kNonrepeatableActionsLength; |
223 | 223 |
224 // Actions allowed in app mode. | 224 // Actions allowed in app mode. |
225 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; | 225 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; |
226 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; | 226 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; |
227 | 227 |
228 // Actions that require at least 1 window. | 228 // Actions that require at least 1 window. |
229 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; | 229 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; |
230 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; | 230 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; |
231 | 231 |
| 232 // Actions that can be performed while keeping the menu open. |
| 233 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; |
| 234 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; |
| 235 |
232 } // namespace ash | 236 } // namespace ash |
233 | 237 |
234 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 238 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |