Index: public/platform/WebScreenOrientationLockType.h |
diff --git a/public/platform/WebScreenOrientationLockType.h b/public/platform/WebScreenOrientationLockType.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..43e47b51128c55e3d206f15a67e9aaf716943b63 |
--- /dev/null |
+++ b/public/platform/WebScreenOrientationLockType.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebScreenOrientationLockType_h |
+#define WebScreenOrientationLockType_h |
+ |
+namespace blink { |
+ |
+enum WebScreenOrientationLockType { |
+ WebScreenOrientationLockDefault = 0, // Equivalent to unlock. |
+ WebScreenOrientationLockPortraitPrimary, |
+ WebScreenOrientationLockPortraitSecondary, |
+ WebScreenOrientationLockLandscapePrimary, |
+ WebScreenOrientationLockLandscapeSecondary, |
+ WebScreenOrientationLockAny, |
+ WebScreenOrientationLockLandscape, |
+ WebScreenOrientationLockPortrait |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebScreenOrientationLockType_h |