Chromium Code Reviews

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

Issue 1726303003: ppapi: PPB_VpnProvider: Define API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/common/content_switches_internal.h" 8 #include "content/common/content_switches_internal.h"
9 #include "content/renderer/pepper/ppb_audio_impl.h" 9 #include "content/renderer/pepper/ppb_audio_impl.h"
10 #include "content/renderer/pepper/ppb_broker_impl.h" 10 #include "content/renderer/pepper/ppb_broker_impl.h"
(...skipping 330 matching lines...)
341 } 341 }
342 342
343 PP_Resource ResourceCreationImpl::CreateVideoEncoder(PP_Instance instance) { 343 PP_Resource ResourceCreationImpl::CreateVideoEncoder(PP_Instance instance) {
344 return 0; // Not supported in-process. 344 return 0; // Not supported in-process.
345 } 345 }
346 346
347 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) { 347 PP_Resource ResourceCreationImpl::CreateVideoSource(PP_Instance instance) {
348 return 0; // Not supported in-process. 348 return 0; // Not supported in-process.
349 } 349 }
350 350
351 PP_Resource ResourceCreationImpl::CreateVpnProvider(PP_Instance instance) {
352 return 0; // Not supported in-process.
353 }
354
355
351 PP_Resource ResourceCreationImpl::CreateWheelInputEvent( 356 PP_Resource ResourceCreationImpl::CreateWheelInputEvent(
352 PP_Instance instance, 357 PP_Instance instance,
353 PP_TimeTicks time_stamp, 358 PP_TimeTicks time_stamp,
354 uint32_t modifiers, 359 uint32_t modifiers,
355 const PP_FloatPoint* wheel_delta, 360 const PP_FloatPoint* wheel_delta,
356 const PP_FloatPoint* wheel_ticks, 361 const PP_FloatPoint* wheel_ticks,
357 PP_Bool scroll_by_page) { 362 PP_Bool scroll_by_page) {
358 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL, 363 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL,
359 instance, 364 instance,
360 time_stamp, 365 time_stamp,
361 modifiers, 366 modifiers,
362 wheel_delta, 367 wheel_delta,
363 wheel_ticks, 368 wheel_ticks,
364 scroll_by_page); 369 scroll_by_page);
365 } 370 }
366 371
367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 372 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
368 PP_Instance instance) { 373 PP_Instance instance) {
369 return 0; // Not supported in-process. 374 return 0; // Not supported in-process.
370 } 375 }
371 376
372 } // namespace content 377 } // namespace content
OLDNEW

Powered by Google App Engine