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

Side by Side Diff: ppapi/proxy/ppapi_messages_internal.h

Issue 5526008: Simplify the magic required to create IPC message headers a bit. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/proxy/ppapi_messages.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. It is included by backing_store_messages_internal.h
7 // See ipc_message_macros.h for explanation of the macros and passes.
8
9 // This file needs to be included again, even though we're actually included
10 // from it via utility_messages.h.
11 #include "ipc/ipc_message_macros.h" 5 #include "ipc/ipc_message_macros.h"
6 #include "ppapi/c/dev/pp_file_info_dev.h"
7 #include "ppapi/c/ppb_var.h"
8
9 #define IPC_MESSAGE_START PpapiMsgStart
12 10
13 // These are from the plugin to the renderer 11 // These are from the plugin to the renderer
14 IPC_BEGIN_MESSAGES(Ppapi) 12 // Loads the given plugin.
15 // Loads the given plugin. 13 IPC_MESSAGE_CONTROL3(PpapiMsg_LoadPlugin,
16 IPC_MESSAGE_CONTROL3(PpapiMsg_LoadPlugin, 14 base::ProcessHandle /* host_process_handle */,
17 base::ProcessHandle /* host_process_handle */, 15 FilePath /* path */,
18 FilePath /* path */, 16 int /* renderer_id */)
19 int /* renderer_id */) 17
20 18 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_InitializeModule,
21 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_InitializeModule, 19 PP_Module /* module_id */,
22 PP_Module /* module_id */, 20 bool /* result */)
23 bool /* result */) 21
24 22 IPC_MESSAGE_CONTROL0(PpapiMsg_Shutdown)
25 IPC_MESSAGE_CONTROL0(PpapiMsg_Shutdown) 23
26 24 // Sent in both directions to see if the other side supports the given
27 // Sent in both directions to see if the other side supports the given 25 // interface.
28 // interface. 26 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface,
29 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, 27 std::string /* interface_name */,
30 std::string /* interface_name */, 28 bool /* result */)
31 bool /* result */) 29
32 30 // Way for the renderer to list all interfaces that is supports in advance to
33 // Way for the renderer to list all interfaces that is supports in advance to 31 // avoid extra IPC traffic.
34 // avoid extra IPC traffic. 32 IPC_MESSAGE_CONTROL1(PpapiMsg_DeclareInterfaces,
35 IPC_MESSAGE_CONTROL1(PpapiMsg_DeclareInterfaces, 33 std::vector<std::string> /* interfaces */)
36 std::vector<std::string> /* interfaces */) 34
37 35 IPC_MESSAGE_CONTROL2(PpapiMsg_ExecuteCallback,
38 IPC_MESSAGE_CONTROL2(PpapiMsg_ExecuteCallback, 36 uint32 /* serialized_callback */,
39 uint32 /* serialized_callback */, 37 int32 /* param */)
40 int32 /* param */) 38
41 39 // PPB_Audio.
42 // PPB_Audio. 40
43 41 // Notifies the result of the audio stream create call. This is called in
44 // Notifies the result of the audio stream create call. This is called in 42 // both error cases and in the normal success case. These cases are
45 // both error cases and in the normal success case. These cases are 43 // differentiated by the result code, which is one of the standard PPAPI
46 // differentiated by the result code, which is one of the standard PPAPI 44 // result codes.
47 // result codes. 45 //
48 // 46 // The handler of this message should always close all of the handles passed
49 // The handler of this message should always close all of the handles passed 47 // in, since some could be valid even in the error case.
50 // in, since some could be valid even in the error case. 48 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
51 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, 49 PP_Resource /* audio_id */,
52 PP_Resource /* audio_id */, 50 int32_t /* result_code (will be != PP_OK on failure) */,
53 int32_t /* result_code (will be != PP_OK on failure) */, 51 IPC::PlatformFileForTransit /* socket_handle */,
54 IPC::PlatformFileForTransit /* socket_handle */, 52 base::SharedMemoryHandle /* handle */,
55 base::SharedMemoryHandle /* handle */, 53 int32_t /* length */)
56 int32_t /* length */) 54
57 55 // PPB_Graphics2D.
58 // PPB_Graphics2D. 56 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,
59 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, 57 PP_Resource /* graphics_2d */,
60 PP_Resource /* graphics_2d */, 58 int32_t /* pp_error */)
61 int32_t /* pp_error */) 59
62 60 // PPP_Class.
63 // PPP_Class. 61 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty,
64 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, 62 int64 /* ppp_class */,
65 int64 /* ppp_class */, 63 int64 /* object */,
66 int64 /* object */, 64 pp::proxy::SerializedVar /* property */,
67 pp::proxy::SerializedVar /* property */, 65 pp::proxy::SerializedVar /* out_exception */,
68 pp::proxy::SerializedVar /* out_exception */, 66 bool /* result */)
69 bool /* result */) 67 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod,
70 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod, 68 int64 /* ppp_class */,
71 int64 /* ppp_class */, 69 int64 /* object */,
72 int64 /* object */, 70 pp::proxy::SerializedVar /* method */,
73 pp::proxy::SerializedVar /* method */, 71 pp::proxy::SerializedVar /* out_exception */,
74 pp::proxy::SerializedVar /* out_exception */, 72 bool /* result */)
75 bool /* result */) 73 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_GetProperty,
76 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_GetProperty, 74 int64 /* ppp_class */,
77 int64 /* ppp_class */, 75 int64 /* object */,
78 int64 /* object */, 76 pp::proxy::SerializedVar /* property */,
79 pp::proxy::SerializedVar /* property */, 77 pp::proxy::SerializedVar /* out_exception */,
80 pp::proxy::SerializedVar /* out_exception */, 78 pp::proxy::SerializedVar /* result */)
81 pp::proxy::SerializedVar /* result */) 79 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiMsg_PPPClass_EnumerateProperties,
82 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiMsg_PPPClass_EnumerateProperties, 80 int64 /* ppp_class */,
83 int64 /* ppp_class */, 81 int64 /* object */,
84 int64 /* object */, 82 std::vector<pp::proxy::SerializedVar> /* props */,
85 std::vector<pp::proxy::SerializedVar> /* props */, 83 pp::proxy::SerializedVar /* out_exception */)
86 pp::proxy::SerializedVar /* out_exception */) 84 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiMsg_PPPClass_SetProperty,
87 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiMsg_PPPClass_SetProperty, 85 int64 /* ppp_class */,
88 int64 /* ppp_class */, 86 int64 /* object */,
89 int64 /* object */, 87 pp::proxy::SerializedVar /* name */,
90 pp::proxy::SerializedVar /* name */, 88 pp::proxy::SerializedVar /* value */,
91 pp::proxy::SerializedVar /* value */, 89 pp::proxy::SerializedVar /* out_exception */)
92 pp::proxy::SerializedVar /* out_exception */) 90 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPClass_RemoveProperty,
93 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPClass_RemoveProperty, 91 int64 /* ppp_class */,
94 int64 /* ppp_class */, 92 int64 /* object */,
95 int64 /* object */, 93 pp::proxy::SerializedVar /* property */,
96 pp::proxy::SerializedVar /* property */, 94 pp::proxy::SerializedVar /* out_exception */)
97 pp::proxy::SerializedVar /* out_exception */) 95 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiMsg_PPPClass_Call,
98 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiMsg_PPPClass_Call, 96 int64 /* ppp_class */,
99 int64 /* ppp_class */, 97 int64 /* object */,
100 int64 /* object */, 98 pp::proxy::SerializedVar /* method_name */,
101 pp::proxy::SerializedVar /* method_name */, 99 std::vector<pp::proxy::SerializedVar> /* args */,
102 std::vector<pp::proxy::SerializedVar> /* args */, 100 pp::proxy::SerializedVar /* out_exception */,
103 pp::proxy::SerializedVar /* out_exception */, 101 pp::proxy::SerializedVar /* result */)
104 pp::proxy::SerializedVar /* result */) 102 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_Construct,
105 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_Construct, 103 int64 /* ppp_class */,
106 int64 /* ppp_class */, 104 int64 /* object */,
107 int64 /* object */, 105 std::vector<pp::proxy::SerializedVar> /* args */,
108 std::vector<pp::proxy::SerializedVar> /* args */, 106 pp::proxy::SerializedVar /* out_exception */,
109 pp::proxy::SerializedVar /* out_exception */, 107 pp::proxy::SerializedVar /* result */)
110 pp::proxy::SerializedVar /* result */) 108 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPClass_Deallocate,
111 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPClass_Deallocate, 109 int64 /* ppp_class */,
112 int64 /* ppp_class */, 110 int64 /* object */)
113 int64 /* object */) 111
114 112 // PPP_Instance.
115 // PPP_Instance. 113 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPInstance_DidCreate,
116 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPInstance_DidCreate, 114 PP_Instance /* instance */,
117 PP_Instance /* instance */, 115 std::vector<std::string> /* argn */,
118 std::vector<std::string> /* argn */, 116 std::vector<std::string> /* argv */,
119 std::vector<std::string> /* argv */, 117 PP_Bool /* result */)
120 PP_Bool /* result */) 118 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPInstance_DidDestroy,
121 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPInstance_DidDestroy, 119 PP_Instance /* instance */)
122 PP_Instance /* instance */) 120 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPInstance_DidChangeView,
123 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPInstance_DidChangeView, 121 PP_Instance /* instance */,
124 PP_Instance /* instance */, 122 PP_Rect /* position */,
125 PP_Rect /* position */, 123 PP_Rect /* clip */)
126 PP_Rect /* clip */) 124 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInstance_DidChangeFocus,
127 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInstance_DidChangeFocus, 125 PP_Instance /* instance */,
128 PP_Instance /* instance */, 126 PP_Bool /* has_focus */)
129 PP_Bool /* has_focus */) 127 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleInputEvent,
130 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleInputEvent, 128 PP_Instance /* instance */,
131 PP_Instance /* instance */, 129 PP_InputEvent /* event */,
132 PP_InputEvent /* event */, 130 PP_Bool /* result */)
133 PP_Bool /* result */) 131 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleDocumentLoad,
134 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleDocumentLoad, 132 PP_Instance /* instance */,
135 PP_Instance /* instance */, 133 PP_Resource /* url_loader */,
136 PP_Resource /* url_loader */, 134 PP_Bool /* result */)
137 PP_Bool /* result */) 135 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstance_GetInstanceObject,
138 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstance_GetInstanceObject, 136 PP_Instance /* instance */,
139 PP_Instance /* instance */, 137 pp::proxy::SerializedVar /* result */)
140 pp::proxy::SerializedVar /* result */) 138
141 139
142 140 // PPB_URLLoader
143 // PPB_URLLoader 141 // (Messages from browser to plugin to notify it of changes in state.)
144 // (Messages from browser to plugin to notify it of changes in state.) 142 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBURLLoader_UpdateProgress,
145 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBURLLoader_UpdateProgress, 143 PP_Resource /* resource */,
146 PP_Resource /* resource */, 144 int64 /* bytes_sent */,
147 int64 /* bytes_sent */, 145 int64 /* total_bytes_to_be_sent */,
148 int64 /* total_bytes_to_be_sent */, 146 int64 /* bytes_received */,
149 int64 /* bytes_received */, 147 int64 /* total_bytes_to_be_received */)
150 int64 /* total_bytes_to_be_received */) 148 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack,
151 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, 149 PP_Resource /* loader */,
152 PP_Resource /* loader */, 150 int32 /* result */,
153 int32 /* result */, 151 std::string /* data */)
154 std::string /* data */)
155 IPC_END_MESSAGES(Ppapi)
156 152
157 // ----------------------------------------------------------------------------- 153 // -----------------------------------------------------------------------------
158 // These are from the plugin to the renderer. 154 // These are from the plugin to the renderer.
159 IPC_BEGIN_MESSAGES(PpapiHost) 155 // Reply to PpapiMsg_LoadPlugin.
160 // Reply to PpapiMsg_LoadPlugin. 156 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded,
161 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded, 157 IPC::ChannelHandle /* handle */)
162 IPC::ChannelHandle /* handle */) 158
163 159 // PPB_Audio.
164 // PPB_Audio. 160 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBAudio_Create,
165 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBAudio_Create, 161 PP_Instance /* instance_id */,
166 PP_Instance /* instance_id */, 162 PP_Resource /* config_id */,
167 PP_Resource /* config_id */, 163 PP_Resource /* result */)
168 PP_Resource /* result */) 164 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop,
169 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, 165 PP_Resource /* audio_id */,
170 PP_Resource /* audio_id */, 166 bool /* play */)
171 bool /* play */) 167
172 168 // PPB_AudioConfig.
173 // PPB_AudioConfig. 169 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioConfig_Create,
174 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioConfig_Create, 170 PP_Module /* module */,
175 PP_Module /* module */, 171 int32_t /* sample_rate */,
176 int32_t /* sample_rate */, 172 uint32_t /* sample_frame_count */,
177 uint32_t /* sample_frame_count */, 173 PP_Resource /* result */)
178 PP_Resource /* result */) 174 IPC_SYNC_MESSAGE_ROUTED1_1(
179 IPC_SYNC_MESSAGE_ROUTED1_1( 175 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount,
180 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, 176 uint32_t /* requested */,
181 uint32_t /* requested */, 177 uint32_t /* result */)
182 uint32_t /* result */) 178
183 179 // PPB_Buffer.
184 // PPB_Buffer. 180 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create,
185 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, 181 PP_Module /* module */,
186 PP_Module /* module */, 182 uint32_t /* size */,
187 uint32_t /* size */, 183 PP_Resource /* result_resource */,
188 PP_Resource /* result_resource */, 184 int32_t /* result_shm_handle */)
189 int32_t /* result_shm_handle */) 185
190 186 // PPB_Core.
191 // PPB_Core. 187 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, PP_Resource)
192 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, PP_Resource) 188 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, PP_Resource)
193 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, PP_Resource) 189
194 190 // PPB_CharSet.
195 // PPB_CharSet. 191 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet,
196 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet, 192 string16 /* utf16 */,
197 string16 /* utf16 */, 193 std::string /* char_set */,
198 std::string /* char_set */, 194 int32_t /* on_error */,
199 int32_t /* on_error */, 195 std::string /* output */,
200 std::string /* output */, 196 bool /* output_is_success */)
201 bool /* output_is_success */) 197 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_CharSetToUTF16,
202 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_CharSetToUTF16, 198 std::string /* input */,
203 std::string /* input */, 199 std::string /* char_set */,
204 std::string /* char_set */, 200 int32_t /* on_error */,
205 int32_t /* on_error */, 201 string16 /* output */,
206 string16 /* output */, 202 bool /* output_is_success */)
207 bool /* output_is_success */) 203 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCharSet_GetDefaultCharSet,
208 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCharSet_GetDefaultCharSet, 204 PP_Module /* module */,
209 PP_Module /* module */, 205 pp::proxy::SerializedVar /* result */)
210 pp::proxy::SerializedVar /* result */) 206
211 207 // PPB_CursorControl.
212 // PPB_CursorControl. 208 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor,
213 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, 209 PP_Instance /* instance */,
214 PP_Instance /* instance */, 210 int32_t /* type */,
215 int32_t /* type */, 211 PP_Resource /* custom_image */,
216 PP_Resource /* custom_image */, 212 PP_Point /* hot_spot */,
217 PP_Point /* hot_spot */, 213 PP_Bool /* result */)
218 PP_Bool /* result */) 214 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_LockCursor,
219 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_LockCursor, 215 PP_Instance /* instance */,
220 PP_Instance /* instance */, 216 PP_Bool /* result */)
221 PP_Bool /* result */) 217 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor,
222 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, 218 PP_Instance /* instance */,
223 PP_Instance /* instance */, 219 PP_Bool /* result */)
224 PP_Bool /* result */) 220 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock,
225 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, 221 PP_Instance /* instance */,
226 PP_Instance /* instance */, 222 PP_Bool /* result */)
227 PP_Bool /* result */) 223 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_CanLockCursor,
228 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_CanLockCursor, 224 PP_Instance /* instance */,
229 PP_Instance /* instance */, 225 PP_Bool /* result */)
230 PP_Bool /* result */) 226
231 227 // PPB_Flash.
232 // PPB_Flash. 228 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop,
233 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, 229 PP_Instance /* instance */,
234 PP_Instance /* instance */, 230 bool /* on_top */)
235 bool /* on_top */) 231 // This has to be synchronous becuase the caller may want to composite on
236 // This has to be synchronous becuase the caller may want to composite on 232 // top of the resulting text after the call is complete.
237 // top of the resulting text after the call is complete. 233 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs,
238 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs, 234 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */,
239 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */, 235 bool /* result */)
240 bool /* result */) 236 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL,
241 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, 237 PP_Module /* module */,
242 PP_Module /* module */, 238 std::string /* url */,
243 std::string /* url */, 239 pp::proxy::SerializedVar /* result */)
244 pp::proxy::SerializedVar /* result */) 240 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenModuleLocalFile,
245 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenModuleLocalFile, 241 PP_Module /* module */,
246 PP_Module /* module */, 242 std::string /* path */,
247 std::string /* path */, 243 int32_t /* mode */,
248 int32_t /* mode */, 244 IPC::PlatformFileForTransit /* file_handle */,
249 IPC::PlatformFileForTransit /* file_handle */, 245 int32_t /* result */)
250 int32_t /* result */) 246 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_RenameModuleLocalFile,
251 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_RenameModuleLocalFile, 247 PP_Module /* module */,
252 PP_Module /* module */, 248 std::string /* path_from */,
253 std::string /* path_from */, 249 std::string /* path_to */,
254 std::string /* path_to */, 250 int32_t /* result */)
255 int32_t /* result */) 251 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_DeleteModuleLocalFileOrDir,
256 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_DeleteModuleLocalFileOrDir, 252 PP_Module /* module */,
257 PP_Module /* module */, 253 std::string /* path */,
258 std::string /* path */, 254 bool /* recursive */,
259 bool /* recursive */, 255 int32_t /* result */)
260 int32_t /* result */) 256 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_CreateModuleLocalDir,
261 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_CreateModuleLocalDir, 257 PP_Module /* module */,
262 PP_Module /* module */, 258 std::string /* path */,
263 std::string /* path */, 259 int32_t /* result */)
264 int32_t /* result */) 260 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryModuleLocalFile,
265 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryModuleLocalFile, 261 PP_Module /* module */,
266 PP_Module /* module */, 262 std::string /* path */,
267 std::string /* path */, 263 PP_FileInfo_Dev /* info */,
268 PP_FileInfo_Dev /* info */, 264 int32_t /* result */)
269 int32_t /* result */) 265 IPC_SYNC_MESSAGE_ROUTED2_2(
270 IPC_SYNC_MESSAGE_ROUTED2_2( 266 PpapiHostMsg_PPBFlash_GetModuleLocalDirContents,
271 PpapiHostMsg_PPBFlash_GetModuleLocalDirContents, 267 PP_Module /* module */,
272 PP_Module /* module */, 268 std::string /* path */,
273 std::string /* path */, 269 std::vector<pp::proxy::SerializedDirEntry> /* entries */,
274 std::vector<pp::proxy::SerializedDirEntry> /* entries */, 270 int32_t /* result */)
275 int32_t /* result */) 271 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL,
276 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL, 272 PP_Instance /* instance */,
277 PP_Instance /* instance */, 273 std::string /* url */,
278 std::string /* url */, 274 std::string /* target */,
279 std::string /* target */, 275 bool /* result */)
280 bool /* result */) 276
281 277 // PPB_Font.
282 // PPB_Font. 278 IPC_SYNC_MESSAGE_ROUTED2_3(
283 IPC_SYNC_MESSAGE_ROUTED2_3( 279 PpapiHostMsg_PPBFont_Create,
284 PpapiHostMsg_PPBFont_Create, 280 PP_Module /* pp_module */,
285 PP_Module /* pp_module */, 281 pp::proxy::SerializedFontDescription /* in_description */,
286 pp::proxy::SerializedFontDescription /* in_description */, 282 PP_Resource /* result */,
287 PP_Resource /* result */, 283 pp::proxy::SerializedFontDescription /* out_description */,
288 pp::proxy::SerializedFontDescription /* out_description */, 284 std::string /* out_metrics */)
289 std::string /* out_metrics */) 285 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt,
290 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt, 286 pp::proxy::SerializedVar /* text */,
291 pp::proxy::SerializedVar /* text */, 287 pp::proxy::PPBFont_DrawTextAt_Params /* params */,
292 pp::proxy::PPBFont_DrawTextAt_Params /* params */, 288 PP_Bool /* result */)
293 PP_Bool /* result */) 289 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFont_MeasureText,
294 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFont_MeasureText, 290 PP_Resource /* font */,
295 PP_Resource /* font */, 291 pp::proxy::SerializedVar /* text */,
296 pp::proxy::SerializedVar /* text */, 292 PP_Bool /* text_is_rtl */,
297 PP_Bool /* text_is_rtl */, 293 PP_Bool /* override_direction */,
298 PP_Bool /* override_direction */, 294 int32_t /* result */)
299 int32_t /* result */) 295 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_CharacterOffsetForPixel,
300 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_CharacterOffsetForPixel, 296 PP_Resource /* font */,
301 PP_Resource /* font */, 297 pp::proxy::SerializedVar /* text */,
302 pp::proxy::SerializedVar /* text */, 298 PP_Bool /* text_is_rtl */,
303 PP_Bool /* text_is_rtl */, 299 PP_Bool /* override_direction */,
304 PP_Bool /* override_direction */, 300 int32_t /* pixel_pos */,
305 int32_t /* pixel_pos */, 301 uint32_t /* result */)
306 uint32_t /* result */) 302 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_PixelOffsetForCharacter,
307 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_PixelOffsetForCharacter, 303 PP_Resource /* font */,
308 PP_Resource /* font */, 304 pp::proxy::SerializedVar /* text */,
309 pp::proxy::SerializedVar /* text */, 305 PP_Bool /* text_is_rtl */,
310 PP_Bool /* text_is_rtl */, 306 PP_Bool /* override_direction */,
311 PP_Bool /* override_direction */, 307 uint32_t /* char_offset */,
312 uint32_t /* char_offset */, 308 int32_t /* result */)
313 int32_t /* result */) 309
314 310 // PPB_Fullscreen.
315 // PPB_Fullscreen. 311 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFullscreen_IsFullscreen,
316 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFullscreen_IsFullscreen, 312 PP_Instance /* instance */,
317 PP_Instance /* instance */, 313 PP_Bool /* result */)
318 PP_Bool /* result */) 314 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFullscreen_SetFullscreen,
319 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFullscreen_SetFullscreen, 315 PP_Instance /* instance */,
320 PP_Instance /* instance */, 316 PP_Bool /* fullscreen */,
321 PP_Bool /* fullscreen */, 317 PP_Bool /* result */)
322 PP_Bool /* result */) 318
323 319 // PPB_Graphics2D.
324 // PPB_Graphics2D. 320 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create,
325 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, 321 PP_Module /* module */,
326 PP_Module /* module */, 322 PP_Size /* size */,
327 PP_Size /* size */, 323 PP_Bool /* is_always_opaque */,
328 PP_Bool /* is_always_opaque */, 324 PP_Resource /* result */)
329 PP_Resource /* result */) 325 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData,
330 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, 326 PP_Resource /* graphics_2d */,
331 PP_Resource /* graphics_2d */, 327 PP_Resource /* image_data */,
332 PP_Resource /* image_data */, 328 PP_Point /* top_left */,
333 PP_Point /* top_left */, 329 bool /* src_rect_specified */,
334 bool /* src_rect_specified */, 330 PP_Rect /* src_rect */)
335 PP_Rect /* src_rect */) 331 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll,
336 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll, 332 PP_Resource /* graphics_2d */,
337 PP_Resource /* graphics_2d */, 333 bool /* clip_specified */,
338 bool /* clip_specified */, 334 PP_Rect /* clip */,
339 PP_Rect /* clip */, 335 PP_Point /* amount */)
340 PP_Point /* amount */) 336 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents,
341 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, 337 PP_Resource /* graphics_2d */,
342 PP_Resource /* graphics_2d */, 338 PP_Resource /* image_data */)
343 PP_Resource /* image_data */) 339 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush,
344 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, 340 PP_Resource /* graphics_2d */)
345 PP_Resource /* graphics_2d */) 341
346 342 // PPB_ImageData.
347 // PPB_ImageData. 343 IPC_SYNC_MESSAGE_ROUTED0_1(
348 IPC_SYNC_MESSAGE_ROUTED0_1( 344 PpapiHostMsg_PPBImageData_GetNativeImageDataFormat,
349 PpapiHostMsg_PPBImageData_GetNativeImageDataFormat, 345 int32 /* result_format */)
350 int32 /* result_format */) 346 IPC_SYNC_MESSAGE_ROUTED1_1(
351 IPC_SYNC_MESSAGE_ROUTED1_1( 347 PpapiHostMsg_PPBImageData_IsImageDataFormatSupported,
352 PpapiHostMsg_PPBImageData_IsImageDataFormatSupported, 348 int32 /* format */,
353 int32 /* format */, 349 PP_Bool /* result */)
354 PP_Bool /* result */) 350 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create,
355 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, 351 PP_Module /* module */,
356 PP_Module /* module */, 352 int32 /* format */,
357 int32 /* format */, 353 PP_Size /* size */,
358 PP_Size /* size */, 354 PP_Bool /* init_to_zero */,
359 PP_Bool /* init_to_zero */, 355 PP_Resource /* result_resource */,
360 PP_Resource /* result_resource */, 356 std::string /* image_data_desc */,
361 std::string /* image_data_desc */, 357 int32_t /* result_shm_handle */)
362 int32_t /* result_shm_handle */) 358
363 359 // PPB_Instance.
364 // PPB_Instance. 360 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject,
365 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, 361 PP_Instance /* instance */,
366 PP_Instance /* instance */, 362 pp::proxy::SerializedVar /* result */)
367 pp::proxy::SerializedVar /* result */) 363 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject,
368 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, 364 PP_Instance /* instance */,
369 PP_Instance /* instance */, 365 pp::proxy::SerializedVar /* result */)
370 pp::proxy::SerializedVar /* result */) 366 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics,
371 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, 367 PP_Instance /* instance */,
372 PP_Instance /* instance */, 368 PP_Resource /* device */,
373 PP_Resource /* device */, 369 PP_Bool /* result */)
374 PP_Bool /* result */) 370 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame,
375 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, 371 PP_Instance /* instance */,
376 PP_Instance /* instance */, 372 PP_Bool /* result */)
377 PP_Bool /* result */) 373 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript,
378 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, 374 PP_Instance /* instance */,
379 PP_Instance /* instance */, 375 pp::proxy::SerializedVar /* script */,
380 pp::proxy::SerializedVar /* script */, 376 pp::proxy::SerializedVar /* out_exception */,
381 pp::proxy::SerializedVar /* out_exception */, 377 pp::proxy::SerializedVar /* result */)
382 pp::proxy::SerializedVar /* result */) 378
383 379 IPC_SYNC_MESSAGE_ROUTED3_1(
384 IPC_SYNC_MESSAGE_ROUTED3_1( 380 PpapiHostMsg_PPBPdf_GetFontFileWithFallback,
385 PpapiHostMsg_PPBPdf_GetFontFileWithFallback, 381 PP_Module /* module */,
386 PP_Module /* module */, 382 pp::proxy::SerializedFontDescription /* description */,
387 pp::proxy::SerializedFontDescription /* description */, 383 int32_t /* charset */,
388 int32_t /* charset */, 384 PP_Resource /* result */)
389 PP_Resource /* result */) 385 IPC_SYNC_MESSAGE_ROUTED2_1(
390 IPC_SYNC_MESSAGE_ROUTED2_1( 386 PpapiHostMsg_PPBPdf_GetFontTableForPrivateFontFile,
391 PpapiHostMsg_PPBPdf_GetFontTableForPrivateFontFile, 387 PP_Resource /* font_file */,
392 PP_Resource /* font_file */, 388 uint32_t /* table */,
393 uint32_t /* table */, 389 std::string /* result */)
394 std::string /* result */) 390
395 391 // PPB_Testing.
396 // PPB_Testing. 392 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBTesting_ReadImageData,
397 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBTesting_ReadImageData, 393 PP_Resource /* device_context_2d */,
398 PP_Resource /* device_context_2d */, 394 PP_Resource /* image */,
399 PP_Resource /* image */, 395 PP_Point /* top_left */,
400 PP_Point /* top_left */, 396 PP_Bool /* result */)
401 PP_Bool /* result */) 397 IPC_SYNC_MESSAGE_ROUTED0_1(PpapiHostMsg_PPBTesting_RunMessageLoop,
402 IPC_SYNC_MESSAGE_ROUTED0_1(PpapiHostMsg_PPBTesting_RunMessageLoop, 398 bool /* dummy since there's no 0_0 variant */)
403 bool /* dummy since there's no 0_0 variant */) 399 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBTesting_QuitMessageLoop)
404 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBTesting_QuitMessageLoop) 400 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectCount,
405 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectCount, 401 PP_Module /* module */,
406 PP_Module /* module */, 402 uint32 /* result */)
407 uint32 /* result */) 403
408 404 // PPB_URLLoader.
409 // PPB_URLLoader. 405 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create,
410 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create, 406 PP_Instance /* instance */,
411 PP_Instance /* instance */, 407 PP_Resource /* result */)
412 PP_Resource /* result */) 408 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLLoader_Open,
413 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLLoader_Open, 409 PP_Resource /* loader */,
414 PP_Resource /* loader */, 410 PP_Resource /*request_info */,
415 PP_Resource /*request_info */, 411 uint32_t /* serialized_callback */)
416 uint32_t /* serialized_callback */) 412 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FollowRedirect,
417 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FollowRedirect, 413 PP_Resource /* loader */,
418 PP_Resource /* loader */, 414 uint32_t /* serialized_callback */)
419 uint32_t /* serialized_callback */) 415 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_GetResponseInfo,
420 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_GetResponseInfo, 416 PP_Resource /* loader */,
421 PP_Resource /* loader */, 417 PP_Resource /* response_info_out */)
422 PP_Resource /* response_info_out */) 418 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_ReadResponseBody,
423 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_ReadResponseBody, 419 PP_Resource /* loader */,
424 PP_Resource /* loader */, 420 int32_t /* bytes_to_read */)
425 int32_t /* bytes_to_read */) 421 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FinishStreamingToFile,
426 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FinishStreamingToFile, 422 PP_Resource /* loader */,
427 PP_Resource /* loader */, 423 uint32_t /* serialized_callback */)
428 uint32_t /* serialized_callback */) 424 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_Close,
429 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_Close, 425 PP_Resource /* loader */)
430 PP_Resource /* loader */) 426
431 427 // PPB_URLLoaderTrusted.
432 // PPB_URLLoaderTrusted. 428 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoaderTrusted_GrantUniversalAccess,
433 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoaderTrusted_GrantUniversalAccess, 429 PP_Resource /* loader */)
434 PP_Resource /* loader */) 430
435 431 // PPB_URLRequestInfo.
436 // PPB_URLRequestInfo. 432 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLRequestInfo_Create,
437 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLRequestInfo_Create, 433 PP_Module /* module */,
438 PP_Module /* module */, 434 PP_Resource /* result */)
439 PP_Resource /* result */) 435 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLRequestInfo_SetProperty,
440 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLRequestInfo_SetProperty, 436 PP_Resource /* request */,
441 PP_Resource /* request */, 437 int32_t /* property */,
442 int32_t /* property */, 438 pp::proxy::SerializedVar /* value */)
443 pp::proxy::SerializedVar /* value */) 439 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLRequestInfo_AppendDataToBody,
444 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLRequestInfo_AppendDataToBody, 440 PP_Resource /* request */,
445 PP_Resource /* request */, 441 std::string /* data */)
446 std::string /* data */) 442 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBURLRequestInfo_AppendFileToBody,
447 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBURLRequestInfo_AppendFileToBody, 443 PP_Resource /* request */,
448 PP_Resource /* request */, 444 PP_Resource /* file_ref */,
449 PP_Resource /* file_ref */, 445 int64_t /* start_offset */,
450 int64_t /* start_offset */, 446 int64_t /* number_of_bytes */,
451 int64_t /* number_of_bytes */, 447 double /* expected_last_modified_time */)
452 double /* expected_last_modified_time */) 448
453 449 // PPB_URLResponseInfo.
454 // PPB_URLResponseInfo. 450 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBURLResponseInfo_GetProperty,
455 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBURLResponseInfo_GetProperty, 451 PP_Resource /* response */,
456 PP_Resource /* response */, 452 int32_t /* property */,
457 int32_t /* property */, 453 pp::proxy::SerializedVar /* result */)
458 pp::proxy::SerializedVar /* result */) 454 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLResponseInfo_GetBodyAsFileRef,
459 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLResponseInfo_GetBodyAsFileRef, 455 PP_Resource /* response */,
460 PP_Resource /* response */, 456 PP_Resource /* file_ref_result */)
461 PP_Resource /* file_ref_result */) 457
462 458 // PPB_Var.
463 // PPB_Var. 459 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject,
464 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject, 460 int64 /* object_id */)
465 int64 /* object_id */) 461 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject,
466 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, 462 int64 /* object_id */)
467 int64 /* object_id */) 463 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType,
468 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType, 464 PP_Instance /* instance */,
469 PP_Instance /* instance */, 465 pp::proxy::SerializedVar /* var */,
470 pp::proxy::SerializedVar /* var */, 466 int /* new_type */,
471 int /* new_type */, 467 pp::proxy::SerializedVar /* exception */,
472 pp::proxy::SerializedVar /* exception */, 468 pp::proxy::SerializedVar /* result */)
473 pp::proxy::SerializedVar /* result */) 469 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVar_DefineProperty,
474 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVar_DefineProperty, 470 pp::proxy::SerializedVar /* object */,
475 pp::proxy::SerializedVar /* object */, 471 PP_ObjectProperty /* property */,
476 PP_ObjectProperty /* property */, 472 pp::proxy::SerializedVar /* out_exception */)
477 pp::proxy::SerializedVar /* out_exception */) 473 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasProperty,
478 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasProperty, 474 pp::proxy::SerializedVar /* object */,
479 pp::proxy::SerializedVar /* object */, 475 pp::proxy::SerializedVar /* property */,
480 pp::proxy::SerializedVar /* property */, 476 pp::proxy::SerializedVar /* out_exception */,
481 pp::proxy::SerializedVar /* out_exception */, 477 PP_Bool /* result */)
482 PP_Bool /* result */) 478 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasMethodDeprecated,
483 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_HasMethodDeprecated, 479 pp::proxy::SerializedVar /* object */,
484 pp::proxy::SerializedVar /* object */, 480 pp::proxy::SerializedVar /* method */,
485 pp::proxy::SerializedVar /* method */, 481 pp::proxy::SerializedVar /* out_exception */,
486 pp::proxy::SerializedVar /* out_exception */, 482 PP_Bool /* result */)
487 PP_Bool /* result */) 483 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_GetProperty,
488 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_GetProperty, 484 pp::proxy::SerializedVar /* object */,
489 pp::proxy::SerializedVar /* object */, 485 pp::proxy::SerializedVar /* property */,
490 pp::proxy::SerializedVar /* property */, 486 pp::proxy::SerializedVar /* out_exception */,
491 pp::proxy::SerializedVar /* out_exception */, 487 pp::proxy::SerializedVar /* result */)
492 pp::proxy::SerializedVar /* result */) 488 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_DeleteProperty,
493 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_DeleteProperty, 489 pp::proxy::SerializedVar /* object */,
494 pp::proxy::SerializedVar /* object */, 490 pp::proxy::SerializedVar /* property */,
495 pp::proxy::SerializedVar /* property */, 491 pp::proxy::SerializedVar /* out_exception */,
496 pp::proxy::SerializedVar /* out_exception */, 492 PP_Bool /* result */)
497 PP_Bool /* result */) 493 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBVar_EnumerateProperties,
498 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBVar_EnumerateProperties, 494 pp::proxy::SerializedVar /* object */,
499 pp::proxy::SerializedVar /* object */, 495 std::vector<pp::proxy::SerializedVar> /* props */,
500 std::vector<pp::proxy::SerializedVar> /* props */, 496 pp::proxy::SerializedVar /* out_exception */)
501 pp::proxy::SerializedVar /* out_exception */) 497 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_SetPropertyDeprecated,
502 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_SetPropertyDeprecated, 498 pp::proxy::SerializedVar /* object */,
503 pp::proxy::SerializedVar /* object */, 499 pp::proxy::SerializedVar /* name */,
504 pp::proxy::SerializedVar /* name */, 500 pp::proxy::SerializedVar /* value */,
505 pp::proxy::SerializedVar /* value */, 501 pp::proxy::SerializedVar /* out_exception */)
506 pp::proxy::SerializedVar /* out_exception */) 502 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVar_IsCallable,
507 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVar_IsCallable, 503 pp::proxy::SerializedVar /* object */,
508 pp::proxy::SerializedVar /* object */, 504 PP_Bool /* result */)
509 PP_Bool /* result */) 505 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiHostMsg_PPBVar_Call,
510 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiHostMsg_PPBVar_Call, 506 pp::proxy::SerializedVar /* object */,
511 pp::proxy::SerializedVar /* object */, 507 pp::proxy::SerializedVar /* this_object */,
512 pp::proxy::SerializedVar /* this_object */, 508 pp::proxy::SerializedVar /* method_name */,
513 pp::proxy::SerializedVar /* method_name */, 509 std::vector<pp::proxy::SerializedVar> /* args */,
514 std::vector<pp::proxy::SerializedVar> /* args */, 510 pp::proxy::SerializedVar /* out_exception */,
515 pp::proxy::SerializedVar /* out_exception */, 511 pp::proxy::SerializedVar /* result */)
516 pp::proxy::SerializedVar /* result */) 512 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_CallDeprecated,
517 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_CallDeprecated, 513 pp::proxy::SerializedVar /* object */,
518 pp::proxy::SerializedVar /* object */, 514 pp::proxy::SerializedVar /* method_name */,
519 pp::proxy::SerializedVar /* method_name */, 515 std::vector<pp::proxy::SerializedVar> /* args */,
520 std::vector<pp::proxy::SerializedVar> /* args */, 516 pp::proxy::SerializedVar /* out_exception */,
521 pp::proxy::SerializedVar /* out_exception */, 517 pp::proxy::SerializedVar /* result */)
522 pp::proxy::SerializedVar /* result */) 518 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_Construct,
523 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_Construct, 519 pp::proxy::SerializedVar /* object */,
524 pp::proxy::SerializedVar /* object */, 520 std::vector<pp::proxy::SerializedVar> /* args */,
525 std::vector<pp::proxy::SerializedVar> /* args */, 521 pp::proxy::SerializedVar /* out_exception */,
526 pp::proxy::SerializedVar /* out_exception */, 522 pp::proxy::SerializedVar /* result */)
527 pp::proxy::SerializedVar /* result */) 523 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated,
528 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, 524 pp::proxy::SerializedVar /* var */,
529 pp::proxy::SerializedVar /* var */, 525 int64 /* object_class */,
530 int64 /* object_class */, 526 int64 /* object-data */,
531 int64 /* object-data */, 527 PP_Bool /* result */)
532 PP_Bool /* result */) 528 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
533 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 529 PP_Module /* module */,
534 PP_Module /* module */, 530 int64 /* object_class */,
535 int64 /* object_class */, 531 int64 /* object_data */,
536 int64 /* object_data */, 532 pp::proxy::SerializedVar /* result */)
537 pp::proxy::SerializedVar /* result */)
538
539 IPC_END_MESSAGES(PpapiHost)
540
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698