| 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" |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 194 |
| 195 PP_Resource ResourceCreationImpl::CreateTouchInputEvent( | 195 PP_Resource ResourceCreationImpl::CreateTouchInputEvent( |
| 196 PP_Instance instance, | 196 PP_Instance instance, |
| 197 PP_InputEvent_Type type, | 197 PP_InputEvent_Type type, |
| 198 PP_TimeTicks time_stamp, | 198 PP_TimeTicks time_stamp, |
| 199 uint32_t modifiers) { | 199 uint32_t modifiers) { |
| 200 return PPB_InputEvent_Shared::CreateTouchInputEvent( | 200 return PPB_InputEvent_Shared::CreateTouchInputEvent( |
| 201 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers); | 201 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers); |
| 202 } | 202 } |
| 203 | 203 |
| 204 PP_Resource ResourceCreationImpl::CreateNetworkMonitor( | 204 PP_Resource ResourceCreationImpl::CreateNetworkMonitorPrivate( |
| 205 PP_Instance instance, | 205 PP_Instance instance) { |
| 206 PPB_NetworkMonitor_Callback callback, | |
| 207 void* user_data) { | |
| 208 return 0; // Not supported in-process. | 206 return 0; // Not supported in-process. |
| 209 } | 207 } |
| 210 | 208 |
| 211 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance, | 209 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance, |
| 212 PP_Bool vertical) { | 210 PP_Bool vertical) { |
| 213 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical)); | 211 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical)); |
| 214 } | 212 } |
| 215 | 213 |
| 216 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance /* instance */) { | 214 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance /* instance */) { |
| 217 return 0; // Not supported in-process. | 215 return 0; // Not supported in-process. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, | 277 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, |
| 280 wheel_delta, wheel_ticks, scroll_by_page); | 278 wheel_delta, wheel_ticks, scroll_by_page); |
| 281 } | 279 } |
| 282 | 280 |
| 283 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 281 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 284 PP_Instance instance) { | 282 PP_Instance instance) { |
| 285 return PPB_X509Certificate_Private_Impl::CreateResource(instance); | 283 return PPB_X509Certificate_Private_Impl::CreateResource(instance); |
| 286 } | 284 } |
| 287 | 285 |
| 288 } // namespace content | 286 } // namespace content |
| OLD | NEW |