diff options
author | neb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 18:23:32 +0000 |
---|---|---|
committer | neb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 18:23:32 +0000 |
commit | e340dd3131637817f78de99896f9a2fccfc6dbba (patch) | |
tree | f4089bb5aa66753fddea0d05530bd9e6ebc831ee /webkit/glue/plugins/pepper_var.h | |
parent | d78a6c99e67e2b89506ab666870f8d3e43e9ef4a (diff) | |
download | chromium_src-e340dd3131637817f78de99896f9a2fccfc6dbba.zip chromium_src-e340dd3131637817f78de99896f9a2fccfc6dbba.tar.gz chromium_src-e340dd3131637817f78de99896f9a2fccfc6dbba.tar.bz2 |
PPB_Var implementation, Chrome side.
This implements the new PPB_Var interface on pepper.
BUG=57613
TEST=ppapi_tests, yet uncommitted.
Review URL: http://codereview.chromium.org/3801006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_var.h')
-rw-r--r-- | webkit/glue/plugins/pepper_var.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_var.h b/webkit/glue/plugins/pepper_var.h index 0eb1807..8929448 100644 --- a/webkit/glue/plugins/pepper_var.h +++ b/webkit/glue/plugins/pepper_var.h @@ -10,6 +10,7 @@ #include "webkit/glue/plugins/pepper_resource.h" struct PP_Var; +struct PPB_Var; struct PPB_Var_Deprecated; typedef struct NPObject NPObject; typedef struct _NPVariant NPVariant; @@ -82,6 +83,9 @@ class Var : public Resource { // Returns the PPB_Var_Deprecated interface for the plugin to use. static const PPB_Var_Deprecated* GetDeprecatedInterface(); + // Returns the PPB_Var interface for the plugin to use. + static const PPB_Var* GetInterface(); + protected: // This can only be constructed as a StringVar or an ObjectVar. explicit Var(PluginModule* module); |