| Index: content/public/renderer/renderer_ppapi_host.h
|
| diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h
|
| index 8fda76982f07f6c5106275496178ab10286253f6..d6cc28f49542b0294c4f7c82b63429c64621cc3a 100644
|
| --- a/content/public/renderer/renderer_ppapi_host.h
|
| +++ b/content/public/renderer/renderer_ppapi_host.h
|
| @@ -13,6 +13,10 @@ class PpapiHost;
|
| }
|
| }
|
|
|
| +namespace WebKit {
|
| +class WebPluginContainer;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class RenderView;
|
| @@ -34,6 +38,11 @@ class RendererPpapiHost {
|
| // instance is invalid.
|
| virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const = 0;
|
|
|
| + // Returns the WebPluginContainer for the given plugin instance, or NULL if
|
| + // the instance is invalid.
|
| + virtual WebKit::WebPluginContainer* GetContainerForInstance(
|
| + PP_Instance instance) const = 0;
|
| +
|
| // Returns true if the given instance is considered to be currently
|
| // processing a user gesture or the plugin module has the "override user
|
| // gesture" flag set (in which case it can always do things normally
|
|
|