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

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

Issue 2107233002: Reland "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new untested DCHECK Created 4 years, 5 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 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;
« 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