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

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

Issue 365153003: Pepper: add PPB_VideoEncoder interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update API to prevent the user from dealing with buffer management Created 6 years, 5 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
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/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
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
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | native_client_sdk/src/libraries/ppapi/library.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698