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

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

Issue 2573703003: chromeos: Fix shelf appearing at login screen under mash (Closed)
Patch Set: msw comments Created 4 years 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 a452d0a1c341ffe13f1ca5061d30c42b5271c9c1..6bd85d99dbfaa6b066d24cb5f08a38140b4d145e 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -573,7 +573,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:
@@ -581,7 +580,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