Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 667 uint32_t /* size */, | 667 uint32_t /* size */, |
| 668 ppapi::HostResource /* result_resource */, | 668 ppapi::HostResource /* result_resource */, |
| 669 base::SharedMemoryHandle /* result_shm_handle */) | 669 base::SharedMemoryHandle /* result_shm_handle */) |
| 670 | 670 |
| 671 // PPB_Core. | 671 // PPB_Core. |
| 672 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, | 672 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, |
| 673 ppapi::HostResource) | 673 ppapi::HostResource) |
| 674 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, | 674 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, |
| 675 ppapi::HostResource) | 675 ppapi::HostResource) |
| 676 | 676 |
| 677 // PPB_CursorControl. | |
| 678 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, | |
|
dmichael (off chromium)
2012/03/26 17:43:17
yeesh... more sync messages down, yay!
But it doe
| |
| 679 PP_Instance /* instance */, | |
| 680 int32_t /* type */, | |
| 681 ppapi::HostResource /* custom_image */, | |
| 682 PP_Point /* hot_spot */, | |
| 683 PP_Bool /* result */) | |
| 684 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_LockCursor, | |
| 685 PP_Instance /* instance */, | |
| 686 PP_Bool /* result */) | |
| 687 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, | |
| 688 PP_Instance /* instance */, | |
| 689 PP_Bool /* result */) | |
| 690 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, | |
| 691 PP_Instance /* instance */, | |
| 692 PP_Bool /* result */) | |
| 693 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_CanLockCursor, | |
| 694 PP_Instance /* instance */, | |
| 695 PP_Bool /* result */) | |
| 696 | |
| 697 // PPB_FileChooser. | 677 // PPB_FileChooser. |
| 698 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create, | 678 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create, |
| 699 PP_Instance /* instance */, | 679 PP_Instance /* instance */, |
| 700 int /* mode */, | 680 int /* mode */, |
| 701 std::string /* accept_mime_types */, | 681 std::string /* accept_mime_types */, |
| 702 ppapi::HostResource /* result */) | 682 ppapi::HostResource /* result */) |
| 703 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, | 683 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, |
| 704 ppapi::HostResource /* file_chooser */, | 684 ppapi::HostResource /* file_chooser */, |
| 705 bool /* save_as */, | 685 bool /* save_as */, |
| 706 std::string /* suggested_file_name */, | 686 std::string /* suggested_file_name */, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 936 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanAccessDocument, | 916 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanAccessDocument, |
| 937 PP_Instance /* active */, | 917 PP_Instance /* active */, |
| 938 PP_Instance /* target */, | 918 PP_Instance /* target */, |
| 939 PP_Bool /* result */) | 919 PP_Bool /* result */) |
| 940 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDocumentURL, | 920 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDocumentURL, |
| 941 PP_Instance /* active */, | 921 PP_Instance /* active */, |
| 942 ppapi::proxy::SerializedVar /* result */) | 922 ppapi::proxy::SerializedVar /* result */) |
| 943 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetPluginInstanceURL, | 923 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetPluginInstanceURL, |
| 944 PP_Instance /* active */, | 924 PP_Instance /* active */, |
| 945 ppapi::proxy::SerializedVar /* result */) | 925 ppapi::proxy::SerializedVar /* result */) |
| 926 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SetCursor, | |
| 927 PP_Instance /* instance */, | |
| 928 int32_t /* type */, | |
| 929 ppapi::HostResource /* custom_image */, | |
| 930 PP_Point /* hot_spot */) | |
| 946 | 931 |
| 947 IPC_SYNC_MESSAGE_ROUTED3_1( | 932 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 948 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, | 933 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, |
| 949 PP_Instance /* instance */, | 934 PP_Instance /* instance */, |
| 950 ppapi::proxy::SerializedFontDescription /* description */, | 935 ppapi::proxy::SerializedFontDescription /* description */, |
| 951 int32_t /* charset */, | 936 int32_t /* charset */, |
| 952 ppapi::HostResource /* result */) | 937 ppapi::HostResource /* result */) |
| 953 IPC_SYNC_MESSAGE_ROUTED2_1( | 938 IPC_SYNC_MESSAGE_ROUTED2_1( |
| 954 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, | 939 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, |
| 955 ppapi::HostResource /* font_file */, | 940 ppapi::HostResource /* font_file */, |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1333 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, | 1318 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, |
| 1334 int32 /* tcp_client_socket_routing_id */, | 1319 int32 /* tcp_client_socket_routing_id */, |
| 1335 uint32 /* server_socket_id */) | 1320 uint32 /* server_socket_id */) |
| 1336 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, | 1321 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, |
| 1337 uint32 /* socket_id */) | 1322 uint32 /* socket_id */) |
| 1338 | 1323 |
| 1339 // PPB_Font. | 1324 // PPB_Font. |
| 1340 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1325 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 1341 std::string /* result */) | 1326 std::string /* result */) |
| 1342 #endif // !defined(OS_NACL) | 1327 #endif // !defined(OS_NACL) |
| OLD | NEW |