| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebLockOrientationError_h | 5 #ifndef WebLockOrientationError_h |
| 6 #define WebLockOrientationError_h | 6 #define WebLockOrientationError_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 enum WebLockOrientationError { | 10 enum WebLockOrientationError { |
| 11 // If locking isn't available on the platform. | 11 // If locking isn't available on the platform. |
| 12 WebLockOrientationErrorNotAvailable, | 12 WebLockOrientationErrorNotAvailable, |
| 13 | 13 |
| 14 // If fullscreen is required to lock. | 14 // If fullscreen is required to lock. |
| 15 WebLockOrientationErrorFullScreenRequired, | 15 WebLockOrientationErrorFullScreenRequired, |
| 16 | 16 |
| 17 // If another lock/unlock got called before that one ended. | 17 // If another lock/unlock got called before that one ended. |
| 18 WebLockOrientationErrorCanceled, | 18 WebLockOrientationErrorCanceled, |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace blink | 21 } // namespace blink |
| 22 | 22 |
| 23 #endif // WebLockOrientationError_h | 23 #endif // WebLockOrientationError_h |
| OLD | NEW |