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

Unified Diff: ash/root_window_controller.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/mus/test/wm_test_base.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index df24833159ca7d7e795b3753155a35ba8e7e23f5..6ba028a3fd122aa41e534c4abf0d679e01904e21 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -399,7 +399,7 @@ RootWindowController::GetSystemModalLayoutManager(WmWindow* window) {
}
} else {
int modal_window_id =
- WmShell::Get()->session_controller()->IsUserSessionBlocked()
+ Shell::Get()->session_controller()->IsUserSessionBlocked()
? kShellWindowId_LockSystemModalContainer
: kShellWindowId_SystemModalContainer;
modal_container = GetWmContainer(modal_window_id);
@@ -433,7 +433,7 @@ bool RootWindowController::CanWindowReceiveEvents(aura::Window* window) {
aura::Window* blocking_container = nullptr;
int modal_container_id = 0;
- if (WmShell::Get()->session_controller()->IsUserSessionBlocked()) {
+ if (Shell::Get()->session_controller()->IsUserSessionBlocked()) {
blocking_container =
GetContainer(kShellWindowId_LockScreenContainersContainer);
modal_container_id = kShellWindowId_LockSystemModalContainer;
@@ -778,7 +778,7 @@ void RootWindowController::Init(RootWindowType root_window_type) {
window_tree_host_->Show();
// Create a shelf if a user is already logged in.
- if (wm_shell->session_controller()->NumberOfLoggedInUsers())
+ if (shell->session_controller()->NumberOfLoggedInUsers())
CreateShelfView();
// Notify shell observers about new root window.
« no previous file with comments | « ash/mus/test/wm_test_base.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698