summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_plugin_module.cc
diff options
context:
space:
mode:
authorneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-25 18:23:32 +0000
committerneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-25 18:23:32 +0000
commite340dd3131637817f78de99896f9a2fccfc6dbba (patch)
treef4089bb5aa66753fddea0d05530bd9e6ebc831ee /webkit/glue/plugins/pepper_plugin_module.cc
parentd78a6c99e67e2b89506ab666870f8d3e43e9ef4a (diff)
downloadchromium_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_plugin_module.cc')
-rw-r--r--webkit/glue/plugins/pepper_plugin_module.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc
index 13390d5..52a8916 100644
--- a/webkit/glue/plugins/pepper_plugin_module.cc
+++ b/webkit/glue/plugins/pepper_plugin_module.cc
@@ -44,6 +44,7 @@
#include "third_party/ppapi/c/ppb_graphics_2d.h"
#include "third_party/ppapi/c/ppb_image_data.h"
#include "third_party/ppapi/c/ppb_instance.h"
+#include "third_party/ppapi/c/ppb_var.h"
#include "third_party/ppapi/c/ppp.h"
#include "third_party/ppapi/c/ppp_instance.h"
#include "webkit/glue/plugins/pepper_audio.h"
@@ -199,6 +200,8 @@ const void* GetInterface(const char* name) {
return &core_interface;
if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0)
return Var::GetDeprecatedInterface();
+ if (strcmp(name, PPB_VAR_INTERFACE) == 0)
+ return Var::GetInterface();
if (strcmp(name, PPB_INSTANCE_INTERFACE) == 0)
return PluginInstance::GetInterface();
if (strcmp(name, PPB_IMAGEDATA_INTERFACE) == 0)