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

Unified Diff: ash/root_window_controller.cc

Issue 1116313002: Layout login/lock screen, shelf and app list inside the first display in Unified Desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
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 bbe421095178c7f93464bb427abbf2e3d0b28f40..3b8fd90cf73ee5c2ebeee536a71149c2cfdfd139 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -960,13 +960,7 @@ void RootWindowController::CreateContainersInRootWindow(
"LockScreenContainer",
lock_screen_containers);
wm::SetSnapsChildrenToPhysicalPixelBoundary(lock_container);
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshDisableLockLayoutManager)) {
- lock_container->SetLayoutManager(
- new WorkspaceLayoutManager(lock_container));
- } else {
- lock_container->SetLayoutManager(new LockLayoutManager(lock_container));
- }
+ lock_container->SetLayoutManager(new LockLayoutManager(lock_container));
SetUsesScreenCoordinates(lock_container);
// TODO(beng): stopsevents
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698