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/session/session_controller.h" | 11 #include "ash/common/session/session_controller.h" |
12 #include "ash/common/wm/container_finder.h" | 12 #include "ash/common/wm/container_finder.h" |
13 #include "ash/common/wm/window_state.h" | 13 #include "ash/common/wm/window_state.h" |
14 #include "ash/display/screen_position_controller.h" | 14 #include "ash/display/screen_position_controller.h" |
15 #include "ash/mus/accelerators/accelerator_handler.h" | 15 #include "ash/mus/accelerators/accelerator_handler.h" |
16 #include "ash/mus/accelerators/accelerator_ids.h" | 16 #include "ash/mus/accelerators/accelerator_ids.h" |
17 #include "ash/mus/app_list_presenter_mus.h" | |
18 #include "ash/mus/bridge/wm_lookup_mus.h" | 17 #include "ash/mus/bridge/wm_lookup_mus.h" |
19 #include "ash/mus/bridge/wm_root_window_controller_mus.h" | 18 #include "ash/mus/bridge/wm_root_window_controller_mus.h" |
20 #include "ash/mus/bridge/wm_shell_mus.h" | 19 #include "ash/mus/bridge/wm_shell_mus.h" |
21 #include "ash/mus/bridge/wm_window_mus.h" | 20 #include "ash/mus/bridge/wm_window_mus.h" |
22 #include "ash/mus/move_event_handler.h" | 21 #include "ash/mus/move_event_handler.h" |
23 #include "ash/mus/non_client_frame_controller.h" | 22 #include "ash/mus/non_client_frame_controller.h" |
24 #include "ash/mus/property_util.h" | 23 #include "ash/mus/property_util.h" |
25 #include "ash/mus/root_window_controller.h" | 24 #include "ash/mus/root_window_controller.h" |
26 #include "ash/mus/screen_mus.h" | 25 #include "ash/mus/screen_mus.h" |
27 #include "ash/mus/shadow_controller.h" | 26 #include "ash/mus/shadow_controller.h" |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 | 498 |
500 void WindowManager::OnWindowInitialized(aura::Window* window) { | 499 void WindowManager::OnWindowInitialized(aura::Window* window) { |
501 // This ensures WmWindowAura won't be called before WmWindowMus. This is | 500 // This ensures WmWindowAura won't be called before WmWindowMus. This is |
502 // important as if WmWindowAura::Get() is called first, then WmWindowAura | 501 // important as if WmWindowAura::Get() is called first, then WmWindowAura |
503 // would be created, not WmWindowMus. | 502 // would be created, not WmWindowMus. |
504 WmWindowMus::Get(window); | 503 WmWindowMus::Get(window); |
505 } | 504 } |
506 | 505 |
507 } // namespace mus | 506 } // namespace mus |
508 } // namespace ash | 507 } // namespace ash |
OLD | NEW |