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