| 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_image_data_shared.h" | 9 #include "ppapi/shared_impl/ppb_image_data_shared.h" |
| 10 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 10 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 const PP_Point* mouse_position, | 197 const PP_Point* mouse_position, |
| 198 int32_t click_count, | 198 int32_t click_count, |
| 199 const PP_Point* mouse_movement) { | 199 const PP_Point* mouse_movement) { |
| 200 return PPB_InputEvent_Shared::CreateMouseInputEvent( | 200 return PPB_InputEvent_Shared::CreateMouseInputEvent( |
| 201 ::ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers, | 201 ::ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers, |
| 202 mouse_button, mouse_position, click_count, mouse_movement); | 202 mouse_button, mouse_position, click_count, mouse_movement); |
| 203 } | 203 } |
| 204 | 204 |
| 205 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv4Address( | 205 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv4Address( |
| 206 PP_Instance instance, | 206 PP_Instance instance, |
| 207 const PP_NetAddress_IPv4_Dev* ipv4_addr) { | 207 const PP_NetAddress_IPv4* ipv4_addr) { |
| 208 return 0; // Not supported in-process. | 208 return 0; // Not supported in-process. |
| 209 } | 209 } |
| 210 | 210 |
| 211 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv6Address( | 211 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv6Address( |
| 212 PP_Instance instance, | 212 PP_Instance instance, |
| 213 const PP_NetAddress_IPv6_Dev* ipv6_addr) { | 213 const PP_NetAddress_IPv6* ipv6_addr) { |
| 214 return 0; // Not supported in-process. | 214 return 0; // Not supported in-process. |
| 215 } | 215 } |
| 216 | 216 |
| 217 PP_Resource ResourceCreationImpl::CreateNetAddressFromNetAddressPrivate( | 217 PP_Resource ResourceCreationImpl::CreateNetAddressFromNetAddressPrivate( |
| 218 PP_Instance instance, | 218 PP_Instance instance, |
| 219 const PP_NetAddress_Private& private_addr) { | 219 const PP_NetAddress_Private& private_addr) { |
| 220 return 0; // Not supported in-process. | 220 return 0; // Not supported in-process. |
| 221 } | 221 } |
| 222 | 222 |
| 223 PP_Resource ResourceCreationImpl::CreateTouchInputEvent( | 223 PP_Resource ResourceCreationImpl::CreateTouchInputEvent( |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 wheel_delta, wheel_ticks, scroll_by_page); | 308 wheel_delta, wheel_ticks, scroll_by_page); |
| 309 } | 309 } |
| 310 | 310 |
| 311 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 311 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 312 PP_Instance instance) { | 312 PP_Instance instance) { |
| 313 return PPB_X509Certificate_Private_Impl::CreateResource(instance); | 313 return PPB_X509Certificate_Private_Impl::CreateResource(instance); |
| 314 } | 314 } |
| 315 | 315 |
| 316 } // namespace ppapi | 316 } // namespace ppapi |
| 317 } // namespace webkit | 317 } // namespace webkit |
| OLD | NEW |