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

Unified Diff: ash/root_window_controller.cc

Issue 2861243003: chromeos: Converts WorkspaceLayoutManager to aura::LayoutManager (Closed)
Patch Set: moar Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | ash/wm/fullscreen_window_finder.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 07f37ca584b51de48502a22ff7be05d64274da8a..95c991d4e573092528835e9e5d7965f6580d50e4 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -636,8 +636,7 @@ void RootWindowController::InitTouchHuds() {
}
aura::Window* RootWindowController::GetWindowForFullscreenMode() {
- return WmWindow::GetAuraWindow(
- wm::GetWindowForFullscreenMode(WmWindow::Get(GetRootWindow())));
+ return wm::GetWindowForFullscreenMode(GetRootWindow());
}
void RootWindowController::ActivateKeyboard(
@@ -800,7 +799,8 @@ void RootWindowController::InitLayoutManagers() {
root_window_layout_manager_ = new wm::RootWindowLayoutManager(root);
root->SetLayoutManager(base::WrapUnique(root_window_layout_manager_));
- WmWindow* default_container = GetWmContainer(kShellWindowId_DefaultContainer);
+ aura::Window* default_container =
+ GetContainer(kShellWindowId_DefaultContainer);
// Installs WorkspaceLayoutManager on |default_container|.
workspace_controller_.reset(new WorkspaceController(default_container));
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | ash/wm/fullscreen_window_finder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698