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

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

Issue 1071353003: Prevent DisplayPreferences from saving incorrect rotations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 d4096f492c3fa55ed9d093b0c969d78acea4ccc8..847e71a27d05ebed204ebc1ff33b561932163b2a 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
@@ -162,16 +162,6 @@ class MaximizeModeControllerTest : public test::AshTestBase {
return maximize_mode_controller()->IsMaximizeModeWindowManagerEnabled();
}
- gfx::Display::Rotation GetInternalDisplayRotation() const {
jonross 2015/04/10 17:54:43 No longer used. Their removal was missed in a diff
- return Shell::GetInstance()->display_manager()->GetDisplayInfo(
- gfx::Display::InternalDisplayId()).rotation();
- }
-
- void SetInternalDisplayRotation(gfx::Display::Rotation rotation) const {
- Shell::GetInstance()->display_manager()->
- SetDisplayRotation(gfx::Display::InternalDisplayId(), rotation);
- }
-
// Attaches a SimpleTestTickClock to the MaximizeModeController with a non
// null value initial value.
void AttachTickClockForTest() {

Powered by Google App Engine
This is Rietveld 408576698