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

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

Issue 1107383002: Merge Prevent DisplayPreferences from saving incorrect rotations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2357
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
« no previous file with comments | « ash/wm/lock_layout_manager_unittest.cc ('k') | chrome/browser/chromeos/display/display_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
- 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() {
« no previous file with comments | « ash/wm/lock_layout_manager_unittest.cc ('k') | chrome/browser/chromeos/display/display_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698