Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Unified Diff: Source/core/dom/Fullscreen.h

Issue 1139033006: Implement FullScreen using top layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Fullscreen.h
diff --git a/Source/core/dom/Fullscreen.h b/Source/core/dom/Fullscreen.h
index 8e8a8639599dcab5fb172f6a40c6c99a23332d2b..5ae575125598ebdccb8dd23caf3d13fa9ec896ad 100644
--- a/Source/core/dom/Fullscreen.h
+++ b/Source/core/dom/Fullscreen.h
@@ -41,7 +41,6 @@
namespace blink {
-class LayoutFullScreen;
class ComputedStyle;
class CORE_EXPORT Fullscreen final
@@ -78,10 +77,6 @@ public:
void didEnterFullScreenForElement(Element*);
void didExitFullScreenForElement(Element*);
- void setFullScreenLayoutObject(LayoutFullScreen*);
- LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayoutObject; }
- void fullScreenLayoutObjectDestroyed();
-
void elementRemoved(Element&);
// Mozilla API
@@ -94,6 +89,8 @@ public:
DECLARE_VIRTUAL_TRACE();
+ const WillBeHeapVector<std::pair<RefPtrWillBeMember<Element>, RequestType>>& fullScreenElementStack() { return m_fullScreenElementStack; }
+
private:
static Fullscreen* fromIfExistsSlow(Document&);
@@ -111,7 +108,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;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698