Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: content/renderer/pepper/resource_creation_impl.cc

Issue 859313002: Pepper: Define PPB_VideoEncoder API + Implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | media/base/video_frame.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/ppb_audio_impl.h" 7 #include "content/renderer/pepper/ppb_audio_impl.h"
8 #include "content/renderer/pepper/ppb_broker_impl.h" 8 #include "content/renderer/pepper/ppb_broker_impl.h"
9 #include "content/renderer/pepper/ppb_buffer_impl.h" 9 #include "content/renderer/pepper/ppb_buffer_impl.h"
10 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" 10 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h"
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 PP_Instance instance, 333 PP_Instance instance,
334 PP_Resource graphics3d_id, 334 PP_Resource graphics3d_id,
335 PP_VideoDecoder_Profile profile) { 335 PP_VideoDecoder_Profile profile) {
336 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile); 336 return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile);
337 } 337 }
338 338
339 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) { 339 PP_Resource ResourceCreationImpl::CreateVideoDestination(PP_Instance instance) {
340 return 0; // Not supported in-process. 340 return 0; // Not supported in-process.
341 } 341 }
342 342
343 PP_Resource ResourceCreationImpl::CreateVideoEncoder(PP_Instance instance) {
344 return 0; // Not supported in-process.
345 }
346
343 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) { 347 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) {
344 return 0; // Not supported in-process. 348 return 0; // Not supported in-process.
345 } 349 }
346 350
347 PP_Resource ResourceCreationImpl::CreateWheelInputEvent( 351 PP_Resource ResourceCreationImpl::CreateWheelInputEvent(
348 PP_Instance instance, 352 PP_Instance instance,
349 PP_TimeTicks time_stamp, 353 PP_TimeTicks time_stamp,
350 uint32_t modifiers, 354 uint32_t modifiers,
351 const PP_FloatPoint* wheel_delta, 355 const PP_FloatPoint* wheel_delta,
352 const PP_FloatPoint* wheel_ticks, 356 const PP_FloatPoint* wheel_ticks,
353 PP_Bool scroll_by_page) { 357 PP_Bool scroll_by_page) {
354 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL, 358 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL,
355 instance, 359 instance,
356 time_stamp, 360 time_stamp,
357 modifiers, 361 modifiers,
358 wheel_delta, 362 wheel_delta,
359 wheel_ticks, 363 wheel_ticks,
360 scroll_by_page); 364 scroll_by_page);
361 } 365 }
362 366
363 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
364 PP_Instance instance) { 368 PP_Instance instance) {
365 return 0; // Not supported in-process. 369 return 0; // Not supported in-process.
366 } 370 }
367 371
368 } // namespace content 372 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | media/base/video_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698