Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: public/platform/WebScreenOrientationType.h

Issue 219463003: Screen Orientation API: cleanup, simplify and fix implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/platform/WebScreenOrientationType.h
diff --git a/public/platform/WebScreenOrientationType.h b/public/platform/WebScreenOrientationType.h
new file mode 100644
index 0000000000000000000000000000000000000000..be13386016d2f81444be6ce3a8299398f22251de
--- /dev/null
+++ b/public/platform/WebScreenOrientationType.h
@@ -0,0 +1,19 @@
+// 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 WebScreenOrientationType_h
+#define WebScreenOrientationType_h
+
+namespace blink {
+
+enum WebScreenOrientationType {
+ WebScreenOrientationPortraitPrimary = 1,
+ WebScreenOrientationPortraitSecondary,
+ WebScreenOrientationLandscapePrimary,
+ WebScreenOrientationLandscapeSecondary
+};
+
+} // namespace blink
+
+#endif // WebScreenOrientationType_h
« public/platform/WebScreenOrientation.h ('K') | « public/platform/WebScreenOrientationLockType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698