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

Side by Side Diff: ash/wm/aura/wm_lookup_aura.cc

Issue 2030593002: Renames ash/wm/common into ash/common/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ash/wm/aura/wm_lookup_aura.h ('k') | ash/wm/aura/wm_root_window_controller_aura.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 "ash/wm/aura/wm_lookup_aura.h" 5 #include "ash/wm/aura/wm_lookup_aura.h"
6 6
7 #include "ash/common/wm/wm_layout_manager.h"
7 #include "ash/display/window_tree_host_manager.h" 8 #include "ash/display/window_tree_host_manager.h"
8 #include "ash/shell.h" 9 #include "ash/shell.h"
9 #include "ash/wm/aura/wm_root_window_controller_aura.h" 10 #include "ash/wm/aura/wm_root_window_controller_aura.h"
10 #include "ash/wm/aura/wm_window_aura.h" 11 #include "ash/wm/aura/wm_window_aura.h"
11 #include "ash/wm/common/wm_layout_manager.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace wm { 14 namespace wm {
15 15
16 WmLookupAura::WmLookupAura() { 16 WmLookupAura::WmLookupAura() {
17 WmLookup::Set(this); 17 WmLookup::Set(this);
18 } 18 }
19 19
20 WmLookupAura::~WmLookupAura() { 20 WmLookupAura::~WmLookupAura() {
21 WmLookup::Set(nullptr); 21 WmLookup::Set(nullptr);
22 } 22 }
23 23
24 WmRootWindowController* WmLookupAura::GetRootWindowControllerWithDisplayId( 24 WmRootWindowController* WmLookupAura::GetRootWindowControllerWithDisplayId(
25 int64_t id) { 25 int64_t id) {
26 return WmRootWindowControllerAura::Get(Shell::GetInstance() 26 return WmRootWindowControllerAura::Get(Shell::GetInstance()
27 ->window_tree_host_manager() 27 ->window_tree_host_manager()
28 ->GetRootWindowForDisplayId(id)); 28 ->GetRootWindowForDisplayId(id));
29 } 29 }
30 30
31 WmWindow* WmLookupAura::GetWindowForWidget(views::Widget* widget) { 31 WmWindow* WmLookupAura::GetWindowForWidget(views::Widget* widget) {
32 return WmWindowAura::Get(widget->GetNativeWindow()); 32 return WmWindowAura::Get(widget->GetNativeWindow());
33 } 33 }
34 34
35 } // namespace wm 35 } // namespace wm
36 } // namespace ash 36 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/aura/wm_lookup_aura.h ('k') | ash/wm/aura/wm_root_window_controller_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698