| 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::CreateVideoDecoder(PP_Instance instance) { | 294 PP_Resource ResourceCreationProxy::CreateVideoDecoder( |
| 295 PP_Instance instance, |
| 296 PP_Resource context3d_id, |
| 297 const PP_VideoConfigElement* config) { |
| 295 NOTIMPLEMENTED(); | 298 NOTIMPLEMENTED(); |
| 296 return 0; | 299 return 0; |
| 297 } | 300 } |
| 298 | 301 |
| 299 PP_Resource ResourceCreationProxy::CreateVideoLayer( | 302 PP_Resource ResourceCreationProxy::CreateVideoLayer( |
| 300 PP_Instance instance, | 303 PP_Instance instance, |
| 301 PP_VideoLayerMode_Dev mode) { | 304 PP_VideoLayerMode_Dev mode) { |
| 302 NOTIMPLEMENTED(); | 305 NOTIMPLEMENTED(); |
| 303 return 0; | 306 return 0; |
| 304 } | 307 } |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); | 393 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); |
| 391 #else | 394 #else |
| 392 *result_image_handle = ImageData::HandleFromInt(handle); | 395 *result_image_handle = ImageData::HandleFromInt(handle); |
| 393 #endif | 396 #endif |
| 394 } | 397 } |
| 395 } | 398 } |
| 396 } | 399 } |
| 397 | 400 |
| 398 } // namespace proxy | 401 } // namespace proxy |
| 399 } // namespace pp | 402 } // namespace pp |
| OLD | NEW |