summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_content_renderer_client.h
diff options
context:
space:
mode:
authorshishir@chromium.org <shishir@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-09 02:45:44 +0000
committershishir@chromium.org <shishir@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-09 02:45:44 +0000
commitbb6fd406ca9ae8f069bc8e9de211de327aff3ec5 (patch)
tree0b8c0c0e753ad802ed9a0378eeeafda2430f0826 /content/shell/shell_content_renderer_client.h
parent4e7b588132af2c49945df83d40ab77b964d08d85 (diff)
downloadchromium_src-bb6fd406ca9ae8f069bc8e9de211de327aff3ec5.zip
chromium_src-bb6fd406ca9ae8f069bc8e9de211de327aff3ec5.tar.gz
chromium_src-bb6fd406ca9ae8f069bc8e9de211de327aff3ec5.tar.bz2
Defer loading of audio/video tags while prerendering.
BUG=98690 TEST= Review URL: http://codereview.chromium.org/8095007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_content_renderer_client.h')
-rw-r--r--content/shell/shell_content_renderer_client.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/shell/shell_content_renderer_client.h b/content/shell/shell_content_renderer_client.h
index 089ee11..36d428e 100644
--- a/content/shell/shell_content_renderer_client.h
+++ b/content/shell/shell_content_renderer_client.h
@@ -31,6 +31,15 @@ class ShellContentRendererClient : public ContentRendererClient {
const WebKit::WebURLError& error,
std::string* error_html,
string16* error_description) OVERRIDE;
+ virtual bool OverrideCreateWebMediaPlayer(
+ RenderView* render_view,
+ WebKit::WebMediaPlayerClient* client,
+ base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate,
+ media::FilterCollection* collection,
+ media::MessageLoopFactory* message_loop_factory,
+ webkit_media::MediaStreamClient* media_stream_client,
+ media::MediaLog* media_log,
+ webkit_media::WebMediaPlayerImpl** player) OVERRIDE;
virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE;
virtual bool AllowPopup(const GURL& creator) OVERRIDE;
virtual bool ShouldFork(WebKit::WebFrame* frame,