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 "webkit/plugins/ppapi/resource_creation_impl.h" | 5 #include "webkit/plugins/ppapi/resource_creation_impl.h" |
6 | 6 |
7 #include "ppapi/c/pp_size.h" | 7 #include "ppapi/c/pp_size.h" |
8 #include "ppapi/shared_impl/ppb_audio_config_shared.h" | 8 #include "ppapi/shared_impl/ppb_audio_config_shared.h" |
9 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 9 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
10 #include "ppapi/shared_impl/ppb_resource_array_shared.h" | 10 #include "ppapi/shared_impl/ppb_resource_array_shared.h" |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 } | 250 } |
251 | 251 |
252 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { | 252 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { |
253 return 0; // Not supported in-process. | 253 return 0; // Not supported in-process. |
254 } | 254 } |
255 | 255 |
256 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { | 256 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { |
257 return PPB_TCPSocket_Private_Impl::CreateResource(instance); | 257 return PPB_TCPSocket_Private_Impl::CreateResource(instance); |
258 } | 258 } |
259 | 259 |
| 260 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { |
| 261 return 0; // Not supported in-process. |
| 262 } |
| 263 |
260 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { | 264 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { |
261 return 0; // Not supported in-process. | 265 return 0; // Not supported in-process. |
262 } | 266 } |
263 | 267 |
264 PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) { | 268 PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) { |
265 return 0; // VideoCapture is not supported in process now. | 269 return 0; // VideoCapture is not supported in process now. |
266 } | 270 } |
267 | 271 |
268 PP_Resource ResourceCreationImpl::CreateVideoDecoder( | 272 PP_Resource ResourceCreationImpl::CreateVideoDecoder( |
269 PP_Instance instance, | 273 PP_Instance instance, |
(...skipping 24 matching lines...) Expand all Loading... |
294 wheel_delta, wheel_ticks, scroll_by_page); | 298 wheel_delta, wheel_ticks, scroll_by_page); |
295 } | 299 } |
296 | 300 |
297 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 301 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
298 PP_Instance instance) { | 302 PP_Instance instance) { |
299 return PPB_X509Certificate_Private_Impl::CreateResource(instance); | 303 return PPB_X509Certificate_Private_Impl::CreateResource(instance); |
300 } | 304 } |
301 | 305 |
302 } // namespace ppapi | 306 } // namespace ppapi |
303 } // namespace webkit | 307 } // namespace webkit |
OLD | NEW |