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