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

Unified Diff: ash/rotator/screen_rotation_animator.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/rotator/screen_rotation_animator.h
diff --git a/ash/rotator/screen_rotation_animator.h b/ash/rotator/screen_rotation_animator.h
index 055e755906dc483d95f4da29cc666749d893eb66..88f297cd67f96db8bae438ed0a5e5cef2aee9ae8 100644
--- a/ash/rotator/screen_rotation_animator.h
+++ b/ash/rotator/screen_rotation_animator.h
@@ -18,7 +18,8 @@ class ASH_EXPORT ScreenRotationAnimator {
~ScreenRotationAnimator();
// Rotates |display_| to the |new_rotation| orientation.
tdanderson 2015/04/13 22:44:46 nit: Update documentation here to mention what |so
jonross 2015/04/15 17:43:12 Done.
- void Rotate(gfx::Display::Rotation new_rotation);
+ void Rotate(gfx::Display::Rotation new_rotation,
+ gfx::Display::RotationSource source);
private:
// The id of the display to rotate.

Powered by Google App Engine
This is Rietveld 408576698