| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 PP_Instance instance, | 310 PP_Instance instance, |
| 311 PP_Resource graphics3d_id, | 311 PP_Resource graphics3d_id, |
| 312 PP_VideoDecoder_Profile profile) { | 312 PP_VideoDecoder_Profile profile) { |
| 313 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile); | 313 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile); |
| 314 } | 314 } |
| 315 | 315 |
| 316 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) { | 316 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) { |
| 317 return 0; // Not supported in-process. | 317 return 0; // Not supported in-process. |
| 318 } | 318 } |
| 319 | 319 |
| 320 PP_Resource ResourceCreationImpl::CreateVideoEncoder(PP_Instance instance) { |
| 321 return 0; // Not supported in-process. |
| 322 } |
| 323 |
| 320 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) { | 324 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) { |
| 321 return 0; // Not supported in-process. | 325 return 0; // Not supported in-process. |
| 322 } | 326 } |
| 323 | 327 |
| 324 PP_Resource ResourceCreationImpl::CreateWheelInputEvent( | 328 PP_Resource ResourceCreationImpl::CreateWheelInputEvent( |
| 325 PP_Instance instance, | 329 PP_Instance instance, |
| 326 PP_TimeTicks time_stamp, | 330 PP_TimeTicks time_stamp, |
| 327 uint32_t modifiers, | 331 uint32_t modifiers, |
| 328 const PP_FloatPoint* wheel_delta, | 332 const PP_FloatPoint* wheel_delta, |
| 329 const PP_FloatPoint* wheel_ticks, | 333 const PP_FloatPoint* wheel_ticks, |
| 330 PP_Bool scroll_by_page) { | 334 PP_Bool scroll_by_page) { |
| 331 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL, | 335 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL, |
| 332 instance, | 336 instance, |
| 333 time_stamp, | 337 time_stamp, |
| 334 modifiers, | 338 modifiers, |
| 335 wheel_delta, | 339 wheel_delta, |
| 336 wheel_ticks, | 340 wheel_ticks, |
| 337 scroll_by_page); | 341 scroll_by_page); |
| 338 } | 342 } |
| 339 | 343 |
| 340 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 344 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 341 PP_Instance instance) { | 345 PP_Instance instance) { |
| 342 return 0; // Not supported in-process. | 346 return 0; // Not supported in-process. |
| 343 } | 347 } |
| 344 | 348 |
| 345 } // namespace content | 349 } // namespace content |
| OLD | NEW |