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

Unified Diff: chrome/browser/chromeos/login/ui/webui_login_view.cc

Issue 1623603002: When adding a supervised user, ensure the shelf position is at the bottom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-login-display-host
Patch Set: 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 | « chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/ui/webui_login_view.cc
diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.cc b/chrome/browser/chromeos/login/ui/webui_login_view.cc
index b4acbd58deffcf24957f8c046ebcf36225e835cd..382140e9f52aacb55c9bd8d639377507dc543751 100644
--- a/chrome/browser/chromeos/login/ui/webui_login_view.cc
+++ b/chrome/browser/chromeos/login/ui/webui_login_view.cc
@@ -309,9 +309,9 @@ void WebUILoginView::OnPostponedShow() {
void WebUILoginView::SetStatusAreaVisible(bool visible) {
if (ash::Shell::GetInstance()->HasPrimaryStatusArea()) {
ash::SystemTray* tray = ash::Shell::GetInstance()->GetPrimarySystemTray();
+ tray->SetVisible(visible);
if (visible) {
// Tray may have been initialized being hidden.
- tray->SetVisible(visible);
tray->GetWidget()->Show();
} else {
tray->GetWidget()->Hide();
« no previous file with comments | « chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698