| Index: public/platform/WebLockOrientationError.h
|
| diff --git a/public/platform/WebLockOrientationError.h b/public/platform/WebLockOrientationError.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d0624568d58cc423c18b1e2a7a85f4e86c2a6570
|
| --- /dev/null
|
| +++ b/public/platform/WebLockOrientationError.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 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
|
|
|