OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "ash/mus/window_manager.h" | 5 #include "ash/mus/window_manager.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "ash/common/shell_window_ids.h" | 11 #include "ash/common/shell_window_ids.h" |
12 #include "ash/mus/bridge/wm_lookup_mus.h" | 12 #include "ash/mus/bridge/wm_lookup_mus.h" |
13 #include "ash/mus/bridge/wm_shell_mus.h" | 13 #include "ash/mus/bridge/wm_shell_mus.h" |
14 #include "ash/mus/bridge/wm_window_mus.h" | 14 #include "ash/mus/bridge/wm_window_mus.h" |
15 #include "ash/mus/non_client_frame_controller.h" | 15 #include "ash/mus/non_client_frame_controller.h" |
16 #include "ash/mus/property_util.h" | 16 #include "ash/mus/property_util.h" |
17 #include "ash/mus/root_window_controller.h" | 17 #include "ash/mus/root_window_controller.h" |
18 #include "ash/mus/shadow_controller.h" | 18 #include "ash/mus/shadow_controller.h" |
19 #include "ash/mus/window_manager_observer.h" | 19 #include "ash/mus/window_manager_observer.h" |
20 #include "ash/public/interfaces/container.mojom.h" | 20 #include "ash/public/interfaces/container.mojom.h" |
21 #include "components/mus/common/event_matcher_util.h" | 21 #include "services/ui/common/event_matcher_util.h" |
22 #include "components/mus/common/types.h" | 22 #include "services/ui/common/types.h" |
23 #include "components/mus/public/cpp/property_type_converters.h" | 23 #include "services/ui/public/cpp/property_type_converters.h" |
24 #include "components/mus/public/cpp/window.h" | 24 #include "services/ui/public/cpp/window.h" |
25 #include "components/mus/public/cpp/window_property.h" | 25 #include "services/ui/public/cpp/window_property.h" |
26 #include "components/mus/public/cpp/window_tree_client.h" | 26 #include "services/ui/public/cpp/window_tree_client.h" |
27 #include "components/mus/public/interfaces/mus_constants.mojom.h" | 27 #include "services/ui/public/interfaces/mus_constants.mojom.h" |
28 #include "components/mus/public/interfaces/window_manager.mojom.h" | 28 #include "services/ui/public/interfaces/window_manager.mojom.h" |
29 #include "ui/events/mojo/event.mojom.h" | 29 #include "ui/events/mojo/event.mojom.h" |
30 #include "ui/views/mus/screen_mus.h" | 30 #include "ui/views/mus/screen_mus.h" |
31 | 31 |
32 namespace ash { | 32 namespace ash { |
33 namespace mus { | 33 namespace mus { |
34 | 34 |
35 const uint32_t kWindowSwitchAccelerator = 1; | 35 const uint32_t kWindowSwitchAccelerator = 1; |
36 | 36 |
37 void AssertTrue(bool success) { | 37 void AssertTrue(bool success) { |
38 DCHECK(success); | 38 DCHECK(success); |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 break; | 236 break; |
237 default: | 237 default: |
238 FOR_EACH_OBSERVER(WindowManagerObserver, observers_, | 238 FOR_EACH_OBSERVER(WindowManagerObserver, observers_, |
239 OnAccelerator(id, event)); | 239 OnAccelerator(id, event)); |
240 break; | 240 break; |
241 } | 241 } |
242 } | 242 } |
243 | 243 |
244 } // namespace mus | 244 } // namespace mus |
245 } // namespace ash | 245 } // namespace ash |
OLD | NEW |