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

Unified Diff: ash/shell.h

Issue 10535112: Prepare status area to support multiple trays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 months 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
« no previous file with comments | « ash/focus_cycler_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index abc7612b8d3923f6dc58d08005f74e9a7669e9ac..c178cbf5cc8aecf74a6ec732713f41784352e656 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_;
« no previous file with comments | « ash/focus_cycler_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698