diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 00:45:55 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 00:45:55 +0000 |
commit | fb44cb0a2570884fd4a279094ee674902916ed81 (patch) | |
tree | 0a7af8f31751dbc7123d1ee5a91655afb5c19693 /content/public | |
parent | 2f8c23b482763d6c4060dc007389cfd6adc7490e (diff) | |
download | chromium_src-fb44cb0a2570884fd4a279094ee674902916ed81.zip chromium_src-fb44cb0a2570884fd4a279094ee674902916ed81.tar.gz chromium_src-fb44cb0a2570884fd4a279094ee674902916ed81.tar.bz2 |
Convert PepperBrowserConnection to be a RenderFrameObserver.
BUG=245126
R=nasko@chromium.org, yzshen@chromium.org
Review URL: https://codereview.chromium.org/100943002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r-- | content/public/renderer/renderer_ppapi_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h index 298a04d..6cb70d1 100644 --- a/content/public/renderer/renderer_ppapi_host.h +++ b/content/public/renderer/renderer_ppapi_host.h @@ -40,6 +40,7 @@ class WebPluginContainer; namespace content { class PepperPluginInstance; +class RenderFrame; class RenderView; // Interface that allows components in the embedder app to talk to the @@ -71,6 +72,11 @@ class RendererPpapiHost { 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; |