summaryrefslogtreecommitdiffstats
path: root/content/public/renderer/renderer_ppapi_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/renderer/renderer_ppapi_host.h')
-rw-r--r--content/public/renderer/renderer_ppapi_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h
index e5eaa4b..4d81c50 100644
--- a/content/public/renderer/renderer_ppapi_host.h
+++ b/content/public/renderer/renderer_ppapi_host.h
@@ -94,6 +94,10 @@ class RendererPpapiHost {
virtual WebKit::WebPluginContainer* GetContainerForInstance(
PP_Instance instance) const = 0;
+ // Returns the PID of the child process containing the plugin. If running
+ // in-process, this returns base::kNullProcessId.
+ virtual base::ProcessId GetPluginPID() const = 0;
+
// Returns the PlatformGraphics2D for the given plugin resource, or NULL if
// the resource is invalid.
virtual webkit::ppapi::PluginDelegate::PlatformGraphics2D*