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

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

Issue 23806003: Use PP_ArrayOutput and PPB_NetAddress in PPB_NetworkList_Private.. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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/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"
16 #include "content/renderer/pepper/ppb_scrollbar_impl.h" 15 #include "content/renderer/pepper/ppb_scrollbar_impl.h"
17 #include "content/renderer/pepper/ppb_video_decoder_impl.h" 16 #include "content/renderer/pepper/ppb_video_decoder_impl.h"
18 #include "content/renderer/pepper/ppb_x509_certificate_private_impl.h" 17 #include "content/renderer/pepper/ppb_x509_certificate_private_impl.h"
19 #include "ppapi/c/pp_size.h" 18 #include "ppapi/c/pp_size.h"
20 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 19 #include "ppapi/shared_impl/ppb_audio_config_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/ppb_resource_array_shared.h" 22 #include "ppapi/shared_impl/ppb_resource_array_shared.h"
24 #include "ppapi/shared_impl/var.h" 23 #include "ppapi/shared_impl/var.h"
25 24
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 PP_TimeTicks time_stamp, 215 PP_TimeTicks time_stamp,
217 uint32_t modifiers) { 216 uint32_t modifiers) {
218 return PPB_InputEvent_Shared::CreateTouchInputEvent( 217 return PPB_InputEvent_Shared::CreateTouchInputEvent(
219 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers); 218 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers);
220 } 219 }
221 220
222 PP_Resource ResourceCreationImpl::CreateNetworkMonitor( 221 PP_Resource ResourceCreationImpl::CreateNetworkMonitor(
223 PP_Instance instance, 222 PP_Instance instance,
224 PPB_NetworkMonitor_Callback callback, 223 PPB_NetworkMonitor_Callback callback,
225 void* user_data) { 224 void* user_data) {
226 return PPB_NetworkMonitor_Private_Impl::Create(instance, callback, user_data); 225 return 0; // Not supported in-process.
227 } 226 }
228 227
229 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance, 228 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
230 PP_Bool vertical) { 229 PP_Bool vertical) {
231 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical)); 230 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical));
232 } 231 }
233 232
234 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance /* instance */) { 233 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance /* instance */) {
235 return 0; // Not supported in-process. 234 return 0; // Not supported in-process.
236 } 235 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, 296 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers,
298 wheel_delta, wheel_ticks, scroll_by_page); 297 wheel_delta, wheel_ticks, scroll_by_page);
299 } 298 }
300 299
301 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 300 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
302 PP_Instance instance) { 301 PP_Instance instance) {
303 return PPB_X509Certificate_Private_Impl::CreateResource(instance); 302 return PPB_X509Certificate_Private_Impl::CreateResource(instance);
304 } 303 }
305 304
306 } // namespace content 305 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698