Index: chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc |
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc b/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc |
index 82b07b4bd62bed0426682dc808dda864a67a3c91..d623987ae56898e161faa3446998f5bf79a00ce9 100644 |
--- a/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc |
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc |
@@ -6,6 +6,7 @@ |
#include <utility> |
+#include "ash/common/shelf/wm_shelf.h" |
#include "ash/common/wallpaper/wallpaper_controller.h" |
#include "ash/common/wm_shell.h" |
#include "base/memory/ptr_util.h" |
@@ -368,6 +369,8 @@ void SupervisedUserCreationScreen::OnManagerFullyAuthenticated( |
// For manager user, move wallpaper to locked container so that windows |
// created during the user image picker step are below it. |
ash::WmShell::Get()->wallpaper_controller()->MoveToLockedContainer(); |
+ ash::WmShelf::ForWindow(ash::WmShell::Get()->GetPrimaryRootWindow()) |
+ ->SetAlignment(ash::ShelfAlignment::SHELF_ALIGNMENT_BOTTOM_LOCKED); |
controller_->SetManagerProfile(manager_profile); |
if (actor_) |