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

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

Issue 1363023005: Implement FullScreen using top layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1f497748cd34e6c686b07245f8c8415060230ab6 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,9 @@ public:
DECLARE_VIRTUAL_TRACE();
+ using ElementStack = WillBeHeapVector<std::pair<RefPtrWillBeMember<Element>, RequestType>>;
+ const ElementStack& fullScreenElementStack() const { return m_fullScreenElementStack; }
+
private:
static Fullscreen* fromIfExistsSlow(Document&);
@@ -110,8 +110,7 @@ private:
void eventQueueTimerFired(Timer<Fullscreen>*);
RefPtrWillBeMember<Element> m_fullScreenElement;
- WillBeHeapVector<std::pair<RefPtrWillBeMember<Element>, RequestType>> m_fullScreenElementStack;
- LayoutFullScreen* m_fullScreenLayoutObject;
+ ElementStack m_fullScreenElementStack;
Timer<Fullscreen> m_eventQueueTimer;
WillBeHeapDeque<RefPtrWillBeMember<Event>> m_eventQueue;
LayoutRect m_savedPlaceholderFrameRect;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698