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

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

Issue 2495423004: Convert FullscreenController to use WebCallbacks (Closed)
Patch Set: public/WebFullscreenCallbacks->core/FullscreenCallbacks Created 4 years 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
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 379e1f3e25ed2914b9c5be0401ad7f7d3d89f411..cbe62abd5c7796dfdfaacbfc50e62c52377bac5b 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.h
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.h
@@ -92,7 +92,6 @@ class CORE_EXPORT Fullscreen final
: nullptr;
}
- void didEnterFullscreenForElement(Element*);
void didExitFullscreen();
void setFullScreenLayoutObject(LayoutFullScreen*);
@@ -123,12 +122,16 @@ class CORE_EXPORT Fullscreen final
DECLARE_VIRTUAL_TRACE();
private:
+ friend class RequestFullscreenCallbacks;
+
static Fullscreen* fromIfExistsSlow(Document&);
explicit Fullscreen(Document&);
Document* document();
+ void didEnterFullscreen(Element&);
+
void clearFullscreenElementStack();
void popFullscreenElementStack();
void pushFullscreenElementStack(Element&, RequestType);

Powered by Google App Engine
This is Rietveld 408576698