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

Unified Diff: ash/system/tray_update.cc

Issue 9874022: ash: Long network names should not overlap with the chevron in the uber tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « ash/system/tray/tray_item_more.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_update.cc
diff --git a/ash/system/tray_update.cc b/ash/system/tray_update.cc
index 315f1ce9b8096b02c15ffe0647670b63b5729d38..82bef417b78b2b41959975fe7ccd055b2c369980 100644
--- a/ash/system/tray_update.cc
+++ b/ash/system/tray_update.cc
@@ -66,6 +66,8 @@ bool TrayUpdate::GetInitialVisibility() {
}
views::View* TrayUpdate::CreateDefaultView(user::LoginStatus status) {
+ if (!Shell::GetInstance()->tray_delegate()->SystemShouldUpgrade())
+ return NULL;
default_.reset(new UpdateView);
return default_.get();
}
« no previous file with comments | « ash/system/tray/tray_item_more.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698