summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/platform/PlatformScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/PlatformScreen.h')
-rw-r--r--chromium/third_party/WebKit/Source/platform/PlatformScreen.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/PlatformScreen.h b/chromium/third_party/WebKit/Source/platform/PlatformScreen.h
index 9dc083a215c..5408e4b2144 100644
--- a/chromium/third_party/WebKit/Source/platform/PlatformScreen.h
+++ b/chromium/third_party/WebKit/Source/platform/PlatformScreen.h
@@ -27,11 +27,10 @@
#define PlatformScreen_h
#include "platform/geometry/FloatRect.h"
+#include "public/platform/WebScreenOrientationType.h"
#include "wtf/Forward.h"
#include "wtf/RefPtr.h"
-typedef uint32_t PlatformDisplayID;
-
typedef WTF::Vector<char> ColorProfile;
namespace WebCore {
@@ -47,6 +46,9 @@ PLATFORM_EXPORT FloatRect screenRect(Widget*);
PLATFORM_EXPORT FloatRect screenAvailableRect(Widget*);
PLATFORM_EXPORT void screenColorProfile(ColorProfile&);
+PLATFORM_EXPORT uint16_t screenOrientationAngle(Widget*);
+PLATFORM_EXPORT blink::WebScreenOrientationType screenOrientationType(Widget*);
+
} // namespace WebCore
#endif // PlatformScreen_h