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 "content/renderer/pepper/resource_creation_impl.h" | 5 #include "content/renderer/pepper/resource_creation_impl.h" |
6 | 6 |
7 #include "content/renderer/pepper/common.h" | 7 #include "content/renderer/pepper/common.h" |
8 #include "content/renderer/pepper/ppb_audio_impl.h" | 8 #include "content/renderer/pepper/ppb_audio_impl.h" |
9 #include "content/renderer/pepper/ppb_broker_impl.h" | 9 #include "content/renderer/pepper/ppb_broker_impl.h" |
10 #include "content/renderer/pepper/ppb_buffer_impl.h" | 10 #include "content/renderer/pepper/ppb_buffer_impl.h" |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 | 288 |
289 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { | 289 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { |
290 return 0; // Not supported in-process. | 290 return 0; // Not supported in-process. |
291 } | 291 } |
292 | 292 |
293 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { | 293 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { |
294 return 0; // Not supported in-process. | 294 return 0; // Not supported in-process. |
295 } | 295 } |
296 | 296 |
297 PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) { | 297 PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) { |
298 return 0; // VideoCapture is not supported in process now. | 298 return 0; // Not supported in-process. |
| 299 } |
| 300 |
| 301 PP_Resource ResourceCreationImpl::CreateVideoDecoder(PP_Instance instance) { |
| 302 return 0; // Not supported in-process. |
299 } | 303 } |
300 | 304 |
301 PP_Resource ResourceCreationImpl::CreateVideoDecoderDev( | 305 PP_Resource ResourceCreationImpl::CreateVideoDecoderDev( |
302 PP_Instance instance, | 306 PP_Instance instance, |
303 PP_Resource graphics3d_id, | 307 PP_Resource graphics3d_id, |
304 PP_VideoDecoder_Profile profile) { | 308 PP_VideoDecoder_Profile profile) { |
305 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile); | 309 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile); |
306 } | 310 } |
307 | 311 |
308 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) { | 312 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) { |
(...skipping 19 matching lines...) Expand all Loading... |
328 wheel_ticks, | 332 wheel_ticks, |
329 scroll_by_page); | 333 scroll_by_page); |
330 } | 334 } |
331 | 335 |
332 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 336 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
333 PP_Instance instance) { | 337 PP_Instance instance) { |
334 return 0; // Not supported in-process. | 338 return 0; // Not supported in-process. |
335 } | 339 } |
336 | 340 |
337 } // namespace content | 341 } // namespace content |
OLD | NEW |