| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| index 0a519d328f23c2f6e7ee5530d16174aba8ee15dd..4a27fee69b0504a230b8be44fd0e00fbabc0a0ee 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.h
|
| @@ -37,6 +37,9 @@
|
| void lock(WebScreenOrientationLockType, WebLockOrientationCallback*);
|
| void unlock();
|
|
|
| + void setOverride(WebScreenOrientationType, unsigned short angle);
|
| + void clearOverride();
|
| +
|
| static void provideTo(LocalFrame&, WebScreenOrientationClient*);
|
| static ScreenOrientationController* from(LocalFrame&);
|
| static const char* supplementName();
|
| @@ -58,6 +61,9 @@
|
| // Inherited from LocalFrameLifecycleObserver.
|
| void willDetachFrameHost() override;
|
|
|
| + unsigned short effectiveAngle(ChromeClient&);
|
| + WebScreenOrientationType effectiveType(ChromeClient&);
|
| +
|
| void notifyDispatcher();
|
|
|
| void updateOrientation();
|
| @@ -69,6 +75,9 @@
|
| PersistentWillBeMember<ScreenOrientation> m_orientation;
|
| WebScreenOrientationClient* m_client;
|
| Timer<ScreenOrientationController> m_dispatchEventTimer;
|
| + bool m_override;
|
| + WebScreenOrientationType m_overrideType;
|
| + unsigned short m_overrideAngle;
|
| };
|
|
|
| } // namespace blink
|
|
|