| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 // Actions allowed while screen is locked (in addition to | 227 // Actions allowed while screen is locked (in addition to |
| 228 // kActionsAllowedAtLoginOrLockScreen). | 228 // kActionsAllowedAtLoginOrLockScreen). |
| 229 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 229 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
| 230 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 230 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
| 231 | 231 |
| 232 // Actions allowed while a modal window is up. | 232 // Actions allowed while a modal window is up. |
| 233 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtModalWindow[]; | 233 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtModalWindow[]; |
| 234 ASH_EXPORT extern const size_t kActionsAllowedAtModalWindowLength; | 234 ASH_EXPORT extern const size_t kActionsAllowedAtModalWindowLength; |
| 235 | 235 |
| 236 // Actions which will not be repeated while holding an accelerator key. | 236 // Actions which may be repeated by holding an accelerator key. |
| 237 ASH_EXPORT extern const AcceleratorAction kNonrepeatableActions[]; | 237 ASH_EXPORT extern const AcceleratorAction kRepeatableActions[]; |
| 238 ASH_EXPORT extern const size_t kNonrepeatableActionsLength; | 238 ASH_EXPORT extern const size_t kRepeatableActionsLength; |
| 239 | 239 |
| 240 // Actions allowed in app mode or pinned mode. | 240 // Actions allowed in app mode or pinned mode. |
| 241 ASH_EXPORT extern const AcceleratorAction | 241 ASH_EXPORT extern const AcceleratorAction |
| 242 kActionsAllowedInAppModeOrPinnedMode[]; | 242 kActionsAllowedInAppModeOrPinnedMode[]; |
| 243 ASH_EXPORT extern const size_t kActionsAllowedInAppModeOrPinnedModeLength; | 243 ASH_EXPORT extern const size_t kActionsAllowedInAppModeOrPinnedModeLength; |
| 244 | 244 |
| 245 // Actions that can be performed in pinned mode. | 245 // Actions that can be performed in pinned mode. |
| 246 // In pinned mode, the action listed this or "in app mode or pinned mode" table | 246 // In pinned mode, the action listed this or "in app mode or pinned mode" table |
| 247 // can be performed. | 247 // can be performed. |
| 248 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInPinnedMode[]; | 248 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInPinnedMode[]; |
| 249 ASH_EXPORT extern const size_t kActionsAllowedInPinnedModeLength; | 249 ASH_EXPORT extern const size_t kActionsAllowedInPinnedModeLength; |
| 250 | 250 |
| 251 // Actions that require at least 1 window. | 251 // Actions that require at least 1 window. |
| 252 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; | 252 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; |
| 253 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; | 253 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; |
| 254 | 254 |
| 255 // Actions that can be performed while keeping the menu open. | 255 // Actions that can be performed while keeping the menu open. |
| 256 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; | 256 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; |
| 257 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; | 257 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; |
| 258 | 258 |
| 259 } // namespace ash | 259 } // namespace ash |
| 260 | 260 |
| 261 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 261 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
| OLD | NEW |