| OLD | NEW |
| 1 // Copyright (c) 2011 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 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 // PPB_Graphics3D. | 306 // PPB_Graphics3D. |
| 307 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 307 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
| 308 ppapi::HostResource /* graphics_3d */, | 308 ppapi::HostResource /* graphics_3d */, |
| 309 int32_t /* pp_error */) | 309 int32_t /* pp_error */) |
| 310 | 310 |
| 311 // PPB_Instance. | 311 // PPB_Instance. |
| 312 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBInstance_MouseLockComplete, | 312 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBInstance_MouseLockComplete, |
| 313 PP_Instance /* instance */, | 313 PP_Instance /* instance */, |
| 314 int32_t /* result */) | 314 int32_t /* result */) |
| 315 | 315 |
| 316 // PPB_Surface3D. | |
| 317 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBSurface3D_SwapBuffersACK, | |
| 318 ppapi::HostResource /* surface_3d */, | |
| 319 int32_t /* pp_error */) | |
| 320 | |
| 321 // PPP_Class. | 316 // PPP_Class. |
| 322 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, | 317 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, |
| 323 int64 /* ppp_class */, | 318 int64 /* ppp_class */, |
| 324 int64 /* object */, | 319 int64 /* object */, |
| 325 ppapi::proxy::SerializedVar /* property */, | 320 ppapi::proxy::SerializedVar /* property */, |
| 326 ppapi::proxy::SerializedVar /* out_exception */, | 321 ppapi::proxy::SerializedVar /* out_exception */, |
| 327 bool /* result */) | 322 bool /* result */) |
| 328 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod, | 323 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasMethod, |
| 329 int64 /* ppp_class */, | 324 int64 /* ppp_class */, |
| 330 int64 /* object */, | 325 int64 /* object */, |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 510 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
| 516 ppapi::HostResource /* broker */) | 511 ppapi::HostResource /* broker */) |
| 517 | 512 |
| 518 // PPB_Buffer. | 513 // PPB_Buffer. |
| 519 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 514 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
| 520 PP_Instance /* instance */, | 515 PP_Instance /* instance */, |
| 521 uint32_t /* size */, | 516 uint32_t /* size */, |
| 522 ppapi::HostResource /* result_resource */, | 517 ppapi::HostResource /* result_resource */, |
| 523 base::SharedMemoryHandle /* result_shm_handle */) | 518 base::SharedMemoryHandle /* result_shm_handle */) |
| 524 | 519 |
| 525 // PPB_Context3D. | |
| 526 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Create, | |
| 527 PP_Instance /* instance */, | |
| 528 int32_t /* config */, | |
| 529 std::vector<int32_t> /* attrib_list */, | |
| 530 ppapi::HostResource /* result */) | |
| 531 | |
| 532 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_BindSurfaces, | |
| 533 ppapi::HostResource /* context */, | |
| 534 ppapi::HostResource /* draw */, | |
| 535 ppapi::HostResource /* read */, | |
| 536 int32_t /* result */) | |
| 537 | |
| 538 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_Initialize, | |
| 539 ppapi::HostResource /* context */, | |
| 540 int32 /* size */, | |
| 541 base::SharedMemoryHandle /* ring_buffer */) | |
| 542 | |
| 543 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBContext3D_GetState, | |
| 544 ppapi::HostResource /* context */, | |
| 545 gpu::CommandBuffer::State /* state */) | |
| 546 | |
| 547 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Flush, | |
| 548 ppapi::HostResource /* context */, | |
| 549 int32 /* put_offset */, | |
| 550 int32 /* last_known_get */, | |
| 551 gpu::CommandBuffer::State /* state */) | |
| 552 | |
| 553 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBContext3D_AsyncFlush, | |
| 554 ppapi::HostResource /* context */, | |
| 555 int32 /* put_offset */) | |
| 556 | |
| 557 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_CreateTransferBuffer, | |
| 558 ppapi::HostResource /* context */, | |
| 559 int32 /* size */, | |
| 560 int32 /* id */) | |
| 561 | |
| 562 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBContext3D_DestroyTransferBuffer, | |
| 563 ppapi::HostResource /* context */, | |
| 564 int32 /* id */) | |
| 565 | |
| 566 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBContext3D_GetTransferBuffer, | |
| 567 ppapi::HostResource /* context */, | |
| 568 int32 /* id */, | |
| 569 base::SharedMemoryHandle /* transfer_buffer */, | |
| 570 uint32 /* size */) | |
| 571 | |
| 572 // PPB_Core. | 520 // PPB_Core. |
| 573 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, | 521 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, |
| 574 ppapi::HostResource) | 522 ppapi::HostResource) |
| 575 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, | 523 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, |
| 576 ppapi::HostResource) | 524 ppapi::HostResource) |
| 577 | 525 |
| 578 // PPB_CursorControl. | 526 // PPB_CursorControl. |
| 579 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, | 527 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, |
| 580 PP_Instance /* instance */, | 528 PP_Instance /* instance */, |
| 581 int32_t /* type */, | 529 int32_t /* type */, |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 PP_Instance /* instance */, | 899 PP_Instance /* instance */, |
| 952 ppapi::proxy::SerializedFontDescription /* description */, | 900 ppapi::proxy::SerializedFontDescription /* description */, |
| 953 int32_t /* charset */, | 901 int32_t /* charset */, |
| 954 ppapi::HostResource /* result */) | 902 ppapi::HostResource /* result */) |
| 955 IPC_SYNC_MESSAGE_ROUTED2_1( | 903 IPC_SYNC_MESSAGE_ROUTED2_1( |
| 956 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, | 904 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, |
| 957 ppapi::HostResource /* font_file */, | 905 ppapi::HostResource /* font_file */, |
| 958 uint32_t /* table */, | 906 uint32_t /* table */, |
| 959 std::string /* result */) | 907 std::string /* result */) |
| 960 | 908 |
| 961 // PPB_Surface3D. | |
| 962 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBSurface3D_Create, | |
| 963 PP_Instance /* instance */, | |
| 964 int32_t /* config */, | |
| 965 std::vector<int32_t> /* attrib_list */, | |
| 966 ppapi::HostResource /* result */) | |
| 967 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBSurface3D_SwapBuffers, | |
| 968 ppapi::HostResource /* surface_3d */) | |
| 969 | |
| 970 // PPB_Testing. | 909 // PPB_Testing. |
| 971 IPC_SYNC_MESSAGE_ROUTED3_1( | 910 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 972 PpapiHostMsg_PPBTesting_ReadImageData, | 911 PpapiHostMsg_PPBTesting_ReadImageData, |
| 973 ppapi::HostResource /* device_context_2d */, | 912 ppapi::HostResource /* device_context_2d */, |
| 974 ppapi::HostResource /* image */, | 913 ppapi::HostResource /* image */, |
| 975 PP_Point /* top_left */, | 914 PP_Point /* top_left */, |
| 976 PP_Bool /* result */) | 915 PP_Bool /* result */) |
| 977 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, | 916 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, |
| 978 PP_Instance /* instance */, | 917 PP_Instance /* instance */, |
| 979 uint32 /* result */) | 918 uint32 /* result */) |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1070 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1132 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1071 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1133 ppapi::HostResource /* video_decoder */, | 1072 ppapi::HostResource /* video_decoder */, |
| 1134 int32_t /* picture buffer id */) | 1073 int32_t /* picture buffer id */) |
| 1135 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1074 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1136 ppapi::HostResource /* video_decoder */) | 1075 ppapi::HostResource /* video_decoder */) |
| 1137 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1076 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1138 ppapi::HostResource /* video_decoder */) | 1077 ppapi::HostResource /* video_decoder */) |
| 1139 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1078 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1140 ppapi::HostResource /* video_decoder */) | 1079 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |