Index: Source/modules/screen_orientation/ScreenOrientationController.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.h b/Source/modules/screen_orientation/ScreenOrientationController.h |
index 6b886427ef9e2e840a46cffc8319980d4c76dfcc..f77d1bc21695efb6b65f5f68bd546cfe8753a084 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientationController.h |
+++ b/Source/modules/screen_orientation/ScreenOrientationController.h |
@@ -36,9 +36,6 @@ |
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(); |
@@ -48,7 +45,7 @@ |
private: |
ScreenOrientationController(LocalFrame&, WebScreenOrientationClient*); |
- static WebScreenOrientationType computeOrientation(const IntRect&, uint16_t); |
+ static WebScreenOrientationType computeOrientation(ChromeClient&); |
// Inherited from PlatformEventController. |
virtual void didUpdateData() override; |
@@ -59,9 +56,6 @@ |
// Inherited from LocalFrameLifecycleObserver. |
virtual void willDetachFrameHost() override; |
- |
- unsigned short effectiveAngle(ChromeClient&); |
- WebScreenOrientationType effectiveType(ChromeClient&); |
void notifyDispatcher(); |
@@ -74,9 +68,6 @@ |
PersistentWillBeMember<ScreenOrientation> m_orientation; |
WebScreenOrientationClient* m_client; |
Timer<ScreenOrientationController> m_dispatchEventTimer; |
- bool m_override; |
- WebScreenOrientationType m_overrideType; |
- unsigned short m_overrideAngle; |
}; |
} // namespace blink |