| OLD | NEW |
| 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" |
| 11 #include "content/renderer/pepper/ppb_file_ref_impl.h" | 11 #include "content/renderer/pepper/ppb_file_ref_impl.h" |
| 12 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" | 12 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" |
| 13 #include "content/renderer/pepper/ppb_graphics_3d_impl.h" | 13 #include "content/renderer/pepper/ppb_graphics_3d_impl.h" |
| 14 #include "content/renderer/pepper/ppb_image_data_impl.h" | 14 #include "content/renderer/pepper/ppb_image_data_impl.h" |
| 15 #include "content/renderer/pepper/ppb_network_monitor_private_impl.h" | 15 #include "content/renderer/pepper/ppb_network_monitor_private_impl.h" |
| 16 #include "content/renderer/pepper/ppb_scrollbar_impl.h" | 16 #include "content/renderer/pepper/ppb_scrollbar_impl.h" |
| 17 #include "content/renderer/pepper/ppb_tcp_socket_private_impl.h" | |
| 18 #include "content/renderer/pepper/ppb_video_decoder_impl.h" | 17 #include "content/renderer/pepper/ppb_video_decoder_impl.h" |
| 19 #include "content/renderer/pepper/ppb_x509_certificate_private_impl.h" | 18 #include "content/renderer/pepper/ppb_x509_certificate_private_impl.h" |
| 20 #include "ppapi/c/pp_size.h" | 19 #include "ppapi/c/pp_size.h" |
| 21 #include "ppapi/shared_impl/ppb_audio_config_shared.h" | 20 #include "ppapi/shared_impl/ppb_audio_config_shared.h" |
| 22 #include "ppapi/shared_impl/ppb_image_data_shared.h" | 21 #include "ppapi/shared_impl/ppb_image_data_shared.h" |
| 23 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 22 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
| 24 #include "ppapi/shared_impl/ppb_resource_array_shared.h" | 23 #include "ppapi/shared_impl/ppb_resource_array_shared.h" |
| 25 #include "ppapi/shared_impl/var.h" | 24 #include "ppapi/shared_impl/var.h" |
| 26 | 25 |
| 27 using ppapi::InputEventData; | 26 using ppapi::InputEventData; |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( | 253 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( |
| 255 PP_Instance instance) { | 254 PP_Instance instance) { |
| 256 return 0; // Not supported in-process. | 255 return 0; // Not supported in-process. |
| 257 } | 256 } |
| 258 | 257 |
| 259 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { | 258 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { |
| 260 return 0; // Not supported in-process. | 259 return 0; // Not supported in-process. |
| 261 } | 260 } |
| 262 | 261 |
| 263 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { | 262 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { |
| 264 return PPB_TCPSocket_Private_Impl::CreateResource(instance); | 263 return 0; // Not supported in-process. |
| 265 } | 264 } |
| 266 | 265 |
| 267 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { | 266 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { |
| 268 return 0; // Not supported in-process. | 267 return 0; // Not supported in-process. |
| 269 } | 268 } |
| 270 | 269 |
| 271 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { | 270 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { |
| 272 return 0; // Not supported in-process. | 271 return 0; // Not supported in-process. |
| 273 } | 272 } |
| 274 | 273 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 304 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, | 303 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, |
| 305 wheel_delta, wheel_ticks, scroll_by_page); | 304 wheel_delta, wheel_ticks, scroll_by_page); |
| 306 } | 305 } |
| 307 | 306 |
| 308 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 307 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 309 PP_Instance instance) { | 308 PP_Instance instance) { |
| 310 return PPB_X509Certificate_Private_Impl::CreateResource(instance); | 309 return PPB_X509Certificate_Private_Impl::CreateResource(instance); |
| 311 } | 310 } |
| 312 | 311 |
| 313 } // namespace content | 312 } // namespace content |
| OLD | NEW |