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

Unified Diff: ash/shell.h

Issue 11017079: Remove Shell::shelf()|status_area_widget()|launcher() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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/screen_ash.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 dbcc2fd70555503dfd99732569a1f805810146c2..4f4586ad2476942d10393a5ad7a945e164b61ef2 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -75,6 +75,7 @@ class SystemTray;
class UserActivityDetector;
class UserWallpaperDelegate;
class VideoDetector;
+class WebNotificationTray;
class WindowCycleController;
namespace internal {
@@ -237,6 +238,10 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate{
// Called when the user logs in.
void OnLoginStateChanged(user::LoginStatus status);
+ // Called when the login status changes.
+ // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|.
+ void UpdateAfterLoginStatusChange(user::LoginStatus status);
+
// Called when the application is exiting.
void OnAppTerminating();
@@ -316,9 +321,6 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate{
return magnification_controller_.get();
}
- // TODO(oshima): Remove methods that are moved to RootWindowController.
- Launcher* launcher();
-
const ScreenAsh* screen() { return screen_.get(); }
// Force the shelf to query for it's current visibility state.
@@ -343,10 +345,8 @@ class ASH_EXPORT Shell : internal::SystemModalContainerEventFilterDelegate{
// on all displays.
void OnModalWindowRemoved(aura::Window* removed);
- // TODO(sky): don't expose this!
- internal::ShelfLayoutManager* shelf() const;
-
- internal::StatusAreaWidget* status_area_widget() const;
+ // Returns WebNotificationTray on the primary root window.
+ WebNotificationTray* GetWebNotificationTray();
// Convenience accessor for members of StatusAreaWidget.
SystemTrayDelegate* tray_delegate();
« no previous file with comments | « ash/screen_ash.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698