OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/common/wm_window.h" | 5 #include "ash/wm_window.h" |
6 | 6 |
| 7 #include "ash/ash_constants.h" |
7 #include "ash/aura/aura_layout_manager_adapter.h" | 8 #include "ash/aura/aura_layout_manager_adapter.h" |
8 #include "ash/aura/wm_shell_aura.h" | 9 #include "ash/aura/wm_shell_aura.h" |
9 #include "ash/common/ash_constants.h" | |
10 #include "ash/common/shelf/shelf_item_types.h" | |
11 #include "ash/common/wm/window_state.h" | |
12 #include "ash/common/wm_layout_manager.h" | |
13 #include "ash/common/wm_transient_window_observer.h" | |
14 #include "ash/public/cpp/shell_window_ids.h" | 10 #include "ash/public/cpp/shell_window_ids.h" |
15 #include "ash/public/cpp/window_properties.h" | 11 #include "ash/public/cpp/window_properties.h" |
16 #include "ash/root_window_controller.h" | 12 #include "ash/root_window_controller.h" |
| 13 #include "ash/shelf/shelf_item_types.h" |
17 #include "ash/shell.h" | 14 #include "ash/shell.h" |
18 #include "ash/wm/resize_handle_window_targeter.h" | 15 #include "ash/wm/resize_handle_window_targeter.h" |
19 #include "ash/wm/resize_shadow_controller.h" | 16 #include "ash/wm/resize_shadow_controller.h" |
20 #include "ash/wm/window_animations.h" | 17 #include "ash/wm/window_animations.h" |
21 #include "ash/wm/window_mirror_view.h" | 18 #include "ash/wm/window_mirror_view.h" |
22 #include "ash/wm/window_properties.h" | 19 #include "ash/wm/window_properties.h" |
| 20 #include "ash/wm/window_state.h" |
23 #include "ash/wm/window_state_aura.h" | 21 #include "ash/wm/window_state_aura.h" |
24 #include "ash/wm/window_util.h" | 22 #include "ash/wm/window_util.h" |
| 23 #include "ash/wm_layout_manager.h" |
| 24 #include "ash/wm_transient_window_observer.h" |
25 #include "base/memory/ptr_util.h" | 25 #include "base/memory/ptr_util.h" |
26 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" | 26 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" |
27 #include "ui/aura/client/aura_constants.h" | 27 #include "ui/aura/client/aura_constants.h" |
28 #include "ui/aura/client/focus_client.h" | 28 #include "ui/aura/client/focus_client.h" |
29 #include "ui/aura/client/window_parenting_client.h" | 29 #include "ui/aura/client/window_parenting_client.h" |
30 #include "ui/aura/env.h" | 30 #include "ui/aura/env.h" |
31 #include "ui/aura/layout_manager.h" | 31 #include "ui/aura/layout_manager.h" |
32 #include "ui/aura/mus/window_manager_delegate.h" | 32 #include "ui/aura/mus/window_manager_delegate.h" |
33 #include "ui/aura/mus/window_mus.h" | 33 #include "ui/aura/mus/window_mus.h" |
34 #include "ui/aura/mus/window_tree_client.h" | 34 #include "ui/aura/mus/window_tree_client.h" |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 observer.OnTransientChildAdded(this, Get(transient)); | 796 observer.OnTransientChildAdded(this, Get(transient)); |
797 } | 797 } |
798 | 798 |
799 void WmWindow::OnTransientChildRemoved(aura::Window* window, | 799 void WmWindow::OnTransientChildRemoved(aura::Window* window, |
800 aura::Window* transient) { | 800 aura::Window* transient) { |
801 for (auto& observer : transient_observers_) | 801 for (auto& observer : transient_observers_) |
802 observer.OnTransientChildRemoved(this, Get(transient)); | 802 observer.OnTransientChildRemoved(this, Get(transient)); |
803 } | 803 } |
804 | 804 |
805 } // namespace ash | 805 } // namespace ash |
OLD | NEW |