diff options
author | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 23:13:46 +0000 |
---|---|---|
committer | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 23:13:46 +0000 |
commit | 1b951f98b5d86ed9ba82555566627017211ad9d4 (patch) | |
tree | 3a051afc6116fa678dadf76f72b5ce587d84f61d /o3d/gpu_plugin/gpu_plugin.h | |
parent | 130805e7d8ae9e6fe73b2f6180a04b989d7961e5 (diff) | |
download | chromium_src-1b951f98b5d86ed9ba82555566627017211ad9d4.zip chromium_src-1b951f98b5d86ed9ba82555566627017211ad9d4.tar.gz chromium_src-1b951f98b5d86ed9ba82555566627017211ad9d4.tar.bz2 |
Added GPU plugin object, an NPObject to which a plugin instance's NPP calls are forwarded.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/173386
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/gpu_plugin/gpu_plugin.h')
-rw-r--r-- | o3d/gpu_plugin/gpu_plugin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/o3d/gpu_plugin/gpu_plugin.h b/o3d/gpu_plugin/gpu_plugin.h index f3d95d2..269e053 100644 --- a/o3d/gpu_plugin/gpu_plugin.h +++ b/o3d/gpu_plugin/gpu_plugin.h @@ -6,6 +6,7 @@ #define O3D_GPU_PLUGIN_GPU_PLUGIN_H_ #include "third_party/npapi/bindings/npapi.h" +#include "third_party/npapi/bindings/npruntime.h" typedef struct _NPPluginFuncs NPPluginFuncs; typedef struct _NPNetscapeFuncs NPNetscapeFuncs; @@ -13,6 +14,11 @@ typedef struct _NPNetscapeFuncs NPNetscapeFuncs; namespace o3d { namespace gpu_plugin { +class PluginObjectFactory; + +// Replaces the plugin object factory and returns the previous one. +PluginObjectFactory* SetPluginObjectFactory(PluginObjectFactory* factory); + // Declarations of NPAPI plugin entry points. NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs); |