X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fgfx%2Fandroid%2Fdevice_display_info.h;h=74e0ada487507f05d3a5f8f8a9e6374eebf39654;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=2c6db28df1fb4d39cb9605457a6f2035690af8d2;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/gfx/android/device_display_info.h b/src/ui/gfx/android/device_display_info.h index 2c6db28..74e0ada 100644 --- a/src/ui/gfx/android/device_display_info.h +++ b/src/ui/gfx/android/device_display_info.h @@ -51,6 +51,11 @@ class GFX_EXPORT DeviceDisplayInfo { // Smallest possible screen size in density-independent pixels. int GetSmallestDIPWidth(); + // Returns the display rotation angle from its natural orientation. Expected + // values are one of { 0, 90, 180, 270 }. + // See DeviceDispayInfo.java for more information. + int GetRotationDegrees(); + private: DISALLOW_COPY_AND_ASSIGN(DeviceDisplayInfo); };