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

Unified Diff: ash/system/chromeos/tray_display.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/chromeos/tray_display.cc
diff --git a/ash/system/chromeos/tray_display.cc b/ash/system/chromeos/tray_display.cc
index bf958d6063c2e0f6d2dab13cc7d1bb66b547ee00..a06d2eb5216df86ee15b1d1037b5fc65ac1fdae0 100644
--- a/ash/system/chromeos/tray_display.cc
+++ b/ash/system/chromeos/tray_display.cc
@@ -125,7 +125,8 @@ TrayDisplay::~TrayDisplay() {
Shell::GetInstance()->output_configurator()->RemoveObserver(this);
}
-views::View* TrayDisplay::CreateDefaultView(user::LoginStatus status) {
+views::View* TrayDisplay::CreateDefaultView(user::LoginStatus status,
+ int bubble_width) {
default_ = new DisplayView(status);
return default_;
}

Powered by Google App Engine
This is Rietveld 408576698