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

Unified Diff: ash/wm/maximize_mode/maximize_mode_controller_unittest.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback 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
Index: ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
index 759f53a0e65e699b9af42f5e6afc5587d7e8be41..64c0357824182e698e34df9c5aaa0d9cd2049587 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
@@ -12,7 +12,6 @@
#include "ash/common/system/tray/system_tray_delegate.h"
#include "ash/common/test/test_system_tray_delegate.h"
#include "ash/common/wm/overview/window_selector_controller.h"
-#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "base/command_line.h"
@@ -483,10 +482,10 @@ TEST_F(MaximizeModeControllerTest, DisplayDisconnectionDuringOverview) {
ASSERT_NE(w1->GetRootWindow(), w2->GetRootWindow());
maximize_mode_controller()->EnableMaximizeModeWindowManager(true);
- EXPECT_TRUE(WmShell::Get()->window_selector_controller()->ToggleOverview());
+ EXPECT_TRUE(Shell::Get()->window_selector_controller()->ToggleOverview());
UpdateDisplay("800x600");
- EXPECT_FALSE(WmShell::Get()->window_selector_controller()->IsSelecting());
+ EXPECT_FALSE(Shell::Get()->window_selector_controller()->IsSelecting());
EXPECT_EQ(w1->GetRootWindow(), w2->GetRootWindow());
}
« no previous file with comments | « ash/wm/gestures/overview_gesture_handler_unittest.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698