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

Unified Diff: ash/system/monitor/tray_monitor.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: Modified CL to provide TrayItems and Tray*Views with parent pointers instead. 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/monitor/tray_monitor.h
diff --git a/ash/system/monitor/tray_monitor.h b/ash/system/monitor/tray_monitor.h
index c397df4cb044693061df853d7a1effdc5ec20266..1aee19c0dbb5c7b50263a565129164769521b12e 100644
--- a/ash/system/monitor/tray_monitor.h
+++ b/ash/system/monitor/tray_monitor.h
@@ -13,11 +13,14 @@ class Label;
}
namespace ash {
+
+class SystemTray;
+
namespace internal {
class TrayMonitor : public SystemTrayItem {
public:
- TrayMonitor();
+ explicit TrayMonitor(SystemTray* system_tray);
virtual ~TrayMonitor();
private:

Powered by Google App Engine
This is Rietveld 408576698