| Index: Source/modules/screen_orientation/ScreenOrientationController.h
|
| diff --git a/Source/modules/screen_orientation/ScreenOrientationController.h b/Source/modules/screen_orientation/ScreenOrientationController.h
|
| index 81d24fdc4747aa3df50a9cd735363c9d6de367b1..5bc56f45f991c8450fbd150323310d990e5c08ec 100644
|
| --- a/Source/modules/screen_orientation/ScreenOrientationController.h
|
| +++ b/Source/modules/screen_orientation/ScreenOrientationController.h
|
| @@ -10,16 +10,14 @@
|
|
|
| namespace WebCore {
|
|
|
| +class FrameView;
|
| +
|
| class ScreenOrientationController FINAL : public NoBaseWillBeGarbageCollected<ScreenOrientationController>, public DocumentSupplement {
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ScreenOrientationController);
|
| public:
|
| -#if !ENABLE(OILPAN)
|
| virtual ~ScreenOrientationController();
|
| -#endif
|
| -
|
| - void didChangeScreenOrientation(blink::WebScreenOrientationType);
|
|
|
| - blink::WebScreenOrientationType orientation() const { return m_orientation; }
|
| + blink::WebScreenOrientationType orientation() const;
|
|
|
| // DocumentSupplement API.
|
| static ScreenOrientationController& from(Document&);
|
| @@ -27,11 +25,9 @@ public:
|
|
|
| private:
|
| explicit ScreenOrientationController(Document&);
|
| -
|
| - void dispatchOrientationChangeEvent();
|
| + static blink::WebScreenOrientationType computeOrientation(FrameView*);
|
|
|
| Document& m_document;
|
| - blink::WebScreenOrientationType m_orientation;
|
| };
|
|
|
| } // namespace WebCore
|
|
|