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

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

Issue 2389403003: chromeos: Don't explicitly set system tray visibility during initialization (Closed)
Patch Set: unused var on windows Created 4 years, 2 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/ui/ash/system_tray_delegate_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index b1d7549e0d312dc134d3f887bca5ece3098de7bf..4beb21c9bc617bfecc52d66169daacb22459d668 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -313,12 +313,6 @@ SystemTrayDelegateChromeOS::~SystemTrayDelegateChromeOS() {
user_manager::UserManager::Get()->RemoveSessionStateObserver(this);
}
-// Overridden from ash::SystemTrayDelegate:
-bool SystemTrayDelegateChromeOS::GetTrayVisibilityOnStartup() {
- // In case of OOBE / sign in screen tray will be shown later.
- return LoginState::Get()->IsUserLoggedIn();
-}
-
ash::LoginStatus SystemTrayDelegateChromeOS::GetUserLoginStatus() const {
if (!LoginState::Get()->IsUserLoggedIn())
return ash::LoginStatus::NOT_LOGGED_IN;
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698