Chromium Code Reviews| 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 |