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

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

Issue 2742693003: Disable auto-fullscreen for downloaded video (Closed)
Patch Set: nits Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/MediaDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/MediaDocument.cpp b/third_party/WebKit/Source/core/html/MediaDocument.cpp
index abbf4ea23ce25b572c8967a61288f9a08d16a07d..523a43cd50beedad5be8426e6d453202b8c95d9d 100644
--- a/third_party/WebKit/Source/core/html/MediaDocument.cpp
+++ b/third_party/WebKit/Source/core/html/MediaDocument.cpp
@@ -136,7 +136,7 @@ class MediaLoadedEventListener final : public EventListener {
static_cast<HTMLVideoElement*>(event->target()->toNode());
UserGestureIndicator gesture(
DocumentUserGestureToken::create(&media->document()));
- media->webkitEnterFullscreen();
+ // TODO(shaktisahu): Enable fullscreen after https://crbug/698353 is fixed.
media->play();
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698