Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Fullscreen.h |
| diff --git a/third_party/WebKit/Source/core/dom/Fullscreen.h b/third_party/WebKit/Source/core/dom/Fullscreen.h |
| index 8e8a8639599dcab5fb172f6a40c6c99a23332d2b..f03664563e205ee72466e4016deef3c0155ffda1 100644 |
| --- a/third_party/WebKit/Source/core/dom/Fullscreen.h |
| +++ b/third_party/WebKit/Source/core/dom/Fullscreen.h |
| @@ -41,7 +41,6 @@ |
| namespace blink { |
| -class LayoutFullScreen; |
| class ComputedStyle; |
| class CORE_EXPORT Fullscreen final |
| @@ -78,9 +77,7 @@ public: |
| void didEnterFullScreenForElement(Element*); |
| void didExitFullScreenForElement(Element*); |
| - void setFullScreenLayoutObject(LayoutFullScreen*); |
| - LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayoutObject; } |
| - void fullScreenLayoutObjectDestroyed(); |
| + void didUpdateSize(Element&); |
| void elementRemoved(Element&); |
| @@ -94,6 +91,8 @@ public: |
| DECLARE_VIRTUAL_TRACE(); |
| + const WillBeHeapVector<std::pair<RefPtrWillBeMember<Element>, RequestType>>& fullScreenElementStack() const { return m_fullScreenElementStack; } |
|
esprehn
2015/10/09 10:34:00
You might do something like:
using ElementStack =
dsinclair
2015/10/13 15:50:43
Done.
|
| + |
| private: |
| static Fullscreen* fromIfExistsSlow(Document&); |
| @@ -111,7 +110,6 @@ private: |
| RefPtrWillBeMember<Element> m_fullScreenElement; |
| WillBeHeapVector<std::pair<RefPtrWillBeMember<Element>, RequestType>> m_fullScreenElementStack; |
| - LayoutFullScreen* m_fullScreenLayoutObject; |
| Timer<Fullscreen> m_eventQueueTimer; |
| WillBeHeapDeque<RefPtrWillBeMember<Event>> m_eventQueue; |
| LayoutRect m_savedPlaceholderFrameRect; |