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

Unified Diff: ash/system/user/tray_user.cc

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: ash/system/user/tray_user.cc
diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc
index e476254333c4c6e0ae373362d5ae29924b601679..a8e9c0cb65d2f534276fac4b0e3931e1508a1206 100644
--- a/ash/system/user/tray_user.cc
+++ b/ash/system/user/tray_user.cc
@@ -271,7 +271,8 @@ views::View* TrayUser::CreateTrayView(user::LoginStatus status) {
: static_cast<views::View*>(label_);
}
-views::View* TrayUser::CreateDefaultView(user::LoginStatus status) {
+views::View* TrayUser::CreateDefaultView(user::LoginStatus status,
+ int bubble_width) {
if (status == user::LOGGED_IN_NONE)
return NULL;

Powered by Google App Engine
This is Rietveld 408576698