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

Unified Diff: ash/display/display_manager.h

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/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index 092d2b002961288a666af8254c5029df6edf93e5..1643ce864790583cb24e179f351a09f2f1133305 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -152,7 +152,9 @@ class ASH_EXPORT DisplayManager
void SetOverscanInsets(int64 display_id, const gfx::Insets& insets_in_dip);
// Sets the display's rotation.
- void SetDisplayRotation(int64 display_id, gfx::Display::Rotation rotation);
+ void SetDisplayRotation(int64 display_id,
+ gfx::Display::Rotation rotation,
+ gfx::Display::RotationSource source);
// Sets the display's ui scale. Returns true if it's successful, or
// false otherwise. TODO(mukai): remove this and merge into

Powered by Google App Engine
This is Rietveld 408576698