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

Unified Diff: ash/system/tray/tray_empty.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/tray/tray_empty.h
diff --git a/ash/system/tray/tray_empty.h b/ash/system/tray/tray_empty.h
index 5288e5ea78a158b3d4abcc18350fb74297a7ba52..20515babdc2ac94bae02563015c29d13c77aa59f 100644
--- a/ash/system/tray/tray_empty.h
+++ b/ash/system/tray/tray_empty.h
@@ -8,11 +8,14 @@
#include "ash/system/tray/system_tray_item.h"
namespace ash {
+
+class SystemTray;
+
namespace internal {
class TrayEmpty : public SystemTrayItem {
public:
- TrayEmpty();
+ explicit TrayEmpty(SystemTray* system_tray);
virtual ~TrayEmpty();
private:

Powered by Google App Engine
This is Rietveld 408576698