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

Unified Diff: ash/system/ime/tray_ime.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/ime/tray_ime.h
diff --git a/ash/system/ime/tray_ime.h b/ash/system/ime/tray_ime.h
index d40e252d48377601a7240ac8708d536e04aa2008..c789fe76ddd1b0373802a6f0876b992861428375 100644
--- a/ash/system/ime/tray_ime.h
+++ b/ash/system/ime/tray_ime.h
@@ -15,6 +15,7 @@ class Label;
namespace ash {
struct IMEInfo;
+class SystemTray;
namespace internal {
@@ -29,7 +30,7 @@ class TrayItemView;
class TrayIME : public SystemTrayItem,
public IMEObserver {
public:
- TrayIME();
+ explicit TrayIME(SystemTray* system_tray);
virtual ~TrayIME();
private:

Powered by Google App Engine
This is Rietveld 408576698