Index: Source/web/WebMediaPlayerClientImpl.cpp |
diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp |
index 73fd7dd601b9b5d42df2c0e5aca0847d29a7d8e6..daf680968bdc102e5388be4d30a665f0dc7c6636 100644 |
--- a/Source/web/WebMediaPlayerClientImpl.cpp |
+++ b/Source/web/WebMediaPlayerClientImpl.cpp |
@@ -146,6 +146,26 @@ void WebMediaPlayerClientImpl::setWebLayer(blink::WebLayer* layer) |
m_client->mediaPlayerSetWebLayer(layer); |
} |
+WebMediaPlayer::TrackId WebMediaPlayerClientImpl::addAudioTrack(const WebString& id, AudioTrackKind kind, const WebString& label, const WebString& language, bool enabled) |
+{ |
+ return mediaElement().addAudioTrack(id, kind, label, language, enabled); |
+} |
+ |
+void WebMediaPlayerClientImpl::removeAudioTrack(WebMediaPlayer::TrackId id) |
+{ |
+ mediaElement().removeAudioTrack(id); |
+} |
+ |
+WebMediaPlayer::TrackId WebMediaPlayerClientImpl::addVideoTrack(const WebString& id, VideoTrackKind kind, const WebString& label, const WebString& language, bool selected) |
+{ |
+ return mediaElement().addVideoTrack(id, kind, label, language, selected); |
+} |
+ |
+void WebMediaPlayerClientImpl::removeVideoTrack(WebMediaPlayer::TrackId id) |
+{ |
+ mediaElement().removeVideoTrack(id); |
+} |
+ |
void WebMediaPlayerClientImpl::addTextTrack(WebInbandTextTrack* textTrack) |
{ |
m_client->mediaPlayerDidAddTextTrack(textTrack); |