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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.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/shadow/MediaControls.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
index 81c0e66bbdf1b9b6aab0ebf05adf61937167a0fb..c7685babd45c0dc954c0a852c454b8367de70065 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
@@ -530,9 +530,7 @@ void MediaControls::showOverlayCastButtonIfNeeded() {
}
void MediaControls::enterFullscreen() {
- // TODO(foolip): switch to Fullscreen::UnprefixedRequest when the unprefixed
- // Fullscreen API has launched.
- Fullscreen::requestFullscreen(mediaElement(), Fullscreen::PrefixedRequest);
+ Fullscreen::requestFullscreen(mediaElement());
}
void MediaControls::exitFullscreen() {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLVideoElement.cpp ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698