| 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 <map> | 6 #include <map> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "ppapi/c/ppb_udp_socket.h" | 43 #include "ppapi/c/ppb_udp_socket.h" |
| 44 #include "ppapi/c/private/pp_content_decryptor.h" | 44 #include "ppapi/c/private/pp_content_decryptor.h" |
| 45 #include "ppapi/c/private/pp_private_font_charset.h" | 45 #include "ppapi/c/private/pp_private_font_charset.h" |
| 46 #include "ppapi/c/private/ppb_flash.h" | 46 #include "ppapi/c/private/ppb_flash.h" |
| 47 #include "ppapi/c/private/ppb_host_resolver_private.h" | 47 #include "ppapi/c/private/ppb_host_resolver_private.h" |
| 48 #include "ppapi/c/private/ppb_isolated_file_system_private.h" | 48 #include "ppapi/c/private/ppb_isolated_file_system_private.h" |
| 49 #include "ppapi/c/private/ppb_net_address_private.h" | 49 #include "ppapi/c/private/ppb_net_address_private.h" |
| 50 #include "ppapi/c/private/ppb_pdf.h" | 50 #include "ppapi/c/private/ppb_pdf.h" |
| 51 #include "ppapi/c/private/ppb_talk_private.h" | 51 #include "ppapi/c/private/ppb_talk_private.h" |
| 52 #include "ppapi/c/private/ppp_flash_browser_operations.h" | 52 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
| 53 #include "ppapi/c/private/ppp_pdf.h" |
| 53 #include "ppapi/proxy/host_resolver_private_resource.h" | 54 #include "ppapi/proxy/host_resolver_private_resource.h" |
| 54 #include "ppapi/proxy/network_list_resource.h" | 55 #include "ppapi/proxy/network_list_resource.h" |
| 55 #include "ppapi/proxy/ppapi_param_traits.h" | 56 #include "ppapi/proxy/ppapi_param_traits.h" |
| 56 #include "ppapi/proxy/ppapi_proxy_export.h" | 57 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 57 #include "ppapi/proxy/resource_message_params.h" | 58 #include "ppapi/proxy/resource_message_params.h" |
| 58 #include "ppapi/proxy/serialized_flash_menu.h" | 59 #include "ppapi/proxy/serialized_flash_menu.h" |
| 59 #include "ppapi/proxy/serialized_handle.h" | 60 #include "ppapi/proxy/serialized_handle.h" |
| 60 #include "ppapi/proxy/serialized_structs.h" | 61 #include "ppapi/proxy/serialized_structs.h" |
| 61 #include "ppapi/proxy/serialized_var.h" | 62 #include "ppapi/proxy/serialized_var.h" |
| 62 #include "ppapi/shared_impl/compositor_layer_data.h" | 63 #include "ppapi/shared_impl/compositor_layer_data.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 103 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
| 103 IPC_ENUM_TRAITS_MAX_VALUE(PP_IsolatedFileSystemType_Private, | 104 IPC_ENUM_TRAITS_MAX_VALUE(PP_IsolatedFileSystemType_Private, |
| 104 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE) | 105 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE) |
| 105 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private, | 106 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private, |
| 106 PP_NETADDRESSFAMILY_PRIVATE_IPV6) | 107 PP_NETADDRESSFAMILY_PRIVATE_IPV6) |
| 107 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_State, PP_NETWORKLIST_STATE_UP) | 108 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_State, PP_NETWORKLIST_STATE_UP) |
| 108 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_Type, PP_NETWORKLIST_TYPE_CELLULAR) | 109 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_Type, PP_NETWORKLIST_TYPE_CELLULAR) |
| 109 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) | 110 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
| 110 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) | 111 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
| 111 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) | 112 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) |
| 113 IPC_ENUM_TRAITS_MAX_VALUE(PP_PrintDuplexMode_Dev, PP_PRINTDUPLEXMODE_SHORT_EDGE) |
| 112 IPC_ENUM_TRAITS(PP_PrivateFontCharset) | 114 IPC_ENUM_TRAITS(PP_PrivateFontCharset) |
| 113 IPC_ENUM_TRAITS(PP_ResourceImage) | 115 IPC_ENUM_TRAITS(PP_ResourceImage) |
| 114 IPC_ENUM_TRAITS(PP_ResourceString) | 116 IPC_ENUM_TRAITS(PP_ResourceString) |
| 115 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1) | 117 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1) |
| 116 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission, | 118 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission, |
| 117 PP_TALKPERMISSION_NUM_PERMISSIONS - 1) | 119 PP_TALKPERMISSION_NUM_PERMISSIONS - 1) |
| 118 IPC_ENUM_TRAITS_MAX_VALUE(PP_TCPSocket_Option, | 120 IPC_ENUM_TRAITS_MAX_VALUE(PP_TCPSocket_Option, |
| 119 PP_TCPSOCKET_OPTION_RECV_BUFFER_SIZE) | 121 PP_TCPSOCKET_OPTION_RECV_BUFFER_SIZE) |
| 120 IPC_ENUM_TRAITS(PP_TextInput_Type) | 122 IPC_ENUM_TRAITS(PP_TextInput_Type) |
| 121 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) | 123 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 IPC_STRUCT_TRAITS_MEMBER(printable_area) | 200 IPC_STRUCT_TRAITS_MEMBER(printable_area) |
| 199 IPC_STRUCT_TRAITS_MEMBER(content_area) | 201 IPC_STRUCT_TRAITS_MEMBER(content_area) |
| 200 IPC_STRUCT_TRAITS_MEMBER(paper_size) | 202 IPC_STRUCT_TRAITS_MEMBER(paper_size) |
| 201 IPC_STRUCT_TRAITS_MEMBER(dpi) | 203 IPC_STRUCT_TRAITS_MEMBER(dpi) |
| 202 IPC_STRUCT_TRAITS_MEMBER(orientation) | 204 IPC_STRUCT_TRAITS_MEMBER(orientation) |
| 203 IPC_STRUCT_TRAITS_MEMBER(print_scaling_option) | 205 IPC_STRUCT_TRAITS_MEMBER(print_scaling_option) |
| 204 IPC_STRUCT_TRAITS_MEMBER(grayscale) | 206 IPC_STRUCT_TRAITS_MEMBER(grayscale) |
| 205 IPC_STRUCT_TRAITS_MEMBER(format) | 207 IPC_STRUCT_TRAITS_MEMBER(format) |
| 206 IPC_STRUCT_TRAITS_END() | 208 IPC_STRUCT_TRAITS_END() |
| 207 | 209 |
| 210 IPC_STRUCT_TRAITS_BEGIN(PP_PrintRange_Dev) |
| 211 IPC_STRUCT_TRAITS_MEMBER(from) |
| 212 IPC_STRUCT_TRAITS_MEMBER(to) |
| 213 IPC_STRUCT_TRAITS_END() |
| 214 |
| 215 IPC_STRUCT_TRAITS_BEGIN(PP_PdfPrintPresetOptions_Dev) |
| 216 IPC_STRUCT_TRAITS_MEMBER(is_scaling_disabled) |
| 217 IPC_STRUCT_TRAITS_MEMBER(copies) |
| 218 IPC_STRUCT_TRAITS_MEMBER(duplex) |
| 219 IPC_STRUCT_TRAITS_MEMBER(page_range) |
| 220 IPC_STRUCT_TRAITS_MEMBER(page_range_count) |
| 221 IPC_STRUCT_TRAITS_END() |
| 222 |
| 208 IPC_STRUCT_TRAITS_BEGIN(PP_URLComponent_Dev) | 223 IPC_STRUCT_TRAITS_BEGIN(PP_URLComponent_Dev) |
| 209 IPC_STRUCT_TRAITS_MEMBER(begin) | 224 IPC_STRUCT_TRAITS_MEMBER(begin) |
| 210 IPC_STRUCT_TRAITS_MEMBER(len) | 225 IPC_STRUCT_TRAITS_MEMBER(len) |
| 211 IPC_STRUCT_TRAITS_END() | 226 IPC_STRUCT_TRAITS_END() |
| 212 | 227 |
| 213 IPC_STRUCT_TRAITS_BEGIN(PP_URLComponents_Dev) | 228 IPC_STRUCT_TRAITS_BEGIN(PP_URLComponents_Dev) |
| 214 IPC_STRUCT_TRAITS_MEMBER(scheme) | 229 IPC_STRUCT_TRAITS_MEMBER(scheme) |
| 215 IPC_STRUCT_TRAITS_MEMBER(username) | 230 IPC_STRUCT_TRAITS_MEMBER(username) |
| 216 IPC_STRUCT_TRAITS_MEMBER(password) | 231 IPC_STRUCT_TRAITS_MEMBER(password) |
| 217 IPC_STRUCT_TRAITS_MEMBER(host) | 232 IPC_STRUCT_TRAITS_MEMBER(host) |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 bool /* was_handled */) | 706 bool /* was_handled */) |
| 692 | 707 |
| 693 // PPP_MouseLock. | 708 // PPP_MouseLock. |
| 694 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPMouseLock_MouseLockLost, | 709 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPMouseLock_MouseLockLost, |
| 695 PP_Instance /* instance */) | 710 PP_Instance /* instance */) |
| 696 | 711 |
| 697 // PPP_Pdf | 712 // PPP_Pdf |
| 698 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPPdf_Rotate, | 713 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPPdf_Rotate, |
| 699 PP_Instance /* instance */, | 714 PP_Instance /* instance */, |
| 700 bool /* clockwise */) | 715 bool /* clockwise */) |
| 716 IPC_SYNC_MESSAGE_ROUTED1_2( |
| 717 PpapiMsg_PPPPdf_PrintPresetOptions, |
| 718 PP_Instance /* instance */, |
| 719 PP_PdfPrintPresetOptions_Dev /* print preset options */, |
| 720 PP_Bool /* result */) |
| 701 | 721 |
| 702 // Find | 722 // Find |
| 703 IPC_MESSAGE_ROUTED2(PpapiPluginMsg_PPPFind_StartFind, | 723 IPC_MESSAGE_ROUTED2(PpapiPluginMsg_PPPFind_StartFind, |
| 704 PP_Instance /* instance */, | 724 PP_Instance /* instance */, |
| 705 std::string /* text */) | 725 std::string /* text */) |
| 706 IPC_MESSAGE_ROUTED2(PpapiPluginMsg_PPPFind_SelectFindResult, | 726 IPC_MESSAGE_ROUTED2(PpapiPluginMsg_PPPFind_SelectFindResult, |
| 707 PP_Instance /* instance */, | 727 PP_Instance /* instance */, |
| 708 PP_Bool /* forward */) | 728 PP_Bool /* forward */) |
| 709 IPC_MESSAGE_ROUTED1(PpapiPluginMsg_PPPFind_StopFind, | 729 IPC_MESSAGE_ROUTED1(PpapiPluginMsg_PPPFind_StopFind, |
| 710 PP_Instance /* instance */) | 730 PP_Instance /* instance */) |
| (...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2270 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2290 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
| 2271 PP_TalkPermission /* permission */) | 2291 PP_TalkPermission /* permission */) |
| 2272 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2292 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
| 2273 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2293 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
| 2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2294 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
| 2275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2295 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
| 2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2296 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
| 2277 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2297 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
| 2278 | 2298 |
| 2279 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2299 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |