| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/proxy/host_resource.h" | 9 #include "ppapi/proxy/host_resource.h" |
| 10 #include "ppapi/proxy/interface_id.h" | 10 #include "ppapi/proxy/interface_id.h" |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 } | 284 } |
| 285 | 285 |
| 286 PP_Resource ResourceCreationProxy::CreateURLLoader(PP_Instance instance) { | 286 PP_Resource ResourceCreationProxy::CreateURLLoader(PP_Instance instance) { |
| 287 return PPB_URLLoader_Proxy::CreateProxyResource(instance); | 287 return PPB_URLLoader_Proxy::CreateProxyResource(instance); |
| 288 } | 288 } |
| 289 | 289 |
| 290 PP_Resource ResourceCreationProxy::CreateURLRequestInfo(PP_Instance instance) { | 290 PP_Resource ResourceCreationProxy::CreateURLRequestInfo(PP_Instance instance) { |
| 291 return PPB_URLRequestInfo_Proxy::CreateProxyResource(instance); | 291 return PPB_URLRequestInfo_Proxy::CreateProxyResource(instance); |
| 292 } | 292 } |
| 293 | 293 |
| 294 PP_Resource ResourceCreationProxy::CreateVideoCapture(PP_Instance instance) { |
| 295 NOTIMPLEMENTED(); |
| 296 return 0; |
| 297 } |
| 298 |
| 294 PP_Resource ResourceCreationProxy::CreateVideoDecoder( | 299 PP_Resource ResourceCreationProxy::CreateVideoDecoder( |
| 295 PP_Instance instance, | 300 PP_Instance instance, |
| 296 PP_Resource context3d_id, | 301 PP_Resource context3d_id, |
| 297 const PP_VideoConfigElement* config) { | 302 const PP_VideoConfigElement* config) { |
| 298 NOTIMPLEMENTED(); | 303 NOTIMPLEMENTED(); |
| 299 return 0; | 304 return 0; |
| 300 } | 305 } |
| 301 | 306 |
| 302 PP_Resource ResourceCreationProxy::CreateVideoLayer( | 307 PP_Resource ResourceCreationProxy::CreateVideoLayer( |
| 303 PP_Instance instance, | 308 PP_Instance instance, |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); | 398 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); |
| 394 #else | 399 #else |
| 395 *result_image_handle = ImageData::HandleFromInt(handle); | 400 *result_image_handle = ImageData::HandleFromInt(handle); |
| 396 #endif | 401 #endif |
| 397 } | 402 } |
| 398 } | 403 } |
| 399 } | 404 } |
| 400 | 405 |
| 401 } // namespace proxy | 406 } // namespace proxy |
| 402 } // namespace pp | 407 } // namespace pp |
| OLD | NEW |