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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2565203002: Add a requestFullscreen variant with a default (prefixed) type (Closed)
Patch Set: 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/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index ecaa0dcc8ea2af055fb8fe787acdd8d1f5cf894e..27ca341552576ccc4ae6b9de14eeea779a894f77 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3417,18 +3417,6 @@ bool HTMLMediaElement::isFullscreen() const {
return Fullscreen::isCurrentFullScreenElement(*this);
}
-void HTMLMediaElement::enterFullscreen() {
- BLINK_MEDIA_LOG << "enterFullscreen(" << (void*)this << ")";
-
- Fullscreen::requestFullscreen(*this, Fullscreen::PrefixedRequest);
-}
-
-void HTMLMediaElement::exitFullscreen() {
- BLINK_MEDIA_LOG << "exitFullscreen(" << (void*)this << ")";
-
- Fullscreen::exitFullscreen(document());
-}
-
void HTMLMediaElement::didEnterFullscreen() {
configureMediaControls();
if (mediaControls())
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.h ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698