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

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

Issue 1161563002: Remove unused in-process pepper APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 "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"
11 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" 11 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h"
12 #include "content/renderer/pepper/ppb_graphics_3d_impl.h" 12 #include "content/renderer/pepper/ppb_graphics_3d_impl.h"
13 #include "content/renderer/pepper/ppb_image_data_impl.h" 13 #include "content/renderer/pepper/ppb_image_data_impl.h"
14 #include "content/renderer/pepper/ppb_scrollbar_impl.h"
15 #include "content/renderer/pepper/ppb_video_decoder_impl.h" 14 #include "content/renderer/pepper/ppb_video_decoder_impl.h"
16 #include "ppapi/c/pp_bool.h" 15 #include "ppapi/c/pp_bool.h"
17 #include "ppapi/c/pp_size.h" 16 #include "ppapi/c/pp_size.h"
18 #include "ppapi/c/pp_var.h" 17 #include "ppapi/c/pp_var.h"
19 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 18 #include "ppapi/shared_impl/ppb_audio_config_shared.h"
20 #include "ppapi/shared_impl/ppb_audio_shared.h" 19 #include "ppapi/shared_impl/ppb_audio_shared.h"
21 #include "ppapi/shared_impl/ppb_image_data_shared.h" 20 #include "ppapi/shared_impl/ppb_image_data_shared.h"
22 #include "ppapi/shared_impl/ppb_input_event_shared.h" 21 #include "ppapi/shared_impl/ppb_input_event_shared.h"
23 #include "ppapi/shared_impl/var.h" 22 #include "ppapi/shared_impl/var.h"
24 23
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 PP_Resource ResourceCreationImpl::CreateOutputProtectionPrivate( 274 PP_Resource ResourceCreationImpl::CreateOutputProtectionPrivate(
276 PP_Instance instance) { 275 PP_Instance instance) {
277 return 0; // Not supported in-process. 276 return 0; // Not supported in-process.
278 } 277 }
279 278
280 PP_Resource ResourceCreationImpl::CreatePlatformVerificationPrivate( 279 PP_Resource ResourceCreationImpl::CreatePlatformVerificationPrivate(
281 PP_Instance instance) { 280 PP_Instance instance) {
282 return 0; // Not supported in-process. 281 return 0; // Not supported in-process.
283 } 282 }
284 283
285 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
286 PP_Bool vertical) {
287 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical));
288 }
289
290 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( 284 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate(
291 PP_Instance instance) { 285 PP_Instance instance) {
292 return 0; // Not supported in-process. 286 return 0; // Not supported in-process.
293 } 287 }
294 288
295 PP_Resource ResourceCreationImpl::CreateTCPSocket1_0(PP_Instance instance) { 289 PP_Resource ResourceCreationImpl::CreateTCPSocket1_0(PP_Instance instance) {
296 return 0; // Not supported in-process. 290 return 0; // Not supported in-process.
297 } 291 }
298 292
299 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { 293 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 wheel_ticks, 356 wheel_ticks,
363 scroll_by_page); 357 scroll_by_page);
364 } 358 }
365 359
366 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 360 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
367 PP_Instance instance) { 361 PP_Instance instance) {
368 return 0; // Not supported in-process. 362 return 0; // Not supported in-process.
369 } 363 }
370 364
371 } // namespace content 365 } // 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