diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 01:45:02 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 01:45:02 +0000 |
commit | 44bebdcee18f1c6eb96eca489f1aa0dd93ddb4f0 (patch) | |
tree | 698668006116cb5050d7007900872347f157447c /content/renderer/pepper/renderer_ppapi_host_impl.h | |
parent | a98706fef98e07a1f7cb2d1092b34d4b1f23c58f (diff) | |
download | chromium_src-44bebdcee18f1c6eb96eca489f1aa0dd93ddb4f0.zip chromium_src-44bebdcee18f1c6eb96eca489f1aa0dd93ddb4f0.tar.gz chromium_src-44bebdcee18f1c6eb96eca489f1aa0dd93ddb4f0.tar.bz2 |
Pepper: Add RendererPpapiHostImpl::GetBrowserConnection().
The FileIO ResourceHost in the renderer will need access to a
PepperBrowserConnection so that it can send messages to the browser to get
information about a FileRef resource (implemeted in the browser).
This change makes the PepperBrowserConnection inside PepperPluginDelegateImpl
visible.
BUG=
Review URL: https://chromiumcodereview.appspot.com/18063006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper/renderer_ppapi_host_impl.h')
-rw-r--r-- | content/renderer/pepper/renderer_ppapi_host_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.h b/content/renderer/pepper/renderer_ppapi_host_impl.h index ac9b9c9..b2dd843 100644 --- a/content/renderer/pepper/renderer_ppapi_host_impl.h +++ b/content/renderer/pepper/renderer_ppapi_host_impl.h @@ -38,6 +38,7 @@ class PluginModule; namespace content { +class PepperBrowserConnection; class PepperInProcessRouter; // This class is attached to a PluginModule via the module's embedder state. @@ -82,6 +83,8 @@ class RendererPpapiHostImpl CreateInProcessResourceCreationAPI( webkit::ppapi::PluginInstance* instance); + PepperBrowserConnection* GetBrowserConnection(PP_Instance instance) const; + // RendererPpapiHost implementation. virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE; virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; |