| Index: content/common/screen_orientation_utils.h
|
| diff --git a/content/common/screen_orientation_utils.h b/content/common/screen_orientation_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..764e12eeda5a112d0377dad944380748a309b085
|
| --- /dev/null
|
| +++ b/content/common/screen_orientation_utils.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 CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_UTILS_H_
|
| +#define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_UTILS_H_
|
| +
|
| +#include "content/public/common/screen_orientation.mojom.h"
|
| +#include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
|
| +
|
| +namespace content {
|
| +
|
| +ScreenOrientationLockType
|
| + WebScreenOrientationLockTypeToScreenOrientationLockType(
|
| + blink::WebScreenOrientationLockType orientation);
|
| +
|
| +blink::WebScreenOrientationLockType
|
| + ScreenOrientationLockTypeToWebScreenOrientationLockType(
|
| + ScreenOrientationLockType orientation);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_UTILS_H_
|
|
|