| 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 #include "ipc/ipc_message_macros.h" | 5 #include "ipc/ipc_message_macros.h" |
| 6 #include "ppapi/c/dev/pp_file_info_dev.h" | 6 #include "ppapi/c/dev/pp_file_info_dev.h" |
| 7 #include "ppapi/c/ppb_var.h" | 7 #include "ppapi/c/ppb_var.h" |
| 8 | 8 |
| 9 #define IPC_MESSAGE_START PpapiMsgStart | 9 #define IPC_MESSAGE_START PpapiMsgStart |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 // PPB_Audio. | 39 // PPB_Audio. |
| 40 | 40 |
| 41 // Notifies the result of the audio stream create call. This is called in | 41 // 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 | 42 // 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 | 43 // differentiated by the result code, which is one of the standard PPAPI |
| 44 // result codes. | 44 // result codes. |
| 45 // | 45 // |
| 46 // The handler of this message should always close all of the handles passed | 46 // 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. | 47 // in, since some could be valid even in the error case. |
| 48 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 48 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
| 49 PP_Resource /* audio_id */, | 49 pp::proxy::PPBAudio_NotifyAudioStreamCreated_Params); |
| 50 int32_t /* result_code (will be != PP_OK on failure) */, | |
| 51 IPC::PlatformFileForTransit /* socket_handle */, | |
| 52 base::SharedMemoryHandle /* handle */, | |
| 53 int32_t /* length */) | |
| 54 | 50 |
| 55 // PPB_Graphics2D. | 51 // PPB_Graphics2D. |
| 56 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 52 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBGraphics2D_FlushACK, |
| 57 PP_Resource /* graphics_2d */, | 53 PP_Instance /* instance */, |
| 54 pp::proxy::SerializedResource /* graphics_2d */, |
| 58 int32_t /* pp_error */) | 55 int32_t /* pp_error */) |
| 59 | 56 |
| 60 // PPP_Class. | 57 // PPP_Class. |
| 61 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, | 58 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, |
| 62 int64 /* ppp_class */, | 59 int64 /* ppp_class */, |
| 63 int64 /* object */, | 60 int64 /* object */, |
| 64 pp::proxy::SerializedVar /* property */, | 61 pp::proxy::SerializedVar /* property */, |
| 65 pp::proxy::SerializedVar /* out_exception */, | 62 pp::proxy::SerializedVar /* out_exception */, |
| 66 bool /* result */) | 63 bool /* result */) |
| 67 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod, | 64 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 PP_Rect /* clip */) | 120 PP_Rect /* clip */) |
| 124 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInstance_DidChangeFocus, | 121 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInstance_DidChangeFocus, |
| 125 PP_Instance /* instance */, | 122 PP_Instance /* instance */, |
| 126 PP_Bool /* has_focus */) | 123 PP_Bool /* has_focus */) |
| 127 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleInputEvent, | 124 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleInputEvent, |
| 128 PP_Instance /* instance */, | 125 PP_Instance /* instance */, |
| 129 PP_InputEvent /* event */, | 126 PP_InputEvent /* event */, |
| 130 PP_Bool /* result */) | 127 PP_Bool /* result */) |
| 131 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleDocumentLoad, | 128 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleDocumentLoad, |
| 132 PP_Instance /* instance */, | 129 PP_Instance /* instance */, |
| 133 PP_Resource /* url_loader */, | 130 pp::proxy::SerializedResource /* url_loader */, |
| 134 PP_Bool /* result */) | 131 PP_Bool /* result */) |
| 135 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstance_GetInstanceObject, | 132 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstance_GetInstanceObject, |
| 136 PP_Instance /* instance */, | 133 PP_Instance /* instance */, |
| 137 pp::proxy::SerializedVar /* result */) | 134 pp::proxy::SerializedVar /* result */) |
| 138 | 135 |
| 139 | 136 |
| 140 // PPB_URLLoader | 137 // PPB_URLLoader |
| 141 // (Messages from browser to plugin to notify it of changes in state.) | 138 // (Messages from browser to plugin to notify it of changes in state.) |
| 142 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBURLLoader_UpdateProgress, | 139 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBURLLoader_UpdateProgress, |
| 143 PP_Resource /* resource */, | 140 pp::proxy::PPBURLLoader_UpdateProgress_Params /* params */) |
| 144 int64 /* bytes_sent */, | 141 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, |
| 145 int64 /* total_bytes_to_be_sent */, | 142 PP_Instance /* instance */, |
| 146 int64 /* bytes_received */, | 143 pp::proxy::SerializedResource /* loader */, |
| 147 int64 /* total_bytes_to_be_received */) | |
| 148 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, | |
| 149 PP_Resource /* loader */, | |
| 150 int32 /* result */, | 144 int32 /* result */, |
| 151 std::string /* data */) | 145 std::string /* data */) |
| 152 | 146 |
| 153 // ----------------------------------------------------------------------------- | 147 // ----------------------------------------------------------------------------- |
| 154 // These are from the plugin to the renderer. | 148 // These are from the plugin to the renderer. |
| 155 // Reply to PpapiMsg_LoadPlugin. | 149 // Reply to PpapiMsg_LoadPlugin. |
| 156 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded, | 150 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded, |
| 157 IPC::ChannelHandle /* handle */) | 151 IPC::ChannelHandle /* handle */) |
| 158 | 152 |
| 159 // PPB_Audio. | 153 // PPB_Audio. |
| 160 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBAudio_Create, | 154 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBAudio_Create, |
| 161 PP_Instance /* instance_id */, | 155 PP_Instance /* instance_id */, |
| 162 PP_Resource /* config_id */, | 156 pp::proxy::SerializedResource /* config_id */, |
| 163 PP_Resource /* result */) | 157 pp::proxy::SerializedResource /* result */) |
| 164 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 158 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
| 165 PP_Resource /* audio_id */, | 159 pp::proxy::SerializedResource /* audio_id */, |
| 166 bool /* play */) | 160 bool /* play */) |
| 167 | 161 |
| 168 // PPB_AudioConfig. | 162 // PPB_AudioConfig. |
| 169 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioConfig_Create, | 163 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioConfig_Create, |
| 170 PP_Instance /* instance */, | 164 PP_Instance /* instance */, |
| 171 int32_t /* sample_rate */, | 165 int32_t /* sample_rate */, |
| 172 uint32_t /* sample_frame_count */, | 166 uint32_t /* sample_frame_count */, |
| 173 PP_Resource /* result */) | 167 pp::proxy::SerializedResource /* result */) |
| 174 IPC_SYNC_MESSAGE_ROUTED2_1( | 168 IPC_SYNC_MESSAGE_ROUTED2_1( |
| 175 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, | 169 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, |
| 176 int32_t /* sample_rate */, | 170 int32_t /* sample_rate */, |
| 177 uint32_t /* requested */, | 171 uint32_t /* requested */, |
| 178 uint32_t /* result */) | 172 uint32_t /* result */) |
| 179 | 173 |
| 180 // PPB_Buffer. | 174 // PPB_Buffer. |
| 181 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 175 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
| 182 PP_Instance /* instance */, | 176 PP_Instance /* instance */, |
| 183 uint32_t /* size */, | 177 uint32_t /* size */, |
| 184 PP_Resource /* result_resource */, | 178 pp::proxy::SerializedResource /* result_resource */, |
| 185 int32_t /* result_shm_handle */) | 179 int32_t /* result_shm_handle */) |
| 186 | 180 |
| 187 // PPB_Core. | 181 // PPB_Core. |
| 188 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, PP_Resource) | 182 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, |
| 189 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, PP_Resource) | 183 pp::proxy::SerializedResource) |
| 184 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, |
| 185 pp::proxy::SerializedResource) |
| 190 | 186 |
| 191 // PPB_CharSet. | 187 // PPB_CharSet. |
| 192 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet, | 188 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet, |
| 193 PP_Instance /* instance */, | 189 PP_Instance /* instance */, |
| 194 string16 /* utf16 */, | 190 string16 /* utf16 */, |
| 195 std::string /* char_set */, | 191 std::string /* char_set */, |
| 196 int32_t /* on_error */, | 192 int32_t /* on_error */, |
| 197 std::string /* output */, | 193 std::string /* output */, |
| 198 bool /* output_is_success */) | 194 bool /* output_is_success */) |
| 199 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiHostMsg_PPBCharSet_CharSetToUTF16, | 195 IPC_SYNC_MESSAGE_ROUTED4_2(PpapiHostMsg_PPBCharSet_CharSetToUTF16, |
| 200 PP_Instance /* instance */, | 196 PP_Instance /* instance */, |
| 201 std::string /* input */, | 197 std::string /* input */, |
| 202 std::string /* char_set */, | 198 std::string /* char_set */, |
| 203 int32_t /* on_error */, | 199 int32_t /* on_error */, |
| 204 string16 /* output */, | 200 string16 /* output */, |
| 205 bool /* output_is_success */) | 201 bool /* output_is_success */) |
| 206 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCharSet_GetDefaultCharSet, | 202 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCharSet_GetDefaultCharSet, |
| 207 PP_Instance /* instance */, | 203 PP_Instance /* instance */, |
| 208 pp::proxy::SerializedVar /* result */) | 204 pp::proxy::SerializedVar /* result */) |
| 209 | 205 |
| 210 // PPB_CursorControl. | 206 // PPB_CursorControl. |
| 211 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, | 207 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, |
| 212 PP_Instance /* instance */, | 208 PP_Instance /* instance */, |
| 213 int32_t /* type */, | 209 int32_t /* type */, |
| 214 PP_Resource /* custom_image */, | 210 pp::proxy::SerializedResource /* custom_image */, |
| 215 PP_Point /* hot_spot */, | 211 PP_Point /* hot_spot */, |
| 216 PP_Bool /* result */) | 212 PP_Bool /* result */) |
| 217 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_LockCursor, | 213 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_LockCursor, |
| 218 PP_Instance /* instance */, | 214 PP_Instance /* instance */, |
| 219 PP_Bool /* result */) | 215 PP_Bool /* result */) |
| 220 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, | 216 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, |
| 221 PP_Instance /* instance */, | 217 PP_Instance /* instance */, |
| 222 PP_Bool /* result */) | 218 PP_Bool /* result */) |
| 223 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, | 219 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, |
| 224 PP_Instance /* instance */, | 220 PP_Instance /* instance */, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 PP_Instance /* instance */, | 271 PP_Instance /* instance */, |
| 276 std::string /* url */, | 272 std::string /* url */, |
| 277 std::string /* target */, | 273 std::string /* target */, |
| 278 PP_Bool /* result */) | 274 PP_Bool /* result */) |
| 279 | 275 |
| 280 // PPB_Font. | 276 // PPB_Font. |
| 281 IPC_SYNC_MESSAGE_ROUTED2_3( | 277 IPC_SYNC_MESSAGE_ROUTED2_3( |
| 282 PpapiHostMsg_PPBFont_Create, | 278 PpapiHostMsg_PPBFont_Create, |
| 283 PP_Instance /* instance */, | 279 PP_Instance /* instance */, |
| 284 pp::proxy::SerializedFontDescription /* in_description */, | 280 pp::proxy::SerializedFontDescription /* in_description */, |
| 285 PP_Resource /* result */, | 281 pp::proxy::SerializedResource /* result */, |
| 286 pp::proxy::SerializedFontDescription /* out_description */, | 282 pp::proxy::SerializedFontDescription /* out_description */, |
| 287 std::string /* out_metrics */) | 283 std::string /* out_metrics */) |
| 288 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt, | 284 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt, |
| 289 pp::proxy::SerializedVar /* text */, | 285 pp::proxy::SerializedVar /* text */, |
| 290 pp::proxy::PPBFont_DrawTextAt_Params /* params */, | 286 pp::proxy::PPBFont_DrawTextAt_Params /* params */, |
| 291 PP_Bool /* result */) | 287 PP_Bool /* result */) |
| 292 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFont_MeasureText, | 288 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFont_MeasureText, |
| 293 PP_Resource /* font */, | 289 pp::proxy::SerializedResource /* font */, |
| 294 pp::proxy::SerializedVar /* text */, | 290 pp::proxy::SerializedVar /* text */, |
| 295 PP_Bool /* text_is_rtl */, | 291 PP_Bool /* text_is_rtl */, |
| 296 PP_Bool /* override_direction */, | 292 PP_Bool /* override_direction */, |
| 297 int32_t /* result */) | 293 int32_t /* result */) |
| 298 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_CharacterOffsetForPixel, | 294 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_CharacterOffsetForPixel, |
| 299 PP_Resource /* font */, | 295 pp::proxy::SerializedResource /* font */, |
| 300 pp::proxy::SerializedVar /* text */, | 296 pp::proxy::SerializedVar /* text */, |
| 301 PP_Bool /* text_is_rtl */, | 297 PP_Bool /* text_is_rtl */, |
| 302 PP_Bool /* override_direction */, | 298 PP_Bool /* override_direction */, |
| 303 int32_t /* pixel_pos */, | 299 int32_t /* pixel_pos */, |
| 304 uint32_t /* result */) | 300 uint32_t /* result */) |
| 305 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_PixelOffsetForCharacter, | 301 IPC_SYNC_MESSAGE_ROUTED5_1(PpapiHostMsg_PPBFont_PixelOffsetForCharacter, |
| 306 PP_Resource /* font */, | 302 pp::proxy::SerializedResource /* font */, |
| 307 pp::proxy::SerializedVar /* text */, | 303 pp::proxy::SerializedVar /* text */, |
| 308 PP_Bool /* text_is_rtl */, | 304 PP_Bool /* text_is_rtl */, |
| 309 PP_Bool /* override_direction */, | 305 PP_Bool /* override_direction */, |
| 310 uint32_t /* char_offset */, | 306 uint32_t /* char_offset */, |
| 311 int32_t /* result */) | 307 int32_t /* result */) |
| 312 | 308 |
| 313 // PPB_Fullscreen. | 309 // PPB_Fullscreen. |
| 314 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFullscreen_IsFullscreen, | 310 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFullscreen_IsFullscreen, |
| 315 PP_Instance /* instance */, | 311 PP_Instance /* instance */, |
| 316 PP_Bool /* result */) | 312 PP_Bool /* result */) |
| 317 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFullscreen_SetFullscreen, | 313 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFullscreen_SetFullscreen, |
| 318 PP_Instance /* instance */, | 314 PP_Instance /* instance */, |
| 319 PP_Bool /* fullscreen */, | 315 PP_Bool /* fullscreen */, |
| 320 PP_Bool /* result */) | 316 PP_Bool /* result */) |
| 321 | 317 |
| 322 // PPB_Graphics2D. | 318 // PPB_Graphics2D. |
| 323 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, | 319 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, |
| 324 PP_Instance /* instance */, | 320 PP_Instance /* instance */, |
| 325 PP_Size /* size */, | 321 PP_Size /* size */, |
| 326 PP_Bool /* is_always_opaque */, | 322 PP_Bool /* is_always_opaque */, |
| 327 PP_Resource /* result */) | 323 pp::proxy::SerializedResource /* result */) |
| 328 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, | 324 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, |
| 329 PP_Resource /* graphics_2d */, | 325 pp::proxy::SerializedResource /* graphics_2d */, |
| 330 PP_Resource /* image_data */, | 326 pp::proxy::SerializedResource /* image_data */, |
| 331 PP_Point /* top_left */, | 327 PP_Point /* top_left */, |
| 332 bool /* src_rect_specified */, | 328 bool /* src_rect_specified */, |
| 333 PP_Rect /* src_rect */) | 329 PP_Rect /* src_rect */) |
| 334 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll, | 330 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll, |
| 335 PP_Resource /* graphics_2d */, | 331 pp::proxy::SerializedResource /* graphics_2d */, |
| 336 bool /* clip_specified */, | 332 bool /* clip_specified */, |
| 337 PP_Rect /* clip */, | 333 PP_Rect /* clip */, |
| 338 PP_Point /* amount */) | 334 PP_Point /* amount */) |
| 339 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, | 335 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, |
| 340 PP_Resource /* graphics_2d */, | 336 pp::proxy::SerializedResource /* graphics_2d */, |
| 341 PP_Resource /* image_data */) | 337 pp::proxy::SerializedResource /* image_data */) |
| 342 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, | 338 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Flush, |
| 343 PP_Resource /* graphics_2d */) | 339 PP_Instance /* instance */, |
| 340 pp::proxy::SerializedResource /* graphics_2d */) |
| 344 | 341 |
| 345 // PPB_ImageData. | 342 // PPB_ImageData. |
| 346 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, | 343 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, |
| 347 PP_Instance /* instance */, | 344 PP_Instance /* instance */, |
| 348 int32 /* format */, | 345 int32 /* format */, |
| 349 PP_Size /* size */, | 346 PP_Size /* size */, |
| 350 PP_Bool /* init_to_zero */, | 347 PP_Bool /* init_to_zero */, |
| 351 PP_Resource /* result_resource */, | 348 pp::proxy::SerializedResource /* result_resource */, |
| 352 std::string /* image_data_desc */, | 349 std::string /* image_data_desc */, |
| 353 pp::proxy::ImageHandle /* result */) | 350 pp::proxy::ImageHandle /* result */) |
| 354 | 351 |
| 355 // PPB_Instance. | 352 // PPB_Instance. |
| 356 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 353 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
| 357 PP_Instance /* instance */, | 354 PP_Instance /* instance */, |
| 358 pp::proxy::SerializedVar /* result */) | 355 pp::proxy::SerializedVar /* result */) |
| 359 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, | 356 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, |
| 360 PP_Instance /* instance */, | 357 PP_Instance /* instance */, |
| 361 pp::proxy::SerializedVar /* result */) | 358 pp::proxy::SerializedVar /* result */) |
| 362 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, | 359 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, |
| 363 PP_Instance /* instance */, | 360 PP_Instance /* instance */, |
| 364 PP_Resource /* device */, | 361 pp::proxy::SerializedResource /* device */, |
| 365 PP_Bool /* result */) | 362 PP_Bool /* result */) |
| 366 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, | 363 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, |
| 367 PP_Instance /* instance */, | 364 PP_Instance /* instance */, |
| 368 PP_Bool /* result */) | 365 PP_Bool /* result */) |
| 369 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, | 366 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, |
| 370 PP_Instance /* instance */, | 367 PP_Instance /* instance */, |
| 371 pp::proxy::SerializedVar /* script */, | 368 pp::proxy::SerializedVar /* script */, |
| 372 pp::proxy::SerializedVar /* out_exception */, | 369 pp::proxy::SerializedVar /* out_exception */, |
| 373 pp::proxy::SerializedVar /* result */) | 370 pp::proxy::SerializedVar /* result */) |
| 374 | 371 |
| 375 IPC_SYNC_MESSAGE_ROUTED3_1( | 372 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 376 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, | 373 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, |
| 377 PP_Instance /* instance */, | 374 PP_Instance /* instance */, |
| 378 pp::proxy::SerializedFontDescription /* description */, | 375 pp::proxy::SerializedFontDescription /* description */, |
| 379 int32_t /* charset */, | 376 int32_t /* charset */, |
| 380 PP_Resource /* result */) | 377 pp::proxy::SerializedResource /* result */) |
| 381 IPC_SYNC_MESSAGE_ROUTED2_1( | 378 IPC_SYNC_MESSAGE_ROUTED2_1( |
| 382 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, | 379 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, |
| 383 PP_Resource /* font_file */, | 380 pp::proxy::SerializedResource /* font_file */, |
| 384 uint32_t /* table */, | 381 uint32_t /* table */, |
| 385 std::string /* result */) | 382 std::string /* result */) |
| 386 | 383 |
| 387 // PPB_Testing. | 384 // PPB_Testing. |
| 388 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBTesting_ReadImageData, | 385 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 389 PP_Resource /* device_context_2d */, | 386 PpapiHostMsg_PPBTesting_ReadImageData, |
| 390 PP_Resource /* image */, | 387 pp::proxy::SerializedResource /* device_context_2d */, |
| 391 PP_Point /* top_left */, | 388 pp::proxy::SerializedResource /* image */, |
| 392 PP_Bool /* result */) | 389 PP_Point /* top_left */, |
| 390 PP_Bool /* result */) |
| 393 IPC_SYNC_MESSAGE_ROUTED0_1(PpapiHostMsg_PPBTesting_RunMessageLoop, | 391 IPC_SYNC_MESSAGE_ROUTED0_1(PpapiHostMsg_PPBTesting_RunMessageLoop, |
| 394 bool /* dummy since there's no 0_0 variant */) | 392 bool /* dummy since there's no 0_0 variant */) |
| 395 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBTesting_QuitMessageLoop) | 393 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBTesting_QuitMessageLoop) |
| 396 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, | 394 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, |
| 397 PP_Instance /* instance */, | 395 PP_Instance /* instance */, |
| 398 uint32 /* result */) | 396 uint32 /* result */) |
| 399 | 397 |
| 400 // PPB_URLLoader. | 398 // PPB_URLLoader. |
| 401 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create, | 399 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create, |
| 402 PP_Instance /* instance */, | 400 PP_Instance /* instance */, |
| 403 PP_Resource /* result */) | 401 pp::proxy::SerializedResource /* result */) |
| 404 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLLoader_Open, | 402 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLLoader_Open, |
| 405 PP_Resource /* loader */, | 403 pp::proxy::SerializedResource /* loader */, |
| 406 PP_Resource /*request_info */, | 404 pp::proxy::SerializedResource /*request_info */, |
| 407 uint32_t /* serialized_callback */) | 405 uint32_t /* serialized_callback */) |
| 408 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FollowRedirect, | 406 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FollowRedirect, |
| 409 PP_Resource /* loader */, | 407 pp::proxy::SerializedResource /* loader */, |
| 410 uint32_t /* serialized_callback */) | 408 uint32_t /* serialized_callback */) |
| 411 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_GetResponseInfo, | 409 IPC_SYNC_MESSAGE_ROUTED1_1( |
| 412 PP_Resource /* loader */, | 410 PpapiHostMsg_PPBURLLoader_GetResponseInfo, |
| 413 PP_Resource /* response_info_out */) | 411 pp::proxy::SerializedResource /* loader */, |
| 414 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_ReadResponseBody, | 412 pp::proxy::SerializedResource /* response_info_out */) |
| 415 PP_Resource /* loader */, | 413 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLLoader_ReadResponseBody, |
| 414 PP_Instance /* instance */, |
| 415 pp::proxy::SerializedResource /* loader */, |
| 416 int32_t /* bytes_to_read */) | 416 int32_t /* bytes_to_read */) |
| 417 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FinishStreamingToFile, | 417 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_FinishStreamingToFile, |
| 418 PP_Resource /* loader */, | 418 pp::proxy::SerializedResource /* loader */, |
| 419 uint32_t /* serialized_callback */) | 419 uint32_t /* serialized_callback */) |
| 420 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_Close, | 420 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_Close, |
| 421 PP_Resource /* loader */) | 421 pp::proxy::SerializedResource /* loader */) |
| 422 | 422 |
| 423 // PPB_URLLoaderTrusted. | 423 // PPB_URLLoaderTrusted. |
| 424 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoaderTrusted_GrantUniversalAccess, | 424 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoaderTrusted_GrantUniversalAccess, |
| 425 PP_Resource /* loader */) | 425 pp::proxy::SerializedResource /* loader */) |
| 426 | 426 |
| 427 // PPB_URLRequestInfo. | 427 // PPB_URLRequestInfo. |
| 428 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLRequestInfo_Create, | 428 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLRequestInfo_Create, |
| 429 PP_Instance /* instance */, | 429 PP_Instance /* instance */, |
| 430 PP_Resource /* result */) | 430 pp::proxy::SerializedResource /* result */) |
| 431 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLRequestInfo_SetProperty, | 431 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLRequestInfo_SetProperty, |
| 432 PP_Resource /* request */, | 432 pp::proxy::SerializedResource /* request */, |
| 433 int32_t /* property */, | 433 int32_t /* property */, |
| 434 pp::proxy::SerializedVar /* value */) | 434 pp::proxy::SerializedVar /* value */) |
| 435 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLRequestInfo_AppendDataToBody, | 435 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLRequestInfo_AppendDataToBody, |
| 436 PP_Resource /* request */, | 436 pp::proxy::SerializedResource /* request */, |
| 437 std::string /* data */) | 437 std::string /* data */) |
| 438 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBURLRequestInfo_AppendFileToBody, | 438 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBURLRequestInfo_AppendFileToBody, |
| 439 PP_Resource /* request */, | 439 pp::proxy::SerializedResource /* request */, |
| 440 PP_Resource /* file_ref */, | 440 pp::proxy::SerializedResource /* file_ref */, |
| 441 int64_t /* start_offset */, | 441 int64_t /* start_offset */, |
| 442 int64_t /* number_of_bytes */, | 442 int64_t /* number_of_bytes */, |
| 443 double /* expected_last_modified_time */) | 443 double /* expected_last_modified_time */) |
| 444 | 444 |
| 445 // PPB_URLResponseInfo. | 445 // PPB_URLResponseInfo. |
| 446 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBURLResponseInfo_GetProperty, | 446 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBURLResponseInfo_GetProperty, |
| 447 PP_Resource /* response */, | 447 pp::proxy::SerializedResource /* response */, |
| 448 int32_t /* property */, | 448 int32_t /* property */, |
| 449 pp::proxy::SerializedVar /* result */) | 449 pp::proxy::SerializedVar /* result */) |
| 450 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLResponseInfo_GetBodyAsFileRef, | 450 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLResponseInfo_GetBodyAsFileRef, |
| 451 PP_Resource /* response */, | 451 pp::proxy::SerializedResource /* response */, |
| 452 PP_Resource /* file_ref_result */) | 452 pp::proxy::SerializedResource /* file_ref_result */) |
| 453 | 453 |
| 454 // PPB_Var. | 454 // PPB_Var. |
| 455 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject, | 455 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject, |
| 456 int64 /* object_id */) | 456 int64 /* object_id */) |
| 457 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, | 457 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, |
| 458 int64 /* object_id */) | 458 int64 /* object_id */) |
| 459 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType, | 459 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType, |
| 460 PP_Instance /* instance */, | 460 PP_Instance /* instance */, |
| 461 pp::proxy::SerializedVar /* var */, | 461 pp::proxy::SerializedVar /* var */, |
| 462 int /* new_type */, | 462 int /* new_type */, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 519 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
| 520 pp::proxy::SerializedVar /* var */, | 520 pp::proxy::SerializedVar /* var */, |
| 521 int64 /* object_class */, | 521 int64 /* object_class */, |
| 522 int64 /* object-data */, | 522 int64 /* object-data */, |
| 523 PP_Bool /* result */) | 523 PP_Bool /* result */) |
| 524 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 524 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
| 525 PP_Instance /* instance */, | 525 PP_Instance /* instance */, |
| 526 int64 /* object_class */, | 526 int64 /* object_class */, |
| 527 int64 /* object_data */, | 527 int64 /* object_data */, |
| 528 pp::proxy::SerializedVar /* result */) | 528 pp::proxy::SerializedVar /* result */) |
| OLD | NEW |