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

Unified Diff: ash/system/settings/tray_settings.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/settings/tray_settings.cc
diff --git a/ash/system/settings/tray_settings.cc b/ash/system/settings/tray_settings.cc
index ae1823d4e16b53ca96e607fac2c71dc76d0a2aa9..4fcea560fa56eae225ac766398250e31634af587 100644
--- a/ash/system/settings/tray_settings.cc
+++ b/ash/system/settings/tray_settings.cc
@@ -124,7 +124,8 @@ views::View* TraySettings::CreateTrayView(user::LoginStatus status) {
return NULL;
}
-views::View* TraySettings::CreateDefaultView(user::LoginStatus status) {
+views::View* TraySettings::CreateDefaultView(user::LoginStatus status,
+ int bubble_width) {
if ((status == user::LOGGED_IN_NONE || status == user::LOGGED_IN_LOCKED) &&
(!ash::Shell::GetInstance()->tray_delegate()->
GetPowerSupplyStatus().battery_is_present))

Powered by Google App Engine
This is Rietveld 408576698