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

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

Issue 1410833004: Revert "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 1f497748cd34e6c686b07245f8c8415060230ab6..8e8a8639599dcab5fb172f6a40c6c99a23332d2b 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.h
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.h
@@ -41,6 +41,7 @@
namespace blink {
+class LayoutFullScreen;
class ComputedStyle;
class CORE_EXPORT Fullscreen final
@@ -77,7 +78,9 @@ public:
void didEnterFullScreenForElement(Element*);
void didExitFullScreenForElement(Element*);
- void didUpdateSize(Element&);
+ void setFullScreenLayoutObject(LayoutFullScreen*);
+ LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayoutObject; }
+ void fullScreenLayoutObjectDestroyed();
void elementRemoved(Element&);
@@ -91,9 +94,6 @@ 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,7 +110,8 @@ private:
void eventQueueTimerFired(Timer<Fullscreen>*);
RefPtrWillBeMember<Element> m_fullScreenElement;
- ElementStack m_fullScreenElementStack;
+ 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 | « 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