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 "mash/wm/bridge/wm_globals_mus.h" | 5 #include "mash/wm/bridge/wm_globals_mus.h" |
6 | 6 |
| 7 #include "ash/common/shell_window_ids.h" |
7 #include "ash/common/wm/window_resizer.h" | 8 #include "ash/common/wm/window_resizer.h" |
8 #include "ash/common/wm/wm_activation_observer.h" | 9 #include "ash/common/wm/wm_activation_observer.h" |
9 #include "ash/common/wm/wm_shell_window_ids.h" | |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 #include "components/mus/common/util.h" | 11 #include "components/mus/common/util.h" |
12 #include "components/mus/public/cpp/window.h" | 12 #include "components/mus/public/cpp/window.h" |
13 #include "components/mus/public/cpp/window_tree_client.h" | 13 #include "components/mus/public/cpp/window_tree_client.h" |
14 #include "mash/wm/bridge/wm_root_window_controller_mus.h" | 14 #include "mash/wm/bridge/wm_root_window_controller_mus.h" |
15 #include "mash/wm/bridge/wm_window_mus.h" | 15 #include "mash/wm/bridge/wm_window_mus.h" |
16 #include "mash/wm/container_ids.h" | 16 #include "mash/wm/container_ids.h" |
17 #include "mash/wm/drag_window_resizer.h" | 17 #include "mash/wm/drag_window_resizer.h" |
18 #include "mash/wm/root_window_controller.h" | 18 #include "mash/wm/root_window_controller.h" |
19 | 19 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 } | 218 } |
219 | 219 |
220 void WmGlobalsMus::OnWillDestroyClient( | 220 void WmGlobalsMus::OnWillDestroyClient( |
221 mus::WindowTreeClient* client) { | 221 mus::WindowTreeClient* client) { |
222 DCHECK_EQ(client, client_); | 222 DCHECK_EQ(client, client_); |
223 RemoveClientObserver(); | 223 RemoveClientObserver(); |
224 } | 224 } |
225 | 225 |
226 } // namespace wm | 226 } // namespace wm |
227 } // namespace mash | 227 } // namespace mash |
OLD | NEW |