| 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_COMMON_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ | 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ |
| 6 #define ASH_COMMON_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> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "ash/accelerators/accelerator_table.h" |
| 16 #include "ash/accelerators/exit_warning_handler.h" |
| 15 #include "ash/ash_export.h" | 17 #include "ash/ash_export.h" |
| 16 #include "ash/common/accelerators/accelerator_table.h" | |
| 17 #include "ash/common/accelerators/exit_warning_handler.h" | |
| 18 #include "ash/public/interfaces/accelerator_controller.mojom.h" | 18 #include "ash/public/interfaces/accelerator_controller.mojom.h" |
| 19 #include "base/compiler_specific.h" | 19 #include "base/compiler_specific.h" |
| 20 #include "base/gtest_prod_util.h" | 20 #include "base/gtest_prod_util.h" |
| 21 #include "base/macros.h" | 21 #include "base/macros.h" |
| 22 #include "mojo/public/cpp/bindings/binding_set.h" | 22 #include "mojo/public/cpp/bindings/binding_set.h" |
| 23 #include "ui/base/accelerators/accelerator.h" | 23 #include "ui/base/accelerators/accelerator.h" |
| 24 #include "ui/base/accelerators/accelerator_history.h" | 24 #include "ui/base/accelerators/accelerator_history.h" |
| 25 | 25 |
| 26 namespace ui { | 26 namespace ui { |
| 27 class AcceleratorManager; | 27 class AcceleratorManager; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 // Actions disallowed if there are no windows. | 224 // Actions disallowed if there are no windows. |
| 225 std::set<int> actions_needing_window_; | 225 std::set<int> actions_needing_window_; |
| 226 // Actions that can be performed without closing the menu (if one is present). | 226 // Actions that can be performed without closing the menu (if one is present). |
| 227 std::set<int> actions_keeping_menu_open_; | 227 std::set<int> actions_keeping_menu_open_; |
| 228 | 228 |
| 229 DISALLOW_COPY_AND_ASSIGN(AcceleratorController); | 229 DISALLOW_COPY_AND_ASSIGN(AcceleratorController); |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 } // namespace ash | 232 } // namespace ash |
| 233 | 233 |
| 234 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ | 234 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ |
| OLD | NEW |