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

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: rebased 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
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.h ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebMediaPlayerClientImpl.cpp
diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
index 18b7df0c63334f513da113789f680d4fdfcded79..ee60230430393a1e45507b62cef1fa1d50cfadb9 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)
{
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.h ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698