| Index: content/renderer/pepper/renderer_ppapi_host_impl.h
|
| diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.h b/content/renderer/pepper/renderer_ppapi_host_impl.h
|
| index 4d3d0b4e193e5da32e0844823d55394f1366afd1..d1256ac3a2b15ea0e0f59bb96737e97ee5485287 100644
|
| --- a/content/renderer/pepper/renderer_ppapi_host_impl.h
|
| +++ b/content/renderer/pepper/renderer_ppapi_host_impl.h
|
| @@ -82,7 +82,7 @@ class RendererPpapiHostImpl
|
| CreateInProcessResourceCreationAPI(
|
| webkit::ppapi::PluginInstance* instance);
|
|
|
| - // RendererPpapiHost.
|
| + // RendererPpapiHost implementation.
|
| virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
|
| virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
|
| virtual webkit::ppapi::PluginInstance* GetPluginInstance(
|
| @@ -93,6 +93,7 @@ class RendererPpapiHostImpl
|
| PP_Instance instance) const OVERRIDE;
|
| virtual WebKit::WebPluginContainer* GetContainerForInstance(
|
| PP_Instance instance) const OVERRIDE;
|
| + virtual base::ProcessId GetPluginPID() const OVERRIDE;
|
| virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE;
|
| virtual int GetRoutingIDForWidget(PP_Instance instance) const OVERRIDE;
|
| virtual gfx::Point PluginPointToRenderView(
|
| @@ -121,7 +122,9 @@ class RendererPpapiHostImpl
|
|
|
| webkit::ppapi::PluginModule* module_; // Non-owning pointer.
|
|
|
| - ppapi::proxy::HostDispatcher* dispatcher_; // Non-owning pointer.
|
| + // The dispatcher we use to send messagse when the plugin is out-of-process.
|
| + // Will be null when running in-process. Non-owning pointer.
|
| + ppapi::proxy::HostDispatcher* dispatcher_;
|
|
|
| scoped_ptr<ppapi::host::PpapiHost> ppapi_host_;
|
|
|
|
|