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

Unified Diff: ash/system/logout_button/tray_logout_button.h

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary forward declarations. Renamed |tray| to |owner|. 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/logout_button/tray_logout_button.h
diff --git a/ash/system/logout_button/tray_logout_button.h b/ash/system/logout_button/tray_logout_button.h
index ca51d9ddbb0e23bd305f22d9e3bf6030ae65b8d5..a2d01c757029d79d0177420085b8f09c001f28e6 100644
--- a/ash/system/logout_button/tray_logout_button.h
+++ b/ash/system/logout_button/tray_logout_button.h
@@ -21,7 +21,7 @@ class LogoutButton;
// kShowLogoutButtonInTray pref.
class TrayLogoutButton : public SystemTrayItem, public LogoutButtonObserver {
public:
- TrayLogoutButton();
+ explicit TrayLogoutButton(SystemTray* system_tray);
// Overridden from SystemTrayItem.
virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698