Index: public/platform/WebScreenOrientation.h |
diff --git a/public/platform/WebScreenOrientation.h b/public/platform/WebScreenOrientation.h |
index ed9684c8fc15c6139b7e8992ccfd9565ee836c5a..dc88b8b29b050554f1c98f7ab56097f46cbec3e5 100644 |
--- a/public/platform/WebScreenOrientation.h |
+++ b/public/platform/WebScreenOrientation.h |
@@ -5,14 +5,12 @@ |
#ifndef WebScreenOrientation_h |
#define WebScreenOrientation_h |
-namespace blink { |
+// FIXME: this file should be removed as soon as Chrome will no longer depends on it. |
+ |
+#include "WebScreenOrientationType.h" |
+#define WebScreenOrientation WebScreenOrientationType |
-enum WebScreenOrientation { |
- WebScreenOrientationPortraitPrimary = 1, |
- WebScreenOrientationLandscapePrimary = 1 << 1, |
- WebScreenOrientationPortraitSecondary = 1 << 2, |
- WebScreenOrientationLandscapeSecondary = 1 << 3, |
-}; |
+namespace blink { |
typedef unsigned char WebScreenOrientations; |