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

Unified Diff: ash/system/overview/overview_button_tray_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/system/chromeos/power/video_activity_notifier.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/overview/overview_button_tray_unittest.cc
diff --git a/ash/system/overview/overview_button_tray_unittest.cc b/ash/system/overview/overview_button_tray_unittest.cc
index 0fb27633c0b1f4c606a4356d1805b766c5f02ef0..51ab6906008cf83113fef87cf517826b385578bc 100644
--- a/ash/system/overview/overview_button_tray_unittest.cc
+++ b/ash/system/overview/overview_button_tray_unittest.cc
@@ -74,7 +74,7 @@ void OverviewButtonTrayTest::SetUp() {
void OverviewButtonTrayTest::NotifySessionStateChanged() {
GetTray()->SessionStateChanged(
- WmShell::Get()->session_controller()->GetSessionState());
+ Shell::Get()->session_controller()->GetSessionState());
}
// Ensures that creation doesn't cause any crashes and adds the image icon.
@@ -173,11 +173,11 @@ TEST_F(OverviewButtonTrayTest, VisibilityChangesForLoginStatus) {
Shell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
true);
SetUserLoggedIn(false);
- WmShell::Get()->UpdateAfterLoginStatusChange(LoginStatus::NOT_LOGGED_IN);
+ Shell::Get()->UpdateAfterLoginStatusChange(LoginStatus::NOT_LOGGED_IN);
EXPECT_FALSE(GetTray()->visible());
SetUserLoggedIn(true);
SetSessionStarted(true);
- WmShell::Get()->UpdateAfterLoginStatusChange(LoginStatus::USER);
+ Shell::Get()->UpdateAfterLoginStatusChange(LoginStatus::USER);
EXPECT_TRUE(GetTray()->visible());
SetUserAddingScreenRunning(true);
NotifySessionStateChanged();
« no previous file with comments | « ash/system/chromeos/power/video_activity_notifier.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698