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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 2625733003: Re-reland: chromeos: Fix shelf appearing at login screen under mash (Closed)
Patch Set: rebase, fix conflict with sky Created 3 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
Index: chrome/browser/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index 1805ff7a54ff3aa65e5b2ddea76797dfe1dc7ada..383874b256d01a47ac2806f99fd4340536a9e620 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -565,7 +565,6 @@ void ChromeShellDelegate::Observe(int type,
// chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED instead.
if (shelf_delegate_)
shelf_delegate_->OnUserProfileReadyToSwitch(profile);
- ash::Shell::GetInstance()->OnLoginUserProfilePrepared();
break;
}
case chrome::NOTIFICATION_SESSION_STARTED:
@@ -573,7 +572,6 @@ void ChromeShellDelegate::Observe(int type,
// start.
if (user_manager::UserManager::Get()->GetLoggedInUsers().size() < 2)
InitAfterFirstSessionStart();
- ash::WmShell::Get()->ShowShelf();
break;
default:
NOTREACHED() << "Unexpected notification " << type;

Powered by Google App Engine
This is Rietveld 408576698