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

Side by Side Diff: ash/accelerators/accelerator_controller.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 | « no previous file | ash/accelerators/accelerator_controller.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_CONTROLLER_H_ 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
6 #define ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 6 #define ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Actions allowed when the user is not signed in. 149 // Actions allowed when the user is not signed in.
150 std::set<int> actions_allowed_at_login_screen_; 150 std::set<int> actions_allowed_at_login_screen_;
151 // Actions allowed when the screen is locked. 151 // Actions allowed when the screen is locked.
152 std::set<int> actions_allowed_at_lock_screen_; 152 std::set<int> actions_allowed_at_lock_screen_;
153 // Actions allowed when a modal window is up. 153 // Actions allowed when a modal window is up.
154 std::set<int> actions_allowed_at_modal_window_; 154 std::set<int> actions_allowed_at_modal_window_;
155 // Reserved actions. See accelerator_table.h for details. 155 // Reserved actions. See accelerator_table.h for details.
156 std::set<int> reserved_actions_; 156 std::set<int> reserved_actions_;
157 // Actions which will not be repeated while holding the accelerator key. 157 // Actions which will not be repeated while holding the accelerator key.
158 std::set<int> nonrepeatable_actions_; 158 std::set<int> nonrepeatable_actions_;
159 // Actions allowed in app mode.
160 std::set<int> actions_allowed_in_app_mode_;
159 161
160 DISALLOW_COPY_AND_ASSIGN(AcceleratorController); 162 DISALLOW_COPY_AND_ASSIGN(AcceleratorController);
161 }; 163 };
162 164
163 } // namespace ash 165 } // namespace ash
164 166
165 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 167 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/accelerators/accelerator_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698