| Index: Source/modules/screen_orientation/ScreenOrientation.h
|
| diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h
|
| index 58943495c28b10bbb1d7a781f1f142afb582e84c..5f9d0a83848ed9316d449972dce7c6778afa4572 100644
|
| --- a/Source/modules/screen_orientation/ScreenOrientation.h
|
| +++ b/Source/modules/screen_orientation/ScreenOrientation.h
|
| @@ -8,6 +8,8 @@
|
| #include "core/events/EventTarget.h"
|
| #include "core/frame/DOMWindowProperty.h"
|
| #include "platform/Supplementable.h"
|
| +#include "platform/Timer.h"
|
| +#include "public/platform/WebScreenOrientation.h"
|
| #include "wtf/Vector.h"
|
| #include "wtf/text/AtomicString.h"
|
| #include "wtf/text/WTFString.h"
|
| @@ -31,8 +33,15 @@ public:
|
|
|
| private:
|
| explicit ScreenOrientation(Screen&);
|
| +
|
| + void lockOrientationAsync(blink::WebScreenOrientations);
|
| + void orientationLockTimerFired(Timer<ScreenOrientation>*);
|
| +
|
| static const char* supplementName();
|
| Document& document() const;
|
| +
|
| + Timer<ScreenOrientation> m_orientationLockTimer;
|
| + blink::WebScreenOrientations m_lockedOrientations;
|
| };
|
|
|
| } // namespace WebCore
|
|
|