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

Unified Diff: ash/common/system/overview/overview_button_tray.cc

Issue 2761373002: Move yet more from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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/common/system/date/date_default_view.cc ('k') | ash/common/system/tiles/tiles_default_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/overview/overview_button_tray.cc
diff --git a/ash/common/system/overview/overview_button_tray.cc b/ash/common/system/overview/overview_button_tray.cc
index a323d40641233f14e999f035ba02a5ee0046005c..d642efe8a971141022091874d4c611162cc98eb6 100644
--- a/ash/common/system/overview/overview_button_tray.cc
+++ b/ash/common/system/overview/overview_button_tray.cc
@@ -34,12 +34,12 @@ OverviewButtonTray::OverviewButtonTray(WmShelf* wm_shelf)
set_separator_visibility(false);
Shell::GetInstance()->AddShellObserver(this);
- WmShell::Get()->session_controller()->AddSessionStateObserver(this);
+ Shell::Get()->session_controller()->AddSessionStateObserver(this);
}
OverviewButtonTray::~OverviewButtonTray() {
Shell::GetInstance()->RemoveShellObserver(this);
- WmShell::Get()->session_controller()->RemoveSessionStateObserver(this);
+ Shell::Get()->session_controller()->RemoveSessionStateObserver(this);
}
void OverviewButtonTray::UpdateAfterLoginStatusChange(LoginStatus status) {
@@ -109,7 +109,7 @@ void OverviewButtonTray::UpdateIconVisibility() {
// WindowSelectorController::CanSelect. The visibility of the button should
// not change during transient times in which CanSelect is false. Such as when
// a modal dialog is present.
- SessionController* session_controller = WmShell::Get()->session_controller();
+ SessionController* session_controller = Shell::Get()->session_controller();
Shell* shell = Shell::Get();
SetVisible(
« no previous file with comments | « ash/common/system/date/date_default_view.cc ('k') | ash/common/system/tiles/tiles_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698