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 13 matching lines...) Expand all Loading... |
24 #include "ppapi/c/dev/ppp_printing_dev.h" | 24 #include "ppapi/c/dev/ppp_printing_dev.h" |
25 #include "ppapi/c/pp_bool.h" | 25 #include "ppapi/c/pp_bool.h" |
26 #include "ppapi/c/pp_file_info.h" | 26 #include "ppapi/c/pp_file_info.h" |
27 #include "ppapi/c/pp_instance.h" | 27 #include "ppapi/c/pp_instance.h" |
28 #include "ppapi/c/pp_module.h" | 28 #include "ppapi/c/pp_module.h" |
29 #include "ppapi/c/pp_point.h" | 29 #include "ppapi/c/pp_point.h" |
30 #include "ppapi/c/pp_rect.h" | 30 #include "ppapi/c/pp_rect.h" |
31 #include "ppapi/c/pp_resource.h" | 31 #include "ppapi/c/pp_resource.h" |
32 #include "ppapi/c/pp_size.h" | 32 #include "ppapi/c/pp_size.h" |
33 #include "ppapi/c/pp_time.h" | 33 #include "ppapi/c/pp_time.h" |
| 34 #include "ppapi/c/private/ppb_flash.h" |
34 #include "ppapi/c/private/ppb_host_resolver_private.h" | 35 #include "ppapi/c/private/ppb_host_resolver_private.h" |
35 #include "ppapi/c/private/ppb_net_address_private.h" | 36 #include "ppapi/c/private/ppb_net_address_private.h" |
36 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 37 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
37 #include "ppapi/c/private/ppp_flash_browser_operations.h" | 38 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
38 #include "ppapi/proxy/ppapi_param_traits.h" | 39 #include "ppapi/proxy/ppapi_param_traits.h" |
39 #include "ppapi/proxy/ppapi_proxy_export.h" | 40 #include "ppapi/proxy/ppapi_proxy_export.h" |
40 #include "ppapi/proxy/resource_message_params.h" | 41 #include "ppapi/proxy/resource_message_params.h" |
41 #include "ppapi/proxy/serialized_flash_menu.h" | 42 #include "ppapi/proxy/serialized_flash_menu.h" |
42 #include "ppapi/proxy/serialized_structs.h" | 43 #include "ppapi/proxy/serialized_structs.h" |
43 #include "ppapi/shared_impl/ppapi_preferences.h" | 44 #include "ppapi/shared_impl/ppapi_preferences.h" |
44 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 45 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
45 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 46 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
46 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" | 47 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" |
47 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" | 48 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" |
48 #include "ppapi/shared_impl/ppb_view_shared.h" | 49 #include "ppapi/shared_impl/ppb_view_shared.h" |
49 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" | 50 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
50 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" | 51 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
51 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 52 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
52 | 53 |
53 #undef IPC_MESSAGE_EXPORT | 54 #undef IPC_MESSAGE_EXPORT |
54 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 55 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
55 | 56 |
56 #define IPC_MESSAGE_START PpapiMsgStart | 57 #define IPC_MESSAGE_START PpapiMsgStart |
57 | 58 |
58 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 59 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
59 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 60 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
60 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) | 61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
| 62 IPC_ENUM_TRAITS(PP_FlashSetting) |
61 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 63 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
62 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 64 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
63 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) | 65 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) |
64 IPC_ENUM_TRAITS(PP_NetworkListType_Private) | 66 IPC_ENUM_TRAITS(PP_NetworkListType_Private) |
65 IPC_ENUM_TRAITS(PP_NetworkListState_Private) | 67 IPC_ENUM_TRAITS(PP_NetworkListState_Private) |
66 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) | 68 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
67 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) | 69 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
68 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) | 70 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) |
69 IPC_ENUM_TRAITS(PP_TextInput_Type) | 71 IPC_ENUM_TRAITS(PP_TextInput_Type) |
70 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 72 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 PP_Instance /* instance */, | 1299 PP_Instance /* instance */, |
1298 ppapi::HostResource /* file_ref */, | 1300 ppapi::HostResource /* file_ref */, |
1299 int32_t /* mode */, | 1301 int32_t /* mode */, |
1300 IPC::PlatformFileForTransit /* file_handle */, | 1302 IPC::PlatformFileForTransit /* file_handle */, |
1301 int32_t /* result */) | 1303 int32_t /* result */) |
1302 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryFileRef, | 1304 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryFileRef, |
1303 PP_Instance /* instance */, | 1305 PP_Instance /* instance */, |
1304 ppapi::HostResource /* file_ref */, | 1306 ppapi::HostResource /* file_ref */, |
1305 PP_FileInfo /* info */, | 1307 PP_FileInfo /* info */, |
1306 int32_t /* result */) | 1308 int32_t /* result */) |
| 1309 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, |
| 1310 PP_Instance /* instance */, |
| 1311 PP_FlashSetting /* setting */, |
| 1312 ppapi::proxy::SerializedVar /* result */) |
1307 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, | 1313 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, |
1308 PP_Instance /* instance */) | 1314 PP_Instance /* instance */) |
1309 | 1315 |
1310 // PPB_Flash_DeviceID. | 1316 // PPB_Flash_DeviceID. |
1311 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, | 1317 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, |
1312 int32 /* routing_id */, | 1318 int32 /* routing_id */, |
1313 PP_Resource /* resource */) | 1319 PP_Resource /* resource */) |
1314 | 1320 |
1315 // PPB_Flash_Menu | 1321 // PPB_Flash_Menu |
1316 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, | 1322 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1449 | 1455 |
1450 // File chooser. | 1456 // File chooser. |
1451 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1457 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1452 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1458 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1453 bool /* save_as */, | 1459 bool /* save_as */, |
1454 bool /* open_multiple */, | 1460 bool /* open_multiple */, |
1455 std::string /* suggested_file_name */, | 1461 std::string /* suggested_file_name */, |
1456 std::vector<std::string> /* accept_mime_types */) | 1462 std::vector<std::string> /* accept_mime_types */) |
1457 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1463 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1458 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1464 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
OLD | NEW |