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

Unified Diff: public/platform/WebScreenOrientationLockType.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/WebScreenOrientationLockType.h
diff --git a/public/platform/WebScreenOrientationLockType.h b/public/platform/WebScreenOrientationLockType.h
new file mode 100644
index 0000000000000000000000000000000000000000..9225b53d2285a23008ff8256410c8c62bd5c73e4
--- /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 ,
Inactive 2014/03/31 18:52:36 extra space
mlamouri (slow - plz ping) 2014/03/31 19:45:35 Done.
+ WebScreenOrientationLockPortraitSecondary,
+ WebScreenOrientationLockLandscapePrimary,
+ WebScreenOrientationLockLandscapeSecondary,
+ WebScreenOrientationLockAny,
+ WebScreenOrientationLockLandscape,
+ WebScreenOrientationLockPortrait
+};
+
+} // namespace blink
+
+#endif // WebScreenOrientationLockType_h

Powered by Google App Engine
This is Rietveld 408576698