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/wm_window.h" | 5 #include "ash/wm_window.h" |
6 | 6 |
7 #include "ash/ash_constants.h" | 7 #include "ash/ash_constants.h" |
8 #include "ash/public/cpp/config.h" | 8 #include "ash/public/cpp/config.h" |
9 #include "ash/public/cpp/shell_window_ids.h" | 9 #include "ash/public/cpp/shell_window_ids.h" |
10 #include "ash/public/cpp/window_properties.h" | 10 #include "ash/public/cpp/window_properties.h" |
11 #include "ash/root_window_controller.h" | 11 #include "ash/root_window_controller.h" |
12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
13 #include "ash/wm/resize_handle_window_targeter.h" | 13 #include "ash/wm/resize_handle_window_targeter.h" |
14 #include "ash/wm/resize_shadow_controller.h" | 14 #include "ash/wm/resize_shadow_controller.h" |
15 #include "ash/wm/widget_finder.h" | 15 #include "ash/wm/widget_finder.h" |
16 #include "ash/wm/window_animations.h" | 16 #include "ash/wm/window_animations.h" |
17 #include "ash/wm/window_properties.h" | 17 #include "ash/wm/window_properties.h" |
18 #include "ash/wm/window_state.h" | 18 #include "ash/wm/window_state.h" |
19 #include "ash/wm/window_state_aura.h" | |
20 #include "ash/wm/window_util.h" | 19 #include "ash/wm/window_util.h" |
21 #include "ash/wm_transient_window_observer.h" | 20 #include "ash/wm_transient_window_observer.h" |
22 #include "base/memory/ptr_util.h" | 21 #include "base/memory/ptr_util.h" |
23 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" | 22 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" |
24 #include "ui/aura/client/aura_constants.h" | 23 #include "ui/aura/client/aura_constants.h" |
25 #include "ui/aura/client/focus_client.h" | 24 #include "ui/aura/client/focus_client.h" |
26 #include "ui/aura/client/window_parenting_client.h" | 25 #include "ui/aura/client/window_parenting_client.h" |
27 #include "ui/aura/layout_manager.h" | 26 #include "ui/aura/layout_manager.h" |
28 #include "ui/aura/mus/window_manager_delegate.h" | 27 #include "ui/aura/mus/window_manager_delegate.h" |
29 #include "ui/aura/mus/window_mus.h" | 28 #include "ui/aura/mus/window_mus.h" |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 observer.OnTransientChildAdded(this, Get(transient)); | 732 observer.OnTransientChildAdded(this, Get(transient)); |
734 } | 733 } |
735 | 734 |
736 void WmWindow::OnTransientChildRemoved(aura::Window* window, | 735 void WmWindow::OnTransientChildRemoved(aura::Window* window, |
737 aura::Window* transient) { | 736 aura::Window* transient) { |
738 for (auto& observer : transient_observers_) | 737 for (auto& observer : transient_observers_) |
739 observer.OnTransientChildRemoved(this, Get(transient)); | 738 observer.OnTransientChildRemoved(this, Get(transient)); |
740 } | 739 } |
741 | 740 |
742 } // namespace ash | 741 } // namespace ash |
OLD | NEW |