Index: content/public/renderer/renderer_ppapi_host.h |
=================================================================== |
--- content/public/renderer/renderer_ppapi_host.h (revision 238258) |
+++ content/public/renderer/renderer_ppapi_host.h (working copy) |
@@ -40,6 +40,7 @@ |
namespace content { |
class PepperPluginInstance; |
+class RenderFrame; |
class RenderView; |
// Interface that allows components in the embedder app to talk to the |
@@ -71,6 +72,11 @@ |
virtual PepperPluginInstance* GetPluginInstance( |
PP_Instance instance) const = 0; |
+ // Returns the RenderFrame for the given plugin instance, or NULL if the |
+ // instance is invalid. |
+ virtual RenderFrame* GetRenderFrameForInstance( |
+ PP_Instance instance) const = 0; |
+ |
// Returns the RenderView for the given plugin instance, or NULL if the |
// instance is invalid. |
virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const = 0; |