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

Unified Diff: Source/web/WebMediaPlayerClientImpl.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/web/WebMediaPlayerClientImpl.cpp
diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
index a5e2c6eb24fcfba3b940158db991abebefa70b25..a8f3db31c6c882fa00148ee4748c7f774ab40616 100644
--- a/Source/web/WebMediaPlayerClientImpl.cpp
+++ b/Source/web/WebMediaPlayerClientImpl.cpp
@@ -310,24 +310,22 @@ void WebMediaPlayerClientImpl::pause()
m_webMediaPlayer->pause();
}
-#if USE(NATIVE_FULLSCREEN_VIDEO)
-void WebMediaPlayerClientImpl::enterFullscreen()
+void WebMediaPlayerClientImpl::showFullscreenOverlay()
{
if (m_webMediaPlayer)
m_webMediaPlayer->enterFullscreen();
}
-void WebMediaPlayerClientImpl::exitFullscreen()
+void WebMediaPlayerClientImpl::hideFullscreenOverlay()
{
if (m_webMediaPlayer)
m_webMediaPlayer->exitFullscreen();
}
-bool WebMediaPlayerClientImpl::canEnterFullscreen() const
+bool WebMediaPlayerClientImpl::canShowFullscreenOverlay() const
{
return m_webMediaPlayer && m_webMediaPlayer->canEnterFullscreen();
}
-#endif
MediaPlayer::MediaKeyException WebMediaPlayerClientImpl::generateKeyRequest(const String& keySystem, const unsigned char* initData, unsigned initDataLength)
{

Powered by Google App Engine
This is Rietveld 408576698