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

Unified Diff: ash/system/chromeos/network/tray_network.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/network/tray_network.cc
diff --git a/ash/system/chromeos/network/tray_network.cc b/ash/system/chromeos/network/tray_network.cc
index 38818fa30df5633e52224db9d8f96b33f5f4383f..50d830c0f6c5b966faea33ef5e13f70a383d43ba 100644
--- a/ash/system/chromeos/network/tray_network.cc
+++ b/ash/system/chromeos/network/tray_network.cc
@@ -523,7 +523,8 @@ views::View* TrayNetwork::CreateTrayView(user::LoginStatus status) {
return tray_;
}
-views::View* TrayNetwork::CreateDefaultView(user::LoginStatus status) {
+views::View* TrayNetwork::CreateDefaultView(user::LoginStatus status,
+ int bubble_width) {
CHECK(default_ == NULL);
default_ =
new tray::NetworkDefaultView(this, status != user::LOGGED_IN_LOCKED);

Powered by Google App Engine
This is Rietveld 408576698