OLD | NEW |
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 | 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 | 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. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 // This file needs to be included again, even though we're actually included | 9 // This file needs to be included again, even though we're actually included |
10 // from it via utility_messages.h. | 10 // from it via utility_messages.h. |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 std::string /* data */) | 130 std::string /* data */) |
131 IPC_END_MESSAGES(Ppapi) | 131 IPC_END_MESSAGES(Ppapi) |
132 | 132 |
133 // ----------------------------------------------------------------------------- | 133 // ----------------------------------------------------------------------------- |
134 // These are from the plugin to the renderer. | 134 // These are from the plugin to the renderer. |
135 IPC_BEGIN_MESSAGES(PpapiHost) | 135 IPC_BEGIN_MESSAGES(PpapiHost) |
136 // Reply to PpapiMsg_LoadPlugin. | 136 // Reply to PpapiMsg_LoadPlugin. |
137 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded, | 137 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded, |
138 IPC::ChannelHandle /* handle */) | 138 IPC::ChannelHandle /* handle */) |
139 | 139 |
| 140 // PPB_Buffer. |
| 141 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
| 142 PP_Module /* module */, |
| 143 int32_t /* size */, |
| 144 PP_Resource /* result_resource */, |
| 145 uint64_t /* result_shm_handle */) |
| 146 |
140 // PPB_Core. | 147 // PPB_Core. |
141 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, PP_Resource) | 148 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, PP_Resource) |
142 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, PP_Resource) | 149 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, PP_Resource) |
143 | 150 |
144 // PPB_CharSet. | 151 // PPB_CharSet. |
145 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet, | 152 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet, |
146 string16 /* utf16 */, | 153 string16 /* utf16 */, |
147 std::string /* char_set */, | 154 std::string /* char_set */, |
148 int32_t /* on_error */, | 155 int32_t /* on_error */, |
149 std::string /* output */, | 156 std::string /* output */, |
150 bool /* output_is_success */) | 157 bool /* output_is_success */) |
151 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_CharSetToUTF16, | 158 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_CharSetToUTF16, |
152 std::string /* input */, | 159 std::string /* input */, |
153 std::string /* char_set */, | 160 std::string /* char_set */, |
154 int32_t /* on_error */, | 161 int32_t /* on_error */, |
155 string16 /* output */, | 162 string16 /* output */, |
156 bool /* output_is_success */) | 163 bool /* output_is_success */) |
157 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCharSet_GetDefaultCharSet, | 164 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCharSet_GetDefaultCharSet, |
158 PP_Module /* module */, | 165 PP_Module /* module */, |
159 pp::proxy::SerializedVar /* result */) | 166 pp::proxy::SerializedVar /* result */) |
160 | 167 |
| 168 // PPB_Flash. |
| 169 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, |
| 170 PP_Instance /* instance */, |
| 171 bool /* on_top */) |
| 172 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_DrawGlyphs, |
| 173 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */) |
| 174 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, |
| 175 PP_Module /* module */, |
| 176 std::string /* url */, |
| 177 pp::proxy::SerializedVar /* result */) |
| 178 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenModuleLocalFile, |
| 179 PP_Module /* module */, |
| 180 std::string /* path */, |
| 181 int32_t /* mode */, |
| 182 IPC::PlatformFileForTransit /* file_handle */, |
| 183 int32_t /* result */) |
| 184 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_RenameModuleLocalFile, |
| 185 PP_Module /* module */, |
| 186 std::string /* path_from */, |
| 187 std::string /* path_to */, |
| 188 int32_t /* result */) |
| 189 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_DeleteModuleLocalFileOrDir, |
| 190 PP_Module /* module */, |
| 191 std::string /* path */, |
| 192 bool /* recursive */, |
| 193 int32_t /* result */) |
| 194 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_CreateModuleLocalDir, |
| 195 PP_Module /* module */, |
| 196 std::string /* path */, |
| 197 int32_t /* result */) |
| 198 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryModuleLocalFile, |
| 199 PP_Module /* module */, |
| 200 std::string /* path */, |
| 201 PP_FileInfo_Dev /* info */, |
| 202 int32_t /* result */) |
| 203 IPC_SYNC_MESSAGE_ROUTED2_2( |
| 204 PpapiHostMsg_PPBFlash_GetModuleLocalDirContents, |
| 205 PP_Module /* module */, |
| 206 std::string /* path */, |
| 207 std::vector<pp::proxy::SerializedDirEntry> /* entries */, |
| 208 int32_t /* result */) |
| 209 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL, |
| 210 PP_Instance /* instance */, |
| 211 std::string /* url */, |
| 212 std::string /* target */, |
| 213 bool /* result */) |
| 214 |
161 // PPB_Font. | 215 // PPB_Font. |
162 IPC_SYNC_MESSAGE_ROUTED2_3( | 216 IPC_SYNC_MESSAGE_ROUTED2_3( |
163 PpapiHostMsg_PPBFont_Create, | 217 PpapiHostMsg_PPBFont_Create, |
164 PP_Module /* pp_module */, | 218 PP_Module /* pp_module */, |
165 pp::proxy::SerializedFontDescription /* in_description */, | 219 pp::proxy::SerializedFontDescription /* in_description */, |
166 PP_Resource /* result */, | 220 PP_Resource /* result */, |
167 pp::proxy::SerializedFontDescription /* out_description */, | 221 pp::proxy::SerializedFontDescription /* out_description */, |
168 std::string /* out_metrics */) | 222 std::string /* out_metrics */) |
169 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt, | 223 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt, |
170 pp::proxy::SerializedVar /* text */, | 224 pp::proxy::SerializedVar /* text */, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 PP_Bool /* result */) | 301 PP_Bool /* result */) |
248 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, | 302 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, |
249 PP_Instance /* instance */, | 303 PP_Instance /* instance */, |
250 PP_Bool /* result */) | 304 PP_Bool /* result */) |
251 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, | 305 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, |
252 PP_Instance /* instance */, | 306 PP_Instance /* instance */, |
253 pp::proxy::SerializedVar /* script */, | 307 pp::proxy::SerializedVar /* script */, |
254 pp::proxy::SerializedVar /* out_exception */, | 308 pp::proxy::SerializedVar /* out_exception */, |
255 pp::proxy::SerializedVar /* result */) | 309 pp::proxy::SerializedVar /* result */) |
256 | 310 |
| 311 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 312 PpapiHostMsg_PPBPdf_GetFontFileWithFallback, |
| 313 PP_Module /* module */, |
| 314 pp::proxy::SerializedFontDescription /* description */, |
| 315 int32_t /* charset */, |
| 316 PP_Resource /* result */) |
| 317 IPC_SYNC_MESSAGE_ROUTED2_1( |
| 318 PpapiHostMsg_PPBPdf_GetFontTableForPrivateFontFile, |
| 319 PP_Resource /* font_file */, |
| 320 uint32_t /* table */, |
| 321 std::string /* result */) |
| 322 |
257 // PPB_Testing. | 323 // PPB_Testing. |
258 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBTesting_ReadImageData, | 324 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBTesting_ReadImageData, |
259 PP_Resource /* device_context_2d */, | 325 PP_Resource /* device_context_2d */, |
260 PP_Resource /* image */, | 326 PP_Resource /* image */, |
261 PP_Point /* top_left */, | 327 PP_Point /* top_left */, |
262 PP_Bool /* result */) | 328 PP_Bool /* result */) |
263 IPC_SYNC_MESSAGE_ROUTED0_1(PpapiHostMsg_PPBTesting_RunMessageLoop, | 329 IPC_SYNC_MESSAGE_ROUTED0_1(PpapiHostMsg_PPBTesting_RunMessageLoop, |
264 bool /* dummy since there's no 0_0 variant */) | 330 bool /* dummy since there's no 0_0 variant */) |
265 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBTesting_QuitMessageLoop) | 331 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBTesting_QuitMessageLoop) |
266 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectCount, | 332 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectCount, |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 int64 /* object-data */, | 454 int64 /* object-data */, |
389 PP_Bool /* result */) | 455 PP_Bool /* result */) |
390 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 456 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
391 PP_Module /* module */, | 457 PP_Module /* module */, |
392 int64 /* object_class */, | 458 int64 /* object_class */, |
393 int64 /* object_data */, | 459 int64 /* object_data */, |
394 pp::proxy::SerializedVar /* result */) | 460 pp::proxy::SerializedVar /* result */) |
395 | 461 |
396 IPC_END_MESSAGES(PpapiHost) | 462 IPC_END_MESSAGES(PpapiHost) |
397 | 463 |
OLD | NEW |