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

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

Issue 1907863002: Converts DockedWindowLayoutManager to common ash/wm types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 8 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_root_window_controller_aura.h ('k') | ash/wm/aura/wm_window_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_root_window_controller_aura.h" 5 #include "ash/wm/aura/wm_root_window_controller_aura.h"
6 6
7 #include "ash/display/window_tree_host_manager.h" 7 #include "ash/display/window_tree_host_manager.h"
8 #include "ash/root_window_controller.h" 8 #include "ash/root_window_controller.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/wm/aura/wm_globals_aura.h" 10 #include "ash/wm/aura/wm_globals_aura.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 70
71 WorkspaceWindowState WmRootWindowControllerAura::GetWorkspaceWindowState() { 71 WorkspaceWindowState WmRootWindowControllerAura::GetWorkspaceWindowState() {
72 return root_window_controller_->workspace_controller()->GetWindowState(); 72 return root_window_controller_->workspace_controller()->GetWindowState();
73 } 73 }
74 74
75 WmWindow* WmRootWindowControllerAura::GetWindow() { 75 WmWindow* WmRootWindowControllerAura::GetWindow() {
76 return WmWindowAura::Get(root_window_controller_->GetRootWindow()); 76 return WmWindowAura::Get(root_window_controller_->GetRootWindow());
77 } 77 }
78 78
79 void WmRootWindowControllerAura::ConfigureWidgetInitParamsForContainer(
80 views::Widget* widget,
81 int shell_container_id,
82 views::Widget::InitParams* init_params) {
83 init_params->parent = Shell::GetContainer(
84 root_window_controller_->GetRootWindow(), shell_container_id);
85 }
79 } // namespace wm 86 } // namespace wm
80 } // namespace ash 87 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/aura/wm_root_window_controller_aura.h ('k') | ash/wm/aura/wm_window_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698