| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // Reserved actions. See accelerator_table.h for details. | 206 // Reserved actions. See accelerator_table.h for details. |
| 207 std::set<int> reserved_actions_; | 207 std::set<int> reserved_actions_; |
| 208 // Actions which will not be repeated while holding the accelerator key. | 208 // Actions which will not be repeated while holding the accelerator key. |
| 209 std::set<int> nonrepeatable_actions_; | 209 std::set<int> nonrepeatable_actions_; |
| 210 // Actions allowed in app mode. | 210 // Actions allowed in app mode. |
| 211 std::set<int> actions_allowed_in_app_mode_; | 211 std::set<int> actions_allowed_in_app_mode_; |
| 212 // Actions disallowed if there are no windows. | 212 // Actions disallowed if there are no windows. |
| 213 std::set<int> actions_needing_window_; | 213 std::set<int> actions_needing_window_; |
| 214 // Actions that can be performed without closing the menu (if one is present). | 214 // Actions that can be performed without closing the menu (if one is present). |
| 215 std::set<int> actions_keeping_menu_open_; | 215 std::set<int> actions_keeping_menu_open_; |
| 216 // Actions allowed in pinned mode. |
| 217 std::set<int> actions_allowed_in_pinned_mode_; |
| 216 | 218 |
| 217 DISALLOW_COPY_AND_ASSIGN(AcceleratorController); | 219 DISALLOW_COPY_AND_ASSIGN(AcceleratorController); |
| 218 }; | 220 }; |
| 219 | 221 |
| 220 } // namespace ash | 222 } // namespace ash |
| 221 | 223 |
| 222 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ | 224 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ |
| OLD | NEW |