Index: ash/shell.h |
diff --git a/ash/shell.h b/ash/shell.h |
index 5848d294acc7aa4dac32c4d9ed3fe508c39b1c4f..b2b232d68d66d8cbd516fc27f038a70274718544 100644 |
--- a/ash/shell.h |
+++ b/ash/shell.h |
@@ -271,7 +271,7 @@ class ASH_EXPORT Shell : aura::CursorDelegate { |
} |
ShellDelegate* delegate() { return delegate_.get(); } |
- SystemTrayDelegate* tray_delegate() { return tray_delegate_.get(); } |
+ |
UserWallpaperDelegate* user_wallpaper_delegate() { |
return user_wallpaper_delegate_.get(); |
} |
@@ -309,7 +309,10 @@ class ASH_EXPORT Shell : aura::CursorDelegate { |
return status_area_widget_; |
} |
- SystemTray* system_tray() const { return system_tray_.get(); } |
+ // Convenience accessor for members of StatusAreaWidget. |
+ // TODO(stevenjb): remove these and move code to StatusAreaWidget instead. |
+ SystemTrayDelegate* tray_delegate(); |
+ SystemTray* system_tray(); |
sadrul
2012/06/12 15:13:39
I feel like it's reasonable to make these accessib
stevenjb
2012/06/12 16:46:50
TODO removed (for now anyway). I'd kind of prefer
|
// Returns the size of the grid. |
int GetGridSize() const; |
@@ -389,7 +392,6 @@ class ASH_EXPORT Shell : aura::CursorDelegate { |
#endif // !defined(OS_MACOSX) |
scoped_ptr<ShellDelegate> delegate_; |
- scoped_ptr<SystemTrayDelegate> tray_delegate_; |
scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
scoped_ptr<Launcher> launcher_; |
@@ -468,9 +470,6 @@ class ASH_EXPORT Shell : aura::CursorDelegate { |
// Widget containing system tray. |
internal::StatusAreaWidget* status_area_widget_; |
- // System tray with clock, Wi-Fi signal, etc. |
- scoped_ptr<SystemTray> system_tray_; |
- |
// Used by ash/shell. |
content::BrowserContext* browser_context_; |