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

Unified Diff: ash/wm/overview/window_selector_unittest.cc

Issue 2169533002: mash: Migrate shelf app list button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/test/shell_test_api.cc ('k') | ash/wm/window_cycle_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector_unittest.cc
diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc
index 9eb100978e97bea9767db8812cb2473fe32d58e4..b30fd27a0f65cc2c7fdf7175751575cf649a28b7 100644
--- a/ash/wm/overview/window_selector_unittest.cc
+++ b/ash/wm/overview/window_selector_unittest.cc
@@ -1213,10 +1213,10 @@ TEST_P(WindowSelectorTest, SelectingHidesAppList) {
gfx::Rect bounds(0, 0, 400, 400);
std::unique_ptr<aura::Window> window1(CreateWindow(bounds));
std::unique_ptr<aura::Window> window2(CreateWindow(bounds));
- Shell::GetInstance()->ShowAppList(nullptr);
- EXPECT_TRUE(Shell::GetInstance()->GetAppListTargetVisibility());
+ WmShell::Get()->ShowAppList();
+ EXPECT_TRUE(WmShell::Get()->GetAppListTargetVisibility());
ToggleOverview();
- EXPECT_FALSE(Shell::GetInstance()->GetAppListTargetVisibility());
+ EXPECT_FALSE(WmShell::Get()->GetAppListTargetVisibility());
ToggleOverview();
}
« no previous file with comments | « ash/test/shell_test_api.cc ('k') | ash/wm/window_cycle_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698