OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "gpu/command_buffer/common/command_buffer.h" | 5 #include "gpu/command_buffer/common/command_buffer.h" |
6 #include "gpu/ipc/gpu_command_buffer_traits.h" | 6 #include "gpu/ipc/gpu_command_buffer_traits.h" |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "ppapi/c/dev/pp_file_info_dev.h" | 8 #include "ppapi/c/dev/pp_file_info_dev.h" |
9 #include "ppapi/c/ppb_var.h" | 9 #include "ppapi/c/ppb_var.h" |
10 | 10 |
11 #define IPC_MESSAGE_START PpapiMsgStart | 11 #define IPC_MESSAGE_START PpapiMsgStart |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 PP_Bool /* on_top */) | 339 PP_Bool /* on_top */) |
340 // This has to be synchronous becuase the caller may want to composite on | 340 // This has to be synchronous becuase the caller may want to composite on |
341 // top of the resulting text after the call is complete. | 341 // top of the resulting text after the call is complete. |
342 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs, | 342 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs, |
343 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */, | 343 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */, |
344 PP_Bool /* result */) | 344 PP_Bool /* result */) |
345 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, | 345 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, |
346 PP_Instance /* instance */, | 346 PP_Instance /* instance */, |
347 std::string /* url */, | 347 std::string /* url */, |
348 pp::proxy::SerializedVar /* result */) | 348 pp::proxy::SerializedVar /* result */) |
349 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenModuleLocalFile, | |
350 PP_Instance /* instance */, | |
351 std::string /* path */, | |
352 int32_t /* mode */, | |
353 IPC::PlatformFileForTransit /* file_handle */, | |
354 int32_t /* result */) | |
355 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_RenameModuleLocalFile, | |
356 PP_Instance /* instance */, | |
357 std::string /* path_from */, | |
358 std::string /* path_to */, | |
359 int32_t /* result */) | |
360 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_DeleteModuleLocalFileOrDir, | |
361 PP_Instance /* instance */, | |
362 std::string /* path */, | |
363 PP_Bool /* recursive */, | |
364 int32_t /* result */) | |
365 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_CreateModuleLocalDir, | |
366 PP_Instance /* instance */, | |
367 std::string /* path */, | |
368 int32_t /* result */) | |
369 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryModuleLocalFile, | |
370 PP_Instance /* instance */, | |
371 std::string /* path */, | |
372 PP_FileInfo_Dev /* info */, | |
373 int32_t /* result */) | |
374 IPC_SYNC_MESSAGE_ROUTED2_2( | |
375 PpapiHostMsg_PPBFlash_GetModuleLocalDirContents, | |
376 PP_Instance /* instance */, | |
377 std::string /* path */, | |
378 std::vector<pp::proxy::SerializedDirEntry> /* entries */, | |
379 int32_t /* result */) | |
380 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL, | 349 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL, |
381 PP_Instance /* instance */, | 350 PP_Instance /* instance */, |
382 std::string /* url */, | 351 std::string /* url */, |
383 std::string /* target */, | 352 std::string /* target */, |
384 PP_Bool /* result */) | 353 PP_Bool /* result */) |
385 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_RunMessageLoop, | 354 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_RunMessageLoop, |
386 PP_Instance /* instance */) | 355 PP_Instance /* instance */) |
387 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_QuitMessageLoop, | 356 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_QuitMessageLoop, |
388 PP_Instance /* instance */) | 357 PP_Instance /* instance */) |
389 | 358 |
| 359 // PPB_Flash_File_ModuleLocal. |
| 360 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_OpenFile, |
| 361 PP_Instance /* instance */, |
| 362 std::string /* path */, |
| 363 int32_t /* mode */, |
| 364 IPC::PlatformFileForTransit /* file_handle */, |
| 365 int32_t /* result */) |
| 366 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_RenameFile, |
| 367 PP_Instance /* instance */, |
| 368 std::string /* path_from */, |
| 369 std::string /* path_to */, |
| 370 int32_t /* result */) |
| 371 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 372 PpapiHostMsg_PPBFlashFile_ModuleLocal_DeleteFileOrDir, |
| 373 PP_Instance /* instance */, |
| 374 std::string /* path */, |
| 375 PP_Bool /* recursive */, |
| 376 int32_t /* result */) |
| 377 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_CreateDir, |
| 378 PP_Instance /* instance */, |
| 379 std::string /* path */, |
| 380 int32_t /* result */) |
| 381 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_QueryFile, |
| 382 PP_Instance /* instance */, |
| 383 std::string /* path */, |
| 384 PP_FileInfo_Dev /* info */, |
| 385 int32_t /* result */) |
| 386 IPC_SYNC_MESSAGE_ROUTED2_2( |
| 387 PpapiHostMsg_PPBFlashFile_ModuleLocal_GetDirContents, |
| 388 PP_Instance /* instance */, |
| 389 std::string /* path */, |
| 390 std::vector<pp::proxy::SerializedDirEntry> /* entries */, |
| 391 int32_t /* result */) |
| 392 |
390 // PPB_Flash_Menu | 393 // PPB_Flash_Menu |
391 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, | 394 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, |
392 PP_Instance /* instance */, | 395 PP_Instance /* instance */, |
393 pp::proxy::SerializedFlashMenu /* menu_data */, | 396 pp::proxy::SerializedFlashMenu /* menu_data */, |
394 pp::proxy::HostResource /* result */) | 397 pp::proxy::HostResource /* result */) |
395 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashMenu_Show, | 398 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashMenu_Show, |
396 pp::proxy::HostResource /* menu */, | 399 pp::proxy::HostResource /* menu */, |
397 PP_Point /* location */) | 400 PP_Point /* location */) |
398 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashMenu_ShowACK, | 401 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashMenu_ShowACK, |
399 pp::proxy::HostResource /* menu */, | 402 pp::proxy::HostResource /* menu */, |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 658 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
656 pp::proxy::SerializedVar /* var */, | 659 pp::proxy::SerializedVar /* var */, |
657 int64 /* object_class */, | 660 int64 /* object_class */, |
658 int64 /* object-data */, | 661 int64 /* object-data */, |
659 PP_Bool /* result */) | 662 PP_Bool /* result */) |
660 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 663 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
661 PP_Instance /* instance */, | 664 PP_Instance /* instance */, |
662 int64 /* object_class */, | 665 int64 /* object_class */, |
663 int64 /* object_data */, | 666 int64 /* object_data */, |
664 pp::proxy::SerializedVar /* result */) | 667 pp::proxy::SerializedVar /* result */) |
OLD | NEW |