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_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 Loading... |
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_ |
OLD | NEW |