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

Unified Diff: ash/system/drive/tray_drive.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/drive/tray_drive.cc
diff --git a/ash/system/drive/tray_drive.cc b/ash/system/drive/tray_drive.cc
index 9c59b19237f4d4ea7e2392104268f04106d6322c..0a184a1176278220f5decad004df092a200e6532 100644
--- a/ash/system/drive/tray_drive.cc
+++ b/ash/system/drive/tray_drive.cc
@@ -388,7 +388,8 @@ bool TrayDrive::GetInitialVisibility() {
return list->size() > 0;
}
-views::View* TrayDrive::CreateDefaultView(user::LoginStatus status) {
+views::View* TrayDrive::CreateDefaultView(user::LoginStatus status,
+ int bubble_width) {
DCHECK(!default_);
if (status != user::LOGGED_IN_USER && status != user::LOGGED_IN_OWNER)

Powered by Google App Engine
This is Rietveld 408576698