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

Unified Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc

Issue 1539713002: Move default_host from LoginDisplayHostImpl to LoginDisplayHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix test Created 4 years, 11 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 | chrome/browser/chromeos/login/ui/login_display_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3370ac903abb920e40c1d5a9b124d0a7ef7d04f7..3367137b5d2a58727a85be1acc6ec67d36df2040 100644
--- a/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc
@@ -20,6 +20,7 @@
#include "chrome/browser/chromeos/login/supervised/supervised_user_creation_controller.h"
#include "chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.h"
#include "chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h"
+#include "chrome/browser/chromeos/login/ui/login_display_host_impl.h"
#include "chrome/browser/chromeos/login/users/avatar/user_image_manager.h"
#include "chrome/browser/chromeos/login/users/chrome_user_manager.h"
#include "chrome/browser/chromeos/login/users/supervised_user_manager.h"
@@ -374,6 +375,13 @@ void SupervisedUserCreationScreen::OnManagerFullyAuthenticated(
ash::Shell::GetInstance()->
desktop_background_controller()->MoveDesktopToLockedContainer();
+ // Hide the status area and the control bar, since they will show up at the
achuithb 2016/01/21 23:13:06 Maybe pull this out into a separate CL?
+ // logged in users's preferred location, which could be on the left or right
+ // side of the screen.
+ LoginDisplayHost* default_host = LoginDisplayHost::default_host();
+ default_host->SetStatusAreaVisible(false);
+ default_host->GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false);
+
controller_->SetManagerProfile(manager_profile);
if (actor_)
actor_->ShowUsernamePage();
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/login_display_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698