Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: mash/wm/bridge/wm_globals_mus.cc

Issue 2024313002: Moves mash/wm/public -> ash/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mash/wm/BUILD.gn ('k') | mash/wm/container_ids.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/wm/common/window_resizer.h" 7 #include "ash/wm/common/window_resizer.h"
8 #include "ash/wm/common/wm_activation_observer.h" 8 #include "ash/wm/common/wm_activation_observer.h"
9 #include "ash/wm/common/wm_shell_window_ids.h" 9 #include "ash/wm/common/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/public/interfaces/container.mojom.h"
19 #include "mash/wm/root_window_controller.h" 18 #include "mash/wm/root_window_controller.h"
20 19
21 namespace mash { 20 namespace mash {
22 namespace wm { 21 namespace wm {
23 22
24 WmGlobalsMus::WmGlobalsMus(mus::WindowTreeClient* client) 23 WmGlobalsMus::WmGlobalsMus(mus::WindowTreeClient* client)
25 : client_(client) { 24 : client_(client) {
26 client_->AddObserver(this); 25 client_->AddObserver(this);
27 WmGlobals::Set(this); 26 WmGlobals::Set(this);
28 } 27 }
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } 218 }
220 219
221 void WmGlobalsMus::OnWillDestroyClient( 220 void WmGlobalsMus::OnWillDestroyClient(
222 mus::WindowTreeClient* client) { 221 mus::WindowTreeClient* client) {
223 DCHECK_EQ(client, client_); 222 DCHECK_EQ(client, client_);
224 RemoveClientObserver(); 223 RemoveClientObserver();
225 } 224 }
226 225
227 } // namespace wm 226 } // namespace wm
228 } // namespace mash 227 } // namespace mash
OLDNEW
« no previous file with comments | « mash/wm/BUILD.gn ('k') | mash/wm/container_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698