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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 10537091: add url as additional argument to createMediaPlayer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Index: webkit/tools/test_shell/test_webview_delegate.cc
===================================================================
--- webkit/tools/test_shell/test_webview_delegate.cc (revision 141308)
+++ webkit/tools/test_shell/test_webview_delegate.cc (working copy)
@@ -635,7 +635,13 @@
frame, params, plugins.front().path, AsWeakPtr());
}
+// TODO(wjia): remove the version without url when WebKit change is done.
WebMediaPlayer* TestWebViewDelegate::createMediaPlayer(
+ WebFrame* frame, WebMediaPlayerClient* client, const WebKit::WebURL& url) {
+ return createMediaPlayer(frame, client);
+}
+
+WebMediaPlayer* TestWebViewDelegate::createMediaPlayer(
WebFrame* frame, WebMediaPlayerClient* client) {
scoped_ptr<media::MessageLoopFactory> message_loop_factory(
new media::MessageLoopFactory());
« content/renderer/render_view_impl.h ('K') | « webkit/tools/test_shell/test_webview_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698