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

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: Rebase 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 3c098f36d688013a58803019f77a363ff62ca790..6153984b586d0cb0d40aff72456aab4fe94b02f9 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
@@ -112,16 +112,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