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

Unified Diff: trunk/public/platform/WebLockOrientationError.h

Issue 1150033011: Revert 196331 "Move screen_orientation public headers to module ..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 5 years, 7 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: trunk/public/platform/WebLockOrientationError.h
===================================================================
--- trunk/public/platform/WebLockOrientationError.h (revision 196345)
+++ trunk/public/platform/WebLockOrientationError.h (working copy)
@@ -2,4 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "public/platform/modules/screen_orientation/WebLockOrientationError.h"
+#ifndef WebLockOrientationError_h
+#define WebLockOrientationError_h
+
+namespace blink {
+
+enum WebLockOrientationError {
+ // If locking isn't available on the platform.
+ WebLockOrientationErrorNotAvailable,
+
+ // If fullscreen is required to lock.
+ WebLockOrientationErrorFullScreenRequired,
+
+ // If another lock/unlock got called before that one ended.
+ WebLockOrientationErrorCanceled,
+};
+
+} // namespace blink
+
+#endif // WebLockOrientationError_h
« no previous file with comments | « trunk/public/platform/WebLockOrientationCallback.h ('k') | trunk/public/platform/WebScreenOrientationClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698