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" |
11 #include "base/process.h" | 11 #include "base/process.h" |
12 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "base/sync_socket.h" | 14 #include "base/sync_socket.h" |
15 #include "gpu/command_buffer/common/command_buffer.h" | 15 #include "gpu/command_buffer/common/command_buffer.h" |
16 #include "gpu/ipc/gpu_command_buffer_traits.h" | 16 #include "gpu/ipc/gpu_command_buffer_traits.h" |
17 #include "ipc/ipc_channel_handle.h" | 17 #include "ipc/ipc_channel_handle.h" |
18 #include "ipc/ipc_message_macros.h" | 18 #include "ipc/ipc_message_macros.h" |
19 #include "ipc/ipc_message_utils.h" | 19 #include "ipc/ipc_message_utils.h" |
20 #include "ipc/ipc_platform_file.h" | 20 #include "ipc/ipc_platform_file.h" |
21 #include "ppapi/c/dev/pp_video_capture_dev.h" | 21 #include "ppapi/c/dev/pp_video_capture_dev.h" |
22 #include "ppapi/c/dev/pp_video_dev.h" | 22 #include "ppapi/c/dev/pp_video_dev.h" |
| 23 #include "ppapi/c/dev/ppb_directory_reader_dev.h" |
23 #include "ppapi/c/dev/ppb_text_input_dev.h" | 24 #include "ppapi/c/dev/ppb_text_input_dev.h" |
24 #include "ppapi/c/dev/ppb_url_util_dev.h" | 25 #include "ppapi/c/dev/ppb_url_util_dev.h" |
25 #include "ppapi/c/dev/ppp_printing_dev.h" | 26 #include "ppapi/c/dev/ppp_printing_dev.h" |
26 #include "ppapi/c/pp_bool.h" | 27 #include "ppapi/c/pp_bool.h" |
27 #include "ppapi/c/pp_file_info.h" | 28 #include "ppapi/c/pp_file_info.h" |
28 #include "ppapi/c/pp_instance.h" | 29 #include "ppapi/c/pp_instance.h" |
29 #include "ppapi/c/pp_module.h" | 30 #include "ppapi/c/pp_module.h" |
30 #include "ppapi/c/pp_point.h" | 31 #include "ppapi/c/pp_point.h" |
31 #include "ppapi/c/pp_rect.h" | 32 #include "ppapi/c/pp_rect.h" |
32 #include "ppapi/c/pp_resource.h" | 33 #include "ppapi/c/pp_resource.h" |
(...skipping 29 matching lines...) Expand all Loading... |
62 #include "ppapi/shared_impl/url_response_info_data.h" | 63 #include "ppapi/shared_impl/url_response_info_data.h" |
63 | 64 |
64 #undef IPC_MESSAGE_EXPORT | 65 #undef IPC_MESSAGE_EXPORT |
65 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 66 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
66 | 67 |
67 #define IPC_MESSAGE_START PpapiMsgStart | 68 #define IPC_MESSAGE_START PpapiMsgStart |
68 | 69 |
69 IPC_ENUM_TRAITS(PP_AudioSampleRate) | 70 IPC_ENUM_TRAITS(PP_AudioSampleRate) |
70 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 71 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
71 IPC_ENUM_TRAITS(PP_DecryptorStreamType) | 72 IPC_ENUM_TRAITS(PP_DecryptorStreamType) |
| 73 IPC_ENUM_TRAITS(PP_FileType) |
72 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 74 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
73 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) | 75 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
74 IPC_ENUM_TRAITS(PP_FlashSetting) | 76 IPC_ENUM_TRAITS(PP_FlashSetting) |
75 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 77 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
76 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 78 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
77 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) | 79 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) |
78 IPC_ENUM_TRAITS(PP_NetworkListState_Private) | 80 IPC_ENUM_TRAITS(PP_NetworkListState_Private) |
79 IPC_ENUM_TRAITS(PP_NetworkListType_Private) | 81 IPC_ENUM_TRAITS(PP_NetworkListType_Private) |
80 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) | 82 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
81 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) | 83 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 // Messages for resources using call/reply above. | 1304 // Messages for resources using call/reply above. |
1303 | 1305 |
1304 // Broker ---------------------------------------------------------------------- | 1306 // Broker ---------------------------------------------------------------------- |
1305 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) | 1307 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) |
1306 | 1308 |
1307 // Queries whether the plugin has permission to connect to the Pepper broker. | 1309 // Queries whether the plugin has permission to connect to the Pepper broker. |
1308 // The response is contained in the error value of the | 1310 // The response is contained in the error value of the |
1309 // ResourceMessageReplyParams in the reply message. | 1311 // ResourceMessageReplyParams in the reply message. |
1310 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_IsAllowed) | 1312 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_IsAllowed) |
1311 | 1313 |
| 1314 // Directory reader. |
| 1315 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DirectoryReader_Create) |
| 1316 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DirectoryReader_GetEntries, |
| 1317 ppapi::HostResource /* file_ref_resource */) |
| 1318 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DirectoryReader_GetEntriesReply, |
| 1319 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */, |
| 1320 std::vector<PP_FileType> /* file_types */) |
| 1321 |
1312 // File chooser. | 1322 // File chooser. |
1313 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1323 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1314 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1324 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1315 bool /* save_as */, | 1325 bool /* save_as */, |
1316 bool /* open_multiple */, | 1326 bool /* open_multiple */, |
1317 std::string /* suggested_file_name */, | 1327 std::string /* suggested_file_name */, |
1318 std::vector<std::string> /* accept_mime_types */) | 1328 std::vector<std::string> /* accept_mime_types */) |
1319 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1329 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1320 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1330 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
1321 | 1331 |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1692 std::vector<ppapi::HostResource> /* buffers */, | 1702 std::vector<ppapi::HostResource> /* buffers */, |
1693 uint32_t /* buffer_size */) | 1703 uint32_t /* buffer_size */) |
1694 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1704 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1695 uint32_t /* status */) | 1705 uint32_t /* status */) |
1696 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1706 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1697 uint32_t /* error */) | 1707 uint32_t /* error */) |
1698 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1708 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1699 uint32_t /* buffer */) | 1709 uint32_t /* buffer */) |
1700 | 1710 |
1701 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1711 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |