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

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

Issue 10214007: Add an IPC channel between the NaCl loader process and the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: content/public/renderer/render_view.h
===================================================================
--- content/public/renderer/render_view.h (revision 135227)
+++ content/public/renderer/render_view.h (working copy)
@@ -5,7 +5,11 @@
#ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
#define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
+#include <string>
+
#include "base/basictypes.h"
+#include "base/file_path.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"
@@ -25,6 +29,10 @@
struct WebPluginParams;
}
+namespace IPC {
+struct ChannelHandle;
+}
+
namespace gfx {
class Size;
}
@@ -128,6 +136,13 @@
WebKit::WebFrame* frame,
const WebKit::WebURLRequest& request,
WebKit::WebNavigationPolicy policy) = 0;
+
+ // Creates the renderer side of an out-of-process Pepper plugin's IPC proxy.
+ virtual void CreatePepperHostDispatcher(
+ const FilePath& plugin_path,
+ int plugin_child_id,
+ base::ProcessHandle plugin_process_handle,
+ const IPC::ChannelHandle& channel_handle) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698