Index: ppapi/proxy/dispatcher.cc |
=================================================================== |
--- ppapi/proxy/dispatcher.cc (revision 65769) |
+++ ppapi/proxy/dispatcher.cc (working copy) |
@@ -14,6 +14,7 @@ |
#include "ipc/ipc_sync_channel.h" |
#include "ppapi/proxy/interface_proxy.h" |
#include "ppapi/proxy/ppapi_messages.h" |
+#include "ppapi/c/dev/ppb_buffer_dev.h" |
#include "ppapi/c/dev/ppb_testing_dev.h" |
#include "ppapi/c/dev/ppb_var_deprecated.h" |
#include "ppapi/c/pp_errors.h" |
@@ -25,10 +26,12 @@ |
#include "ppapi/c/ppb_url_loader.h" |
#include "ppapi/c/ppb_url_request_info.h" |
#include "ppapi/c/ppb_url_response_info.h" |
+#include "ppapi/proxy/ppb_buffer_proxy.h" |
#include "ppapi/proxy/ppb_core_proxy.h" |
#include "ppapi/proxy/ppb_graphics_2d_proxy.h" |
#include "ppapi/proxy/ppb_image_data_proxy.h" |
#include "ppapi/proxy/ppb_instance_proxy.h" |
+#include "ppapi/proxy/ppb_pdf_proxy.h" |
#include "ppapi/proxy/ppb_testing_proxy.h" |
#include "ppapi/proxy/ppb_url_loader_proxy.h" |
#include "ppapi/proxy/ppb_url_request_info_proxy.h" |
@@ -37,6 +40,7 @@ |
#include "ppapi/proxy/ppp_class_proxy.h" |
#include "ppapi/proxy/ppp_instance_proxy.h" |
#include "ppapi/proxy/var_serialization_rules.h" |
+#include "webkit/glue/plugins/ppb_private.h" |
namespace pp { |
namespace proxy { |
@@ -203,6 +207,8 @@ |
InterfaceProxy* Dispatcher::CreateProxyForInterface( |
const std::string& interface_name, |
const void* interface_functions) { |
+ if (interface_name == PPB_BUFFER_DEV_INTERFACE) |
+ return new PPB_Buffer_Proxy(this, interface_functions); |
if (interface_name == PPB_CORE_INTERFACE) |
return new PPB_Core_Proxy(this, interface_functions); |
if (interface_name == PPB_GRAPHICS_2D_INTERFACE) |
@@ -211,6 +217,8 @@ |
return new PPB_ImageData_Proxy(this, interface_functions); |
if (interface_name == PPB_INSTANCE_INTERFACE) |
return new PPB_Instance_Proxy(this, interface_functions); |
+ if (interface_name == PPB_PRIVATE_INTERFACE) |
viettrungluu
2010/11/11 19:27:03
I assume this will eventually be changed to PPB_PD
brettw
2010/11/11 20:12:09
Yes, I want to rename them, but I don't want to co
|
+ return new PPB_Pdf_Proxy(this, interface_functions); |
if (interface_name == PPB_TESTING_DEV_INTERFACE) |
return new PPB_Testing_Proxy(this, interface_functions); |
if (interface_name == PPB_URLLOADER_INTERFACE) |