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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 uint32_t /* size */, | 668 uint32_t /* size */, |
669 ppapi::HostResource /* result_resource */, | 669 ppapi::HostResource /* result_resource */, |
670 base::SharedMemoryHandle /* result_shm_handle */) | 670 base::SharedMemoryHandle /* result_shm_handle */) |
671 | 671 |
672 // PPB_Core. | 672 // PPB_Core. |
673 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, | 673 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, |
674 ppapi::HostResource) | 674 ppapi::HostResource) |
675 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, | 675 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, |
676 ppapi::HostResource) | 676 ppapi::HostResource) |
677 | 677 |
678 // PPB_CursorControl. | |
679 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, | |
680 PP_Instance /* instance */, | |
681 int32_t /* type */, | |
682 ppapi::HostResource /* custom_image */, | |
683 PP_Point /* hot_spot */, | |
684 PP_Bool /* result */) | |
685 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_LockCursor, | |
686 PP_Instance /* instance */, | |
687 PP_Bool /* result */) | |
688 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, | |
689 PP_Instance /* instance */, | |
690 PP_Bool /* result */) | |
691 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, | |
692 PP_Instance /* instance */, | |
693 PP_Bool /* result */) | |
694 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_CanLockCursor, | |
695 PP_Instance /* instance */, | |
696 PP_Bool /* result */) | |
697 | |
698 // PPB_FileChooser. | 678 // PPB_FileChooser. |
699 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create, | 679 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create, |
700 PP_Instance /* instance */, | 680 PP_Instance /* instance */, |
701 int /* mode */, | 681 int /* mode */, |
702 std::string /* accept_mime_types */, | 682 std::string /* accept_mime_types */, |
703 ppapi::HostResource /* result */) | 683 ppapi::HostResource /* result */) |
704 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, | 684 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, |
705 ppapi::HostResource /* file_chooser */, | 685 ppapi::HostResource /* file_chooser */, |
706 PP_Bool /* save_as */, | 686 PP_Bool /* save_as */, |
707 ppapi::proxy::SerializedVar /* suggested_file_name */, | 687 ppapi::proxy::SerializedVar /* suggested_file_name */, |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanAccessDocument, | 917 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanAccessDocument, |
938 PP_Instance /* active */, | 918 PP_Instance /* active */, |
939 PP_Instance /* target */, | 919 PP_Instance /* target */, |
940 PP_Bool /* result */) | 920 PP_Bool /* result */) |
941 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDocumentURL, | 921 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDocumentURL, |
942 PP_Instance /* active */, | 922 PP_Instance /* active */, |
943 ppapi::proxy::SerializedVar /* result */) | 923 ppapi::proxy::SerializedVar /* result */) |
944 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetPluginInstanceURL, | 924 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetPluginInstanceURL, |
945 PP_Instance /* active */, | 925 PP_Instance /* active */, |
946 ppapi::proxy::SerializedVar /* result */) | 926 ppapi::proxy::SerializedVar /* result */) |
| 927 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SetCursor, |
| 928 PP_Instance /* instance */, |
| 929 int32_t /* type */, |
| 930 ppapi::HostResource /* custom_image */, |
| 931 PP_Point /* hot_spot */) |
947 | 932 |
948 IPC_SYNC_MESSAGE_ROUTED3_1( | 933 IPC_SYNC_MESSAGE_ROUTED3_1( |
949 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, | 934 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, |
950 PP_Instance /* instance */, | 935 PP_Instance /* instance */, |
951 ppapi::proxy::SerializedFontDescription /* description */, | 936 ppapi::proxy::SerializedFontDescription /* description */, |
952 int32_t /* charset */, | 937 int32_t /* charset */, |
953 ppapi::HostResource /* result */) | 938 ppapi::HostResource /* result */) |
954 IPC_SYNC_MESSAGE_ROUTED2_1( | 939 IPC_SYNC_MESSAGE_ROUTED2_1( |
955 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, | 940 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, |
956 ppapi::HostResource /* font_file */, | 941 ppapi::HostResource /* font_file */, |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 // PPB_X509Certificate_Private | 1305 // PPB_X509Certificate_Private |
1321 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1306 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1322 std::vector<char> /* der */, | 1307 std::vector<char> /* der */, |
1323 bool /* succeeded */, | 1308 bool /* succeeded */, |
1324 ppapi::PPB_X509Certificate_Fields /* result */) | 1309 ppapi::PPB_X509Certificate_Fields /* result */) |
1325 | 1310 |
1326 // PPB_Font. | 1311 // PPB_Font. |
1327 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1312 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
1328 std::string /* result */) | 1313 std::string /* result */) |
1329 #endif // !defined(OS_NACL) | 1314 #endif // !defined(OS_NACL) |
OLD | NEW |