summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shell.h')
-rw-r--r--ash/shell.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/ash/shell.h b/ash/shell.h
index abc7612..c178cbf 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -270,7 +270,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();
}
@@ -308,7 +308,9 @@ class ASH_EXPORT Shell : aura::CursorDelegate {
return status_area_widget_;
}
- SystemTray* system_tray() const { return system_tray_.get(); }
+ // Convenience accessor for members of StatusAreaWidget.
+ SystemTrayDelegate* tray_delegate();
+ SystemTray* system_tray();
// Returns the size of the grid.
int GetGridSize() const;
@@ -388,7 +390,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_;
@@ -467,9 +468,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_;