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-11-05 21:15:07 +0000
committerneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-05 21:15:07 +0000
commit581f8a122baa83543f97c19226a81b8b7ab46431 (patch)
treea6c30c996bf253404d93ba4fb3eafa7f93b6eae8 /webkit/glue/plugins/pepper_plugin_module.cc
parent8156dfec0f8ada9d61492b25ae39e4190c5b032d (diff)
downloadchromium_src-581f8a122baa83543f97c19226a81b8b7ab46431.zip
chromium_src-581f8a122baa83543f97c19226a81b8b7ab46431.tar.gz
chromium_src-581f8a122baa83543f97c19226a81b8b7ab46431.tar.bz2
PPB_Class implementation in Chrome.
BUG=57613 TEST=none(yet) Review URL: http://codereview.chromium.org/3806006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65252 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_module.cc')
-rw-r--r--webkit/glue/plugins/pepper_plugin_module.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc
index 09e5369..662055a 100644
--- a/webkit/glue/plugins/pepper_plugin_module.cc
+++ b/webkit/glue/plugins/pepper_plugin_module.cc
@@ -40,6 +40,7 @@
#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_var.h"
+#include "ppapi/c/ppb_class.h"
#include "ppapi/c/ppb_core.h"
#include "ppapi/c/ppb_graphics_2d.h"
#include "ppapi/c/ppb_image_data.h"
@@ -51,6 +52,7 @@
#include "webkit/glue/plugins/pepper_buffer.h"
#include "webkit/glue/plugins/pepper_common.h"
#include "webkit/glue/plugins/pepper_char_set.h"
+#include "webkit/glue/plugins/pepper_class.h"
#include "webkit/glue/plugins/pepper_cursor_control.h"
#include "webkit/glue/plugins/pepper_directory_reader.h"
#include "webkit/glue/plugins/pepper_file_chooser.h"
@@ -271,6 +273,8 @@ const void* GetInterface(const char* name) {
return GetCursorControlInterface();
if (strcmp(name, PPB_ZOOM_DEV_INTERFACE) == 0)
return PluginInstance::GetZoomInterface();
+ if (strcmp(name, PPB_CLASS_INTERFACE) == 0)
+ return VarObjectClass::GetInterface();
// Only support the testing interface when the command line switch is
// specified. This allows us to prevent people from (ab)using this interface