Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: ash/accelerators/accelerator_table.h

Issue 77453013: Add an accessibility alert for incorrect use of some accelerators. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ASH_EXPORT extern const size_t kActionsAllowedAtModalWindowLength; 185 ASH_EXPORT extern const size_t kActionsAllowedAtModalWindowLength;
186 186
187 // Actions which will not be repeated while holding an accelerator key. 187 // Actions which will not be repeated while holding an accelerator key.
188 ASH_EXPORT extern const AcceleratorAction kNonrepeatableActions[]; 188 ASH_EXPORT extern const AcceleratorAction kNonrepeatableActions[];
189 ASH_EXPORT extern const size_t kNonrepeatableActionsLength; 189 ASH_EXPORT extern const size_t kNonrepeatableActionsLength;
190 190
191 // Actions allowed in app mode. 191 // Actions allowed in app mode.
192 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; 192 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[];
193 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; 193 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength;
194 194
195 // Actions that require at least 1 window.
196 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[];
197 ASH_EXPORT extern const size_t kActionsNeedingWindowLength;
198
195 } // namespace ash 199 } // namespace ash
196 200
197 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 201 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698