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

Unified Diff: ash/system/chromeos/screen_layout_observer.cc

Issue 2761063002: Move 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/shell.cc ('k') | ash/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/screen_layout_observer.cc
diff --git a/ash/system/chromeos/screen_layout_observer.cc b/ash/system/chromeos/screen_layout_observer.cc
index 1110c769928c0c820973ab7daa99a805b91c97a5..92157c46b57cfce00438c82049c25b943413e16b 100644
--- a/ash/system/chromeos/screen_layout_observer.cc
+++ b/ash/system/chromeos/screen_layout_observer.cc
@@ -68,7 +68,7 @@ base::string16 GetDisplaySize(int64_t display_id) {
bool OpenSettings() {
// switch is intentionally introduced without default, to cause an error when
// a new type of login status is introduced.
- switch (WmShell::Get()->system_tray_delegate()->GetUserLoginStatus()) {
+ switch (Shell::Get()->system_tray_delegate()->GetUserLoginStatus()) {
case LoginStatus::NOT_LOGGED_IN:
case LoginStatus::LOCKED:
return false;
@@ -80,9 +80,9 @@ bool OpenSettings() {
case LoginStatus::SUPERVISED:
case LoginStatus::KIOSK_APP:
case LoginStatus::ARC_KIOSK_APP:
- SystemTrayDelegate* delegate = WmShell::Get()->system_tray_delegate();
+ SystemTrayDelegate* delegate = Shell::Get()->system_tray_delegate();
if (delegate->ShouldShowSettings()) {
- WmShell::Get()->system_tray_controller()->ShowDisplaySettings();
+ Shell::Get()->system_tray_controller()->ShowDisplaySettings();
return true;
}
break;
« no previous file with comments | « ash/shell.cc ('k') | ash/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698