| 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/common/content_switches_internal.h" | 7 #include "content/common/content_switches_internal.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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 PP_Instance instance, | 331 PP_Instance instance, |
| 332 PP_Resource graphics3d_id, | 332 PP_Resource graphics3d_id, |
| 333 PP_VideoDecoder_Profile profile) { | 333 PP_VideoDecoder_Profile profile) { |
| 334 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile); | 334 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile); |
| 335 } | 335 } |
| 336 | 336 |
| 337 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) { | 337 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) { |
| 338 return 0; // Not supported in-process. | 338 return 0; // Not supported in-process. |
| 339 } | 339 } |
| 340 | 340 |
| 341 PP_Resource ResourceCreationImpl::CreateVideoEncoder(PP_Instance instance) { |
| 342 return 0; // Not supported in-process. |
| 343 } |
| 344 |
| 341 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) { | 345 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) { |
| 342 return 0; // Not supported in-process. | 346 return 0; // Not supported in-process. |
| 343 } | 347 } |
| 344 | 348 |
| 345 PP_Resource ResourceCreationImpl::CreateWheelInputEvent( | 349 PP_Resource ResourceCreationImpl::CreateWheelInputEvent( |
| 346 PP_Instance instance, | 350 PP_Instance instance, |
| 347 PP_TimeTicks time_stamp, | 351 PP_TimeTicks time_stamp, |
| 348 uint32_t modifiers, | 352 uint32_t modifiers, |
| 349 const PP_FloatPoint* wheel_delta, | 353 const PP_FloatPoint* wheel_delta, |
| 350 const PP_FloatPoint* wheel_ticks, | 354 const PP_FloatPoint* wheel_ticks, |
| 351 PP_Bool scroll_by_page) { | 355 PP_Bool scroll_by_page) { |
| 352 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL, | 356 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL, |
| 353 instance, | 357 instance, |
| 354 time_stamp, | 358 time_stamp, |
| 355 modifiers, | 359 modifiers, |
| 356 wheel_delta, | 360 wheel_delta, |
| 357 wheel_ticks, | 361 wheel_ticks, |
| 358 scroll_by_page); | 362 scroll_by_page); |
| 359 } | 363 } |
| 360 | 364 |
| 361 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 365 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 362 PP_Instance instance) { | 366 PP_Instance instance) { |
| 363 return 0; // Not supported in-process. | 367 return 0; // Not supported in-process. |
| 364 } | 368 } |
| 365 | 369 |
| 366 } // namespace content | 370 } // namespace content |
| OLD | NEW |