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

Unified Diff: ash/system/chromeos/network/tray_network.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/chromeos/network/tray_network.h
diff --git a/ash/system/chromeos/network/tray_network.h b/ash/system/chromeos/network/tray_network.h
index 271c87cd76a0cd7786bb6581ee2b7e3ec6fb66e0..fe9e5a91e759311e1ace0634ae22692484d130e1 100644
--- a/ash/system/chromeos/network/tray_network.h
+++ b/ash/system/chromeos/network/tray_network.h
@@ -10,6 +10,9 @@
#include "base/memory/scoped_ptr.h"
namespace ash {
+
+class SystemTray;
+
namespace internal {
namespace tray {
@@ -29,7 +32,7 @@ class TrayNetwork : public SystemTrayItem,
WIFI_VIEW,
};
- TrayNetwork();
+ explicit TrayNetwork(SystemTray* system_tray);
virtual ~TrayNetwork();
// Overridden from SystemTrayItem.

Powered by Google App Engine
This is Rietveld 408576698