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

Unified Diff: content/public/renderer/render_view.h

Issue 9609008: Implemented Browser Plugin (NOT FOR REVIEW) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merged with Tip-of-Tree Created 8 years, 9 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/gpu/webgraphicscontext3d_guest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/gpu/webgraphicscontext3d_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698