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

Unified Diff: ash/system/locale/tray_locale.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/locale/tray_locale.h
diff --git a/ash/system/locale/tray_locale.h b/ash/system/locale/tray_locale.h
index a78f2b381887b7d4f71b16c8bde32be9594908f6..f90ef8430f0b75afaa6d40c1fc60b7c02d656a8e 100644
--- a/ash/system/locale/tray_locale.h
+++ b/ash/system/locale/tray_locale.h
@@ -11,6 +11,9 @@
#include "ash/system/tray/system_tray_item.h"
namespace ash {
+
+class SystemTray;
+
namespace internal {
namespace tray {
@@ -20,7 +23,7 @@ class LocaleNotificationView;
class TrayLocale : public SystemTrayItem,
public LocaleObserver {
public:
- TrayLocale();
+ explicit TrayLocale(SystemTray* system_tray);
virtual ~TrayLocale();
private:

Powered by Google App Engine
This is Rietveld 408576698