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

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: Added documentation regarding permissions Created 4 years, 7 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 "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...) Expand 10 before | Expand all | Expand 10 after
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
351 PP_Resource ResourceCreationImpl::CreateWheelInputEvent( 355 PP_Resource ResourceCreationImpl::CreateWheelInputEvent(
352 PP_Instance instance, 356 PP_Instance instance,
353 PP_TimeTicks time_stamp, 357 PP_TimeTicks time_stamp,
354 uint32_t modifiers, 358 uint32_t modifiers,
355 const PP_FloatPoint* wheel_delta, 359 const PP_FloatPoint* wheel_delta,
356 const PP_FloatPoint* wheel_ticks, 360 const PP_FloatPoint* wheel_ticks,
357 PP_Bool scroll_by_page) { 361 PP_Bool scroll_by_page) {
358 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL, 362 return PPB_InputEvent_Shared::CreateWheelInputEvent(ppapi::OBJECT_IS_IMPL,
359 instance, 363 instance,
360 time_stamp, 364 time_stamp,
361 modifiers, 365 modifiers,
362 wheel_delta, 366 wheel_delta,
363 wheel_ticks, 367 wheel_ticks,
364 scroll_by_page); 368 scroll_by_page);
365 } 369 }
366 370
367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 371 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
368 PP_Instance instance) { 372 PP_Instance instance) {
369 return 0; // Not supported in-process. 373 return 0; // Not supported in-process.
370 } 374 }
371 375
372 } // namespace content 376 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698