diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 21:54:15 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 21:54:15 +0000 |
commit | 2254fa752d20dd4bfa6cb152c978e31408573e18 (patch) | |
tree | 6288a4d4a8e88231131f9d8092be0ad301273119 /webkit/glue/plugins/pepper_plugin_module.cc | |
parent | 5a0f17ee1afc17bf38589c489fd9e66ec76ca501 (diff) | |
download | chromium_src-2254fa752d20dd4bfa6cb152c978e31408573e18.zip chromium_src-2254fa752d20dd4bfa6cb152c978e31408573e18.tar.gz chromium_src-2254fa752d20dd4bfa6cb152c978e31408573e18.tar.bz2 |
Implement PPB_ImageDataTrusted on the Chrome side. This just connects the call
to the existing backend implementation.
Review URL: http://codereview.chromium.org/3473021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_module.cc')
-rw-r--r-- | webkit/glue/plugins/pepper_plugin_module.cc | 3 |
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 e43735f..251023f 100644 --- a/webkit/glue/plugins/pepper_plugin_module.cc +++ b/webkit/glue/plugins/pepper_plugin_module.cc @@ -34,6 +34,7 @@ #include "third_party/ppapi/c/dev/ppb_url_util_dev.h" #include "third_party/ppapi/c/dev/ppb_video_decoder_dev.h" #include "third_party/ppapi/c/dev/ppb_widget_dev.h" +#include "third_party/ppapi/c/trusted/ppb_image_data_trusted.h" #include "third_party/ppapi/c/pp_module.h" #include "third_party/ppapi/c/pp_resource.h" #include "third_party/ppapi/c/pp_var.h" @@ -209,6 +210,8 @@ const void* GetInterface(const char* name) { return PluginInstance::GetInterface(); if (strcmp(name, PPB_IMAGEDATA_INTERFACE) == 0) return ImageData::GetInterface(); + if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE) == 0) + return ImageData::GetTrustedInterface(); if (strcmp(name, PPB_AUDIO_CONFIG_DEV_INTERFACE) == 0) return AudioConfig::GetInterface(); if (strcmp(name, PPB_AUDIO_DEV_INTERFACE) == 0) |