Commit f1c60439 authored by jrummell's avatar jrummell Committed by Commit bot

Update mojo for changes to createMediaPlayer()

createMediaPlayer() will soon get called with the additional
parameter |initial_cdm|. Adding a method to include it.

BUG=358271
TEST=mojo compiles with upcoming blink changes

Review URL: https://codereview.chromium.org/600233002

Cr-Commit-Position: refs/heads/master@{#296597}
parent 818fa793
......@@ -180,6 +180,14 @@ blink::WebMediaPlayer* HTMLDocumentView::createMediaPlayer(
return web_media_player_factory_->CreateMediaPlayer(frame, url, client);
}
blink::WebMediaPlayer* HTMLDocumentView::createMediaPlayer(
blink::WebLocalFrame* frame,
const blink::WebURL& url,
blink::WebMediaPlayerClient* client,
blink::WebContentDecryptionModule* initial_cdm) {
return createMediaPlayer(frame, url, client);
}
blink::WebFrame* HTMLDocumentView::createChildFrame(
blink::WebLocalFrame* parent,
const blink::WebString& frameName) {
......
......@@ -62,6 +62,11 @@ class HTMLDocumentView : public blink::WebViewClient,
blink::WebLocalFrame* frame,
const blink::WebURL& url,
blink::WebMediaPlayerClient* client);
virtual blink::WebMediaPlayer* createMediaPlayer(
blink::WebLocalFrame* frame,
const blink::WebURL& url,
blink::WebMediaPlayerClient* client,
blink::WebContentDecryptionModule* initial_cdm);
virtual blink::WebFrame* createChildFrame(blink::WebLocalFrame* parent,
const blink::WebString& frameName);
virtual void frameDetached(blink::WebFrame*);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment