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

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

Issue 308683002: Move MaximizeModeWindowManager to the controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 e9d925d729a7d322a761b1709079e1d4b82c07ef..5ee5de1f5e602b6421eee9ccfad5d84036694979 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
@@ -113,7 +113,7 @@ class MaximizeModeControllerTest : public test::AshTestBase {
test::AshTestBase::TearDown();
}
- MaximizeModeController* maximize_mode_controller() {
+ MaximizeModeController* maximize_mode_controller() const {
flackr 2014/05/29 16:10:06 How about const and non-const versions which retur
jonross 2014/05/29 17:40:00 Removed the original const on 1125 to clear the ne
return Shell::GetInstance()->maximize_mode_controller();
}
@@ -123,7 +123,7 @@ class MaximizeModeControllerTest : public test::AshTestBase {
}
bool IsMaximizeModeStarted() const {
- return Shell::GetInstance()->IsMaximizeModeWindowManagerEnabled();
+ return maximize_mode_controller()->IsMaximizeModeWindowManagerEnabled();
}
// Overrides the internal input device list for the current event targeters

Powered by Google App Engine
This is Rietveld 408576698