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

Unified Diff: Source/web/WebMediaPlayerClientImpl.cpp

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reenable previously crashing tests - now fixed Created 6 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') | public/platform/WebLocalizedString.h » ('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 e09e4198d026f10ed997e573e91abc0529ccd985..96112c34378b35bf8f15e864a853eb14f9ebf967 100644
--- a/Source/web/WebMediaPlayerClientImpl.cpp
+++ b/Source/web/WebMediaPlayerClientImpl.cpp
@@ -180,6 +180,21 @@ void WebMediaPlayerClientImpl::requestSeek(double time)
m_client->mediaPlayerRequestSeek(time);
}
+void WebMediaPlayerClientImpl::remoteRouteAvailabilityChanged(bool routesAvailable)
+{
+ mediaElement().remoteRouteAvailabilityChanged(routesAvailable);
+}
+
+void WebMediaPlayerClientImpl::connectedToRemoteDevice()
+{
+ mediaElement().connectedToRemoteDevice();
+}
+
+void WebMediaPlayerClientImpl::disconnectedFromRemoteDevice()
+{
+ mediaElement().disconnectedFromRemoteDevice();
+}
+
// MediaPlayer -------------------------------------------------
void WebMediaPlayerClientImpl::load(WebMediaPlayer::LoadType loadType, const WTF::String& url, WebMediaPlayer::CORSMode corsMode)
{
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.h ('k') | public/platform/WebLocalizedString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698