summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_content_renderer_client.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 22:37:20 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 22:37:20 +0000
commit7459e417a82c6cd5a2c4d594404e7574040baaff (patch)
treedf4102a8b9f57cda26db71132fe9fe436f9a7fa4 /content/shell/shell_content_renderer_client.h
parentbdf3948b4606f1ebc1680a778fadc5fac7ce8d4f (diff)
downloadchromium_src-7459e417a82c6cd5a2c4d594404e7574040baaff.zip
chromium_src-7459e417a82c6cd5a2c4d594404e7574040baaff.tar.gz
chromium_src-7459e417a82c6cd5a2c4d594404e7574040baaff.tar.bz2
Show a replacement plug-in for loading errors.
This allows us to show a nicer placeholder when loading a plug-in fails then the one coming from WebKit. BUG=123580 TEST=manual Review URL: http://codereview.chromium.org/10093011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134620 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_content_renderer_client.h')
-rw-r--r--content/shell/shell_content_renderer_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/shell/shell_content_renderer_client.h b/content/shell/shell_content_renderer_client.h
index a28f4f0..06828ab 100644
--- a/content/shell/shell_content_renderer_client.h
+++ b/content/shell/shell_content_renderer_client.h
@@ -28,6 +28,9 @@ class ShellContentRendererClient : public ContentRendererClient {
WebKit::WebFrame* frame,
const WebKit::WebPluginParams& params,
WebKit::WebPlugin** plugin) OVERRIDE;
+ virtual WebKit::WebPlugin* CreatePluginReplacement(
+ RenderView* render_view,
+ const FilePath& plugin_path) OVERRIDE;
virtual bool HasErrorPage(int http_status_code,
std::string* error_domain) OVERRIDE;
virtual void GetNavigationErrorStrings(