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 b67a4a9490d39a4ee93dbc998fe41baf38ab94ae..9aa7eadac5a3caa9cfcd25ce7c51b107f299f8c2 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 |
@@ -81,9 +80,7 @@ public: |
void didEnterFullscreenForElement(Element*); |
void didExitFullscreen(); |
- void setFullScreenLayoutObject(LayoutFullScreen*); |
- LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayoutObject; } |
- void fullScreenLayoutObjectDestroyed(); |
+ void didUpdateSize(Element&); |
void elementRemoved(Element&); |
@@ -100,6 +97,9 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
+ using ElementStack = HeapVector<std::pair<Member<Element>, RequestType>>; |
+ const ElementStack& fullScreenElementStack() const { return m_fullScreenElementStack; } |
+ |
private: |
static Fullscreen* fromIfExistsSlow(Document&); |
@@ -117,7 +117,6 @@ private: |
Member<Element> m_fullScreenElement; |
HeapVector<std::pair<Member<Element>, RequestType>> m_fullScreenElementStack; |
- LayoutFullScreen* m_fullScreenLayoutObject; |
Timer<Fullscreen> m_eventQueueTimer; |
HeapDeque<Member<Event>> m_eventQueue; |
LayoutRect m_savedPlaceholderFrameRect; |