summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_var.h')
-rw-r--r--webkit/glue/plugins/pepper_var.h4
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);