| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ppapi/proxy/resource_creation_proxy.h" | 5 #include "ppapi/proxy/resource_creation_proxy.h" |
| 6 | 6 |
| 7 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
| 8 #include "ppapi/c/pp_size.h" | 8 #include "ppapi/c/pp_size.h" |
| 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
| 10 #include "ppapi/proxy/plugin_dispatcher.h" | 10 #include "ppapi/proxy/plugin_dispatcher.h" |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 OBJECT_IS_PROXY, instance, elements, size); | 261 OBJECT_IS_PROXY, instance, elements, size); |
| 262 return object->GetReference(); | 262 return object->GetReference(); |
| 263 } | 263 } |
| 264 | 264 |
| 265 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, | 265 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, |
| 266 PP_Bool vertical) { | 266 PP_Bool vertical) { |
| 267 NOTIMPLEMENTED(); // Not proxied yet. | 267 NOTIMPLEMENTED(); // Not proxied yet. |
| 268 return 0; | 268 return 0; |
| 269 } | 269 } |
| 270 | 270 |
| 271 PP_Resource ResourceCreationProxy::CreateTCPServerSocketPrivate( |
| 272 PP_Instance instance) { |
| 273 // TODO (ygorshenin): implement this |
| 274 return 0; |
| 275 } |
| 276 |
| 271 PP_Resource ResourceCreationProxy::CreateTCPSocketPrivate( | 277 PP_Resource ResourceCreationProxy::CreateTCPSocketPrivate( |
| 272 PP_Instance instance) { | 278 PP_Instance instance) { |
| 273 return PPB_TCPSocket_Private_Proxy::CreateProxyResource(instance); | 279 return PPB_TCPSocket_Private_Proxy::CreateProxyResource(instance); |
| 274 } | 280 } |
| 275 | 281 |
| 276 PP_Resource ResourceCreationProxy::CreateTransport(PP_Instance instance, | 282 PP_Resource ResourceCreationProxy::CreateTransport(PP_Instance instance, |
| 277 const char* name, | 283 const char* name, |
| 278 PP_TransportType type) { | 284 PP_TransportType type) { |
| 279 NOTIMPLEMENTED(); // Not proxied yet. | 285 NOTIMPLEMENTED(); // Not proxied yet. |
| 280 return 0; | 286 return 0; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 bool ResourceCreationProxy::Send(IPC::Message* msg) { | 348 bool ResourceCreationProxy::Send(IPC::Message* msg) { |
| 343 return dispatcher()->Send(msg); | 349 return dispatcher()->Send(msg); |
| 344 } | 350 } |
| 345 | 351 |
| 346 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { | 352 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { |
| 347 return false; | 353 return false; |
| 348 } | 354 } |
| 349 | 355 |
| 350 } // namespace proxy | 356 } // namespace proxy |
| 351 } // namespace ppapi | 357 } // namespace ppapi |
| OLD | NEW |