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

Unified Diff: ash/shell_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/shell/window_watcher.cc ('k') | ash/system/chromeos/power/power_event_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_unittest.cc
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index a505fee36283e9e75c25441b5cab11d787f0ebe8..76e85289ef98b70ee6ef5c0b095246c707f53dce 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -164,7 +164,7 @@ class ShellTest : public test::AshTestBase {
// Create a LockScreen window.
views::Widget::InitParams widget_params(
views::Widget::InitParams::TYPE_WINDOW);
- SessionController* controller = WmShell::Get()->session_controller();
+ SessionController* controller = Shell::Get()->session_controller();
controller->LockScreenAndFlushForTest();
views::Widget* lock_widget = CreateTestWindow(widget_params);
Shell::GetContainer(Shell::GetPrimaryRootWindow(),
@@ -278,7 +278,7 @@ TEST_F(ShellTest, CreateLockScreenModalWindow) {
EXPECT_TRUE(
GetDefaultContainer()->Contains(widget->GetNativeWindow()->parent()));
- WmShell::Get()->session_controller()->LockScreenAndFlushForTest();
+ Shell::Get()->session_controller()->LockScreenAndFlushForTest();
// Create a LockScreen window.
views::Widget* lock_widget = CreateTestWindow(widget_params);
Shell::GetContainer(Shell::GetPrimaryRootWindow(),
@@ -335,7 +335,7 @@ TEST_F(ShellTest, CreateLockScreenModalWindow) {
}
TEST_F(ShellTest, IsScreenLocked) {
- SessionController* controller = WmShell::Get()->session_controller();
+ SessionController* controller = Shell::Get()->session_controller();
controller->LockScreenAndFlushForTest();
EXPECT_TRUE(controller->IsScreenLocked());
GetSessionControllerClient()->UnlockScreen();
« no previous file with comments | « ash/shell/window_watcher.cc ('k') | ash/system/chromeos/power/power_event_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698