diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-13 22:46:42 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-13 22:46:42 +0000 |
commit | 5ed5a3eebe9cab0c54cc23ab3d059af37a4f3a92 (patch) | |
tree | 4e802bfe6319118b99483ada9888bbaebd17516e /ppapi/api | |
parent | d99bcf2707cd81d8653485cab5d32f4811a58112 (diff) | |
download | chromium_src-5ed5a3eebe9cab0c54cc23ab3d059af37a4f3a92.zip chromium_src-5ed5a3eebe9cab0c54cc23ab3d059af37a4f3a92.tar.gz chromium_src-5ed5a3eebe9cab0c54cc23ab3d059af37a4f3a92.tar.bz2 |
Add a way to implement GetInterface in the broker.
This also adds some cleanup in the Pepper API to provide typedefs for the three PPP_* functions. I removed some ad-hoc typedefes we had floating around and replaced them with these more "official" ones.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10069035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r-- | ppapi/api/ppp.idl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ppapi/api/ppp.idl b/ppapi/api/ppp.idl index b26e63f..8eb978a 100644 --- a/ppapi/api/ppp.idl +++ b/ppapi/api/ppp.idl @@ -121,3 +121,19 @@ PP_EXPORT const void* PPP_GetInterface(const char* interface_name); #endinl +/** + * Defines the type of the <code>PPP_InitializeModule</code> function. + */ +typedef int32_t PP_InitializeModule_Func( + [in] PP_Module module, + [in] PPB_GetInterface get_browser_interface); + +/** + * Defines the type of the <code>PPP_ShutdownModule</code> function. + */ +typedef void PP_ShutdownModule_Func(); + +/** + * Defines the type of the <code>PPP_ShutdownModule</code> function. + */ +typedef interface_t PP_GetInterface_Func([in] str_t interface_name); |