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

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

Issue 2340263003: Move Document.fullscreenElement to DocumentOrShadowRoot (Closed)
Patch Set: Update test. Created 4 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
Index: third_party/WebKit/Source/core/dom/DocumentFullscreen.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentFullscreen.h b/third_party/WebKit/Source/core/dom/DocumentFullscreen.h
index 972b45193d6e776db288b3bb5683483350b372d0..226fa3a98a18bef08cbae8c23aad0436645507f0 100644
--- a/third_party/WebKit/Source/core/dom/DocumentFullscreen.h
+++ b/third_party/WebKit/Source/core/dom/DocumentFullscreen.h
@@ -38,15 +38,12 @@ class DocumentFullscreen {
STATIC_ONLY(DocumentFullscreen);
public:
static bool fullscreenEnabled(Document&);
- static Element* fullscreenElement(Document&);
static void exitFullscreen(Document&);
+ static bool webkitIsFullScreen(Document&);
DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(fullscreenchange);
DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(fullscreenerror);
- // Mozilla version
- static Element* currentFullScreenElement(Document&);
-
DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror);
};

Powered by Google App Engine
This is Rietveld 408576698