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

Unified Diff: ash/root_window_controller_unittest.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/root_window_controller.cc ('k') | ash/shelf/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller_unittest.cc
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
index cdcfc0ace62f05546e2d6855c515c44c733d1e8e..c6e08ca39728ebf01015e515906660525895f117 100644
--- a/ash/root_window_controller_unittest.cc
+++ b/ash/root_window_controller_unittest.cc
@@ -397,7 +397,7 @@ TEST_F(RootWindowControllerTest, ModalContainer) {
controller->GetSystemModalLayoutManager(
WmWindow::Get(session_modal_widget->GetNativeWindow())));
- wm_shell->session_controller()->LockScreenAndFlushForTest();
+ Shell::Get()->session_controller()->LockScreenAndFlushForTest();
EXPECT_EQ(LoginStatus::LOCKED,
Shell::Get()->system_tray_delegate()->GetUserLoginStatus());
EXPECT_EQ(
@@ -423,7 +423,7 @@ TEST_F(RootWindowControllerTest, ModalContainerNotLoggedInLoggedIn) {
UpdateDisplay("600x600");
// Configure login screen environment.
- SessionController* session_controller = WmShell::Get()->session_controller();
+ SessionController* session_controller = Shell::Get()->session_controller();
SetUserLoggedIn(false);
EXPECT_EQ(LoginStatus::NOT_LOGGED_IN,
Shell::Get()->system_tray_delegate()->GetUserLoginStatus());
@@ -1004,7 +1004,7 @@ TEST_F(VirtualKeyboardRootWindowControllerTest, RestoreWorkspaceAfterLogin) {
// Mock a login user profile change to reinitialize the keyboard.
mojom::SessionInfoPtr info = mojom::SessionInfo::New();
info->state = session_manager::SessionState::ACTIVE;
- WmShell::Get()->session_controller()->SetSessionInfo(std::move(info));
+ Shell::Get()->session_controller()->SetSessionInfo(std::move(info));
EXPECT_EQ(display::Screen::GetScreen()->GetPrimaryDisplay().work_area(),
before);
}
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shelf/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698