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

Unified Diff: ash/mus/root_window_controller.cc

Issue 2103913003: Converts MaximizeModeWindowManager to use ash/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maximize_mode_event_handler
Patch Set: fix chrome 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/root_window_controller.h ('k') | ash/wm/maximize_mode/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/root_window_controller.cc
diff --git a/ash/mus/root_window_controller.cc b/ash/mus/root_window_controller.cc
index 967ae727c8cac2a2b52493fbaad097d205caf85b..46b52128e12c0cd7eb7c42ad54da13fd1bca0b25 100644
--- a/ash/mus/root_window_controller.cc
+++ b/ash/mus/root_window_controller.cc
@@ -235,9 +235,10 @@ void RootWindowController::CreateLayoutManagers() {
std::unique_ptr<WorkspaceLayoutManagerDelegateImpl>
workspace_layout_manager_delegate(new WorkspaceLayoutManagerDelegateImpl(
wm_root_window_controller_.get()));
+ workspace_layout_manager_ = new WorkspaceLayoutManager(
+ default_container, std::move(workspace_layout_manager_delegate));
default_container->SetLayoutManager(
- base::WrapUnique(new WorkspaceLayoutManager(
- default_container, std::move(workspace_layout_manager_delegate))));
+ base::WrapUnique(workspace_layout_manager_));
WmWindowMus* docked_container =
GetWindowByShellWindowId(kShellWindowId_DockedContainer);
« no previous file with comments | « ash/mus/root_window_controller.h ('k') | ash/wm/maximize_mode/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698