summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_content_renderer_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell_content_renderer_client.h')
-rw-r--r--content/shell/shell_content_renderer_client.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/content/shell/shell_content_renderer_client.h b/content/shell/shell_content_renderer_client.h
index dee1c41..1dff8e2 100644
--- a/content/shell/shell_content_renderer_client.h
+++ b/content/shell/shell_content_renderer_client.h
@@ -9,8 +9,15 @@
#include "base/memory/scoped_ptr.h"
#include "content/public/renderer/content_renderer_client.h"
+namespace WebKit {
+class WebFrame;
+class WebPlugin;
+struct WebPluginParams;
+}
+
namespace content {
+class RenderView;
class ShellRenderProcessObserver;
class ShellContentRendererClient : public ContentRendererClient {
@@ -19,6 +26,11 @@ class ShellContentRendererClient : public ContentRendererClient {
virtual ~ShellContentRendererClient();
virtual void RenderThreadStarted() OVERRIDE;
virtual void RenderViewCreated(RenderView* render_view) OVERRIDE;
+ virtual bool OverrideCreatePlugin(
+ RenderView* render_view,
+ WebKit::WebFrame* frame,
+ const WebKit::WebPluginParams& params,
+ WebKit::WebPlugin** plugin) OVERRIDE;
private:
scoped_ptr<ShellRenderProcessObserver> shell_observer_;