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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 9585033: Revert 124797 - Add NetworkList/NetworkMonitor hooks and C++ wrappers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « ppapi/thunk/ppb_network_monitor_private_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:mergeinfo
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 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/ppb_audio.h" 14 #include "ppapi/c/ppb_audio.h"
15 #include "ppapi/c/ppb_audio_config.h" 15 #include "ppapi/c/ppb_audio_config.h"
16 #include "ppapi/c/ppb_file_system.h" 16 #include "ppapi/c/ppb_file_system.h"
17 #include "ppapi/c/ppb_graphics_3d.h" 17 #include "ppapi/c/ppb_graphics_3d.h"
18 #include "ppapi/c/ppb_image_data.h" 18 #include "ppapi/c/ppb_image_data.h"
19 #include "ppapi/c/ppb_input_event.h" 19 #include "ppapi/c/ppb_input_event.h"
20 #include "ppapi/c/ppb_websocket.h" 20 #include "ppapi/c/ppb_websocket.h"
21 #include "ppapi/c/dev/pp_video_dev.h" 21 #include "ppapi/c/dev/pp_video_dev.h"
22 #include "ppapi/c/dev/ppb_transport_dev.h" 22 #include "ppapi/c/dev/ppb_transport_dev.h"
23 #include "ppapi/c/private/ppb_network_monitor_private.h"
24 #include "ppapi/shared_impl/api_id.h" 23 #include "ppapi/shared_impl/api_id.h"
25 24
26 struct PP_Flash_Menu; 25 struct PP_Flash_Menu;
27 struct PP_BrowserFont_Trusted_Description; 26 struct PP_BrowserFont_Trusted_Description;
28 struct PP_Size; 27 struct PP_Size;
29 28
30 namespace ppapi { 29 namespace ppapi {
31 30
32 struct PPB_URLRequestInfo_Data; 31 struct PPB_URLRequestInfo_Data;
33 32
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 struct PP_Var character_text) = 0; 96 struct PP_Var character_text) = 0;
98 virtual PP_Resource CreateMouseInputEvent( 97 virtual PP_Resource CreateMouseInputEvent(
99 PP_Instance instance, 98 PP_Instance instance,
100 PP_InputEvent_Type type, 99 PP_InputEvent_Type type,
101 PP_TimeTicks time_stamp, 100 PP_TimeTicks time_stamp,
102 uint32_t modifiers, 101 uint32_t modifiers,
103 PP_InputEvent_MouseButton mouse_button, 102 PP_InputEvent_MouseButton mouse_button,
104 const PP_Point* mouse_position, 103 const PP_Point* mouse_position,
105 int32_t click_count, 104 int32_t click_count,
106 const PP_Point* mouse_movement) = 0; 105 const PP_Point* mouse_movement) = 0;
107 virtual PP_Resource CreateNetworkMonitor(
108 PP_Instance instance,
109 PPB_NetworkMonitor_Callback callback,
110 void* user_data) = 0;
111 virtual PP_Resource CreateResourceArray(PP_Instance instance, 106 virtual PP_Resource CreateResourceArray(PP_Instance instance,
112 const PP_Resource elements[], 107 const PP_Resource elements[],
113 uint32_t size) = 0; 108 uint32_t size) = 0;
114 virtual PP_Resource CreateScrollbar(PP_Instance instance, 109 virtual PP_Resource CreateScrollbar(PP_Instance instance,
115 PP_Bool vertical) = 0; 110 PP_Bool vertical) = 0;
116 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; 111 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0;
117 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 112 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
118 virtual PP_Resource CreateTransport(PP_Instance instance, 113 virtual PP_Resource CreateTransport(PP_Instance instance,
119 const char* name, 114 const char* name,
120 PP_TransportType type) = 0; 115 PP_TransportType type) = 0;
(...skipping 18 matching lines...) Expand all
139 const PP_FloatPoint* wheel_ticks, 134 const PP_FloatPoint* wheel_ticks,
140 PP_Bool scroll_by_page) = 0; 135 PP_Bool scroll_by_page) = 0;
141 136
142 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 137 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
143 }; 138 };
144 139
145 } // namespace thunk 140 } // namespace thunk
146 } // namespace ppapi 141 } // namespace ppapi
147 142
148 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_network_monitor_private_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698