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

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

Issue 22454003: Support subtitles for native fullscreen video (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: enabling layout tests Created 7 years, 3 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: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 587f75a98ac8f32f11b912fdcb8cdb1a1c4dcc17..7f73407a1578e7dd58981a74d90332f7ba3e2f4d 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -3559,6 +3559,7 @@ void HTMLMediaElement::exitFullscreen()
void HTMLMediaElement::didBecomeFullscreenElement()
{
+ Element::didBecomeFullscreenElement();
if (hasMediaControls())
mediaControls()->enteredFullscreen();
}
@@ -3567,6 +3568,7 @@ void HTMLMediaElement::willStopBeingFullscreenElement()
{
if (hasMediaControls())
mediaControls()->exitedFullscreen();
+ Element::willStopBeingFullscreenElement();
}
WebKit::WebLayer* HTMLMediaElement::platformLayer() const

Powered by Google App Engine
This is Rietveld 408576698