Index: ui/display/display.h |
diff --git a/ui/display/display.h b/ui/display/display.h |
index c5290857bb7b34e70f5b3a56ccb4ced85e58bbd9..3dd8ca7acc0b73957454196fc7447679ef072917 100644 |
--- a/ui/display/display.h |
+++ b/ui/display/display.h |
@@ -101,6 +101,8 @@ class DISPLAY_EXPORT Display final { |
float device_scale_factor() const { return device_scale_factor_; } |
void set_device_scale_factor(float scale) { device_scale_factor_ = scale; } |
+ static int RotationAsDegree(Rotation rotation); |
oshima
2017/03/28 12:50:15
Can you rename to RotateToDegree, and move it afte
Dominik Laskowski
2017/03/30 01:17:15
Done.
|
+ |
Rotation rotation() const { return rotation_; } |
void set_rotation(Rotation rotation) { rotation_ = rotation; } |
int RotationAsDegree() const; |