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

Unified Diff: ash/shelf/shelf_layout_manager_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_unittest.cc ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager_unittest.cc
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
index e227b6db74321bf73e9c569633b20061eb246bae..0f67f728e08f88ee6553968b3090ea88b9bea88a 100644
--- a/ash/shelf/shelf_layout_manager_unittest.cc
+++ b/ash/shelf/shelf_layout_manager_unittest.cc
@@ -293,14 +293,14 @@ class ShelfLayoutManagerTest : public test::AshTestBase {
void LockScreen() {
mojom::SessionInfoPtr info = mojom::SessionInfo::New();
info->state = session_manager::SessionState::LOCKED;
- ash::WmShell::Get()->session_controller()->SetSessionInfo(std::move(info));
+ ash::Shell::Get()->session_controller()->SetSessionInfo(std::move(info));
}
// Turn off the lock screen.
void UnlockScreen() {
mojom::SessionInfoPtr info = mojom::SessionInfo::New();
info->state = session_manager::SessionState::ACTIVE;
- ash::WmShell::Get()->session_controller()->SetSessionInfo(std::move(info));
+ ash::Shell::Get()->session_controller()->SetSessionInfo(std::move(info));
}
int64_t GetPrimaryDisplayId() {
@@ -845,7 +845,7 @@ TEST_F(ShelfLayoutManagerTest, VisibleWhenLoginScreenShowing) {
mojom::SessionInfoPtr info = mojom::SessionInfo::New();
info->state = session_manager::SessionState::LOGIN_PRIMARY;
- ash::WmShell::Get()->session_controller()->SetSessionInfo(std::move(info));
+ ash::Shell::Get()->session_controller()->SetSessionInfo(std::move(info));
EXPECT_EQ(SHELF_VISIBLE, shelf->GetVisibilityState());
EXPECT_EQ(SHELF_BACKGROUND_OVERLAP, GetShelfWidget()->GetBackgroundType());
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698