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

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

Issue 12389083: cros: Add app mode restrictions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for comments in #3 Created 7 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/base/events/event_constants.h" 10 #include "ui/base/events/event_constants.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // The number of elements in kActionsAllowedAtModalWindow. 143 // The number of elements in kActionsAllowedAtModalWindow.
144 ASH_EXPORT extern const size_t kActionsAllowedAtModalWindowLength; 144 ASH_EXPORT extern const size_t kActionsAllowedAtModalWindowLength;
145 145
146 // Actions which will not be repeated while holding an accelerator key. 146 // Actions which will not be repeated while holding an accelerator key.
147 ASH_EXPORT extern const AcceleratorAction kNonrepeatableActions[]; 147 ASH_EXPORT extern const AcceleratorAction kNonrepeatableActions[];
148 148
149 // The number of elements in kNonrepeatableActions. 149 // The number of elements in kNonrepeatableActions.
150 ASH_EXPORT extern const size_t kNonrepeatableActionsLength; 150 ASH_EXPORT extern const size_t kNonrepeatableActionsLength;
151 151
152 // Actions allowed in app mode.
153 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[];
154
155 // The number of elements in kActionsAllowedInAppMode.
156 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength;
157
152 } // namespace ash 158 } // namespace ash
153 159
154 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 160 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698