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

Unified Diff: ash/system/chromeos/network/tray_sms.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_sms.h
diff --git a/ash/system/chromeos/network/tray_sms.h b/ash/system/chromeos/network/tray_sms.h
index 41501a37926fe30c32cbdc7afcda7d283c609362..8c264b34521dc92eb23f6c7cbcfa61ed65b9c8a2 100644
--- a/ash/system/chromeos/network/tray_sms.h
+++ b/ash/system/chromeos/network/tray_sms.h
@@ -12,12 +12,15 @@
#include "base/values.h"
namespace ash {
+
+class SystemTray;
+
namespace internal {
class TraySms : public SystemTrayItem,
public SmsObserver {
public:
- TraySms();
+ explicit TraySms(SystemTray* system_tray);
virtual ~TraySms();
// Overridden from SystemTrayItem.

Powered by Google App Engine
This is Rietveld 408576698