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

Unified Diff: ash/shell.h

Issue 11476033: [Launcher per display] Removed Shell::status_area_widget(), system_tray() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 5ba1df6fa8065db83541b6f7f45101395a35bd55..46b6447165a57fb6f557599788c3fdf4672cb421 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -161,9 +161,11 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate,
static void DeleteInstance();
// Returns the root window controller for the primary root window.
+ // TODO(oshima): move this to |RootWindowController|
static internal::RootWindowController* GetPrimaryRootWindowController();
// Returns all root window controllers.
+ // TODO(oshima): move this to |RootWindowController|
static RootWindowControllerList GetAllRootWindowControllers();
// Returns the primary RootWindow. The primary RootWindow is the one
@@ -371,13 +373,11 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate,
// Returns WebNotificationTray on the primary root window.
WebNotificationTray* GetWebNotificationTray();
- // Convenience accessor for members of StatusAreaWidget.
- // NOTE: status_area_widget() may return NULL during shutdown;
- // tray_delegate() and system_tray() will crash if called after
- // status_area_widget() has been destroyed; check status_area_widget()
- // before calling these in destructors.
- internal::StatusAreaWidget* status_area_widget();
- SystemTray* system_tray();
+ // Does the primary display have status area?
+ bool HasPrimaryStatusArea();
+
+ // Returns the system tray on primary display.
+ SystemTray* GetPrimarySystemTray();
// TODO(stevenjb): Rename to system_tray_delegate().
SystemTrayDelegate* tray_delegate() {
« ash/root_window_controller.cc ('K') | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698