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

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

Issue 2340263003: Move Document.fullscreenElement to DocumentOrShadowRoot (Closed)
Patch Set: Fix for comments Created 4 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
Index: third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp b/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
index 6eb33867afb63c88de6089a820becf0cd4eb3565..866387b52306251376f41b3b1f642e184818d3f9 100644
--- a/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp
@@ -33,7 +33,7 @@ bool DocumentFullscreen::fullscreenEnabled(Document& document) {
return Fullscreen::fullscreenEnabled(document);
}
-Element* DocumentFullscreen::fullscreenElement(Document& document) {
+Element* DocumentFullscreen::webkitFullscreenElement(Document& document) {
return Fullscreen::fullscreenElementFrom(document);
}
@@ -41,7 +41,8 @@ void DocumentFullscreen::exitFullscreen(Document& document) {
Fullscreen::exitFullscreen(document);
}
-Element* DocumentFullscreen::currentFullScreenElement(Document& document) {
+Element* DocumentFullscreen::webkitCurrentFullScreenElement(
+ Document& document) {
return Fullscreen::currentFullScreenElementFrom(document);
}

Powered by Google App Engine
This is Rietveld 408576698