diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-07 07:11:06 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-07 07:11:06 +0000 |
commit | e9cb0b79ae9ee9c9b67969ba113a02a34fe8ec12 (patch) | |
tree | 3e3ead028a8b28199e2ea6856ae9204fde12802f /ppapi/proxy/resource_creation_proxy.cc | |
parent | 83bd7f5c56c82c4cd7cbc0a00565f8534acda727 (diff) | |
download | chromium_src-e9cb0b79ae9ee9c9b67969ba113a02a34fe8ec12.zip chromium_src-e9cb0b79ae9ee9c9b67969ba113a02a34fe8ec12.tar.gz chromium_src-e9cb0b79ae9ee9c9b67969ba113a02a34fe8ec12.tar.bz2 |
This adds the plugin side of the resource only, as well as a unittest.
BUG=138333
TEST=Ran new unittest
Review URL: https://chromiumcodereview.appspot.com/10826026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_creation_proxy.cc')
-rw-r--r-- | ppapi/proxy/resource_creation_proxy.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc index a31386b..f24f86a 100644 --- a/ppapi/proxy/resource_creation_proxy.cc +++ b/ppapi/proxy/resource_creation_proxy.cc @@ -37,6 +37,7 @@ #include "ppapi/proxy/ppb_video_capture_proxy.h" #include "ppapi/proxy/ppb_video_decoder_proxy.h" #include "ppapi/proxy/ppb_x509_certificate_private_proxy.h" +#include "ppapi/proxy/printing_resource.h" #include "ppapi/shared_impl/api_id.h" #include "ppapi/shared_impl/host_resource.h" #include "ppapi/shared_impl/ppb_audio_config_shared.h" @@ -324,6 +325,10 @@ PP_Resource ResourceCreationProxy::CreateNetworkMonitor( instance, callback, user_data); } +PP_Resource ResourceCreationProxy::CreatePrinting(PP_Instance instance) { + return (new PrintingResource(GetConnection(), instance))->GetReference(); +} + PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, PP_Bool vertical) { NOTIMPLEMENTED(); // Not proxied yet. |