| Index: content/public/renderer/render_view.h
|
| diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
|
| index 7ac69e1d4ee51d03785cf9be1914aa471bdec863..d290cd9989f4feb349f69393fc0e5409263078a0 100644
|
| --- a/content/public/renderer/render_view.h
|
| +++ b/content/public/renderer/render_view.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/process.h"
|
| #include "content/common/content_export.h"
|
| #include "ipc/ipc_message.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h"
|
| @@ -14,8 +15,13 @@
|
|
|
| struct WebPreferences;
|
|
|
| +namespace IPC {
|
| +class ChannelHandle;
|
| +}
|
| +
|
| namespace WebKit {
|
| class WebFrame;
|
| +class WebGraphicsContext3D;
|
| class WebNode;
|
| class WebPlugin;
|
| class WebString;
|
| @@ -81,6 +87,12 @@ class CONTENT_EXPORT RenderView : public IPC::Message::Sender {
|
| // editable div.
|
| virtual bool IsEditableNode(const WebKit::WebNode& node) = 0;
|
|
|
| + // Create a browser plugin as a WebPlugin.
|
| + virtual WebKit::WebPlugin* CreateBrowserPlugin(
|
| + base::ProcessHandle process_handle,
|
| + const IPC::ChannelHandle& channel_handle,
|
| + const WebKit::WebPluginParams& params) = 0;
|
| +
|
| // Create a new NPAPI/Pepper plugin depending on |info|. Returns NULL if no
|
| // plugin was found.
|
| virtual WebKit::WebPlugin* CreatePlugin(
|
|
|