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

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

Issue 2764673002: Embedded media: Rotate to fullscreen
Patch Set: 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
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 646e6fe49749fcddb4602990b71a680202d23ab1..12bb449fba675313af072f316ab47637d407690e 100644
--- a/third_party/WebKit/Source/core/html/MediaDocument.cpp
+++ b/third_party/WebKit/Source/core/html/MediaDocument.cpp
@@ -137,7 +137,7 @@ class MediaLoadedEventListener final : public EventListener {
static_cast<HTMLVideoElement*>(event->target()->toNode());
UserGestureIndicator gesture(
DocumentUserGestureToken::create(&media->document()));
- // TODO(shaktisahu): Enable fullscreen after https://crbug/698353 is fixed.
+ media->webkitEnterFullscreen();
media->play();
}
};
@@ -276,6 +276,7 @@ DocumentParser* MediaDocument::createParser() {
}
void MediaDocument::defaultEventHandler(Event* event) {
+ // VLOG(0) << "shakti, defaultEventHandler " << event->type();
Node* targetNode = event->target()->toNode();
if (!targetNode)
return;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLVideoElement.cpp ('k') | third_party/WebKit/Source/core/html/shadow/MediaControls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698