| 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 16 matching lines...) Expand all Loading... |
| 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_host_resolver_private.h" | 34 #include "ppapi/c/private/ppb_host_resolver_private.h" |
| 35 #include "ppapi/c/private/ppb_net_address_private.h" | 35 #include "ppapi/c/private/ppb_net_address_private.h" |
| 36 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 36 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
| 37 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
| 37 #include "ppapi/proxy/ppapi_param_traits.h" | 38 #include "ppapi/proxy/ppapi_param_traits.h" |
| 38 #include "ppapi/proxy/ppapi_proxy_export.h" | 39 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 39 #include "ppapi/proxy/serialized_flash_menu.h" | 40 #include "ppapi/proxy/serialized_flash_menu.h" |
| 40 #include "ppapi/proxy/serialized_structs.h" | 41 #include "ppapi/proxy/serialized_structs.h" |
| 41 #include "ppapi/shared_impl/ppapi_preferences.h" | 42 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 42 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 43 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
| 43 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 44 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
| 44 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" | 45 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" |
| 45 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" | 46 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" |
| 46 #include "ppapi/shared_impl/ppb_view_shared.h" | 47 #include "ppapi/shared_impl/ppb_view_shared.h" |
| 47 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" | 48 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
| 48 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 49 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
| 49 | 50 |
| 50 #undef IPC_MESSAGE_EXPORT | 51 #undef IPC_MESSAGE_EXPORT |
| 51 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 52 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
| 52 | 53 |
| 53 #define IPC_MESSAGE_START PpapiMsgStart | 54 #define IPC_MESSAGE_START PpapiMsgStart |
| 54 | 55 |
| 55 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 56 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
| 57 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
| 58 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
| 56 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 59 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
| 57 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 60 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
| 58 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) | 61 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) |
| 59 IPC_ENUM_TRAITS(PP_NetworkListType_Private) | 62 IPC_ENUM_TRAITS(PP_NetworkListType_Private) |
| 60 IPC_ENUM_TRAITS(PP_NetworkListState_Private) | 63 IPC_ENUM_TRAITS(PP_NetworkListState_Private) |
| 61 IPC_ENUM_TRAITS(PP_TextInput_Type) | 64 IPC_ENUM_TRAITS(PP_TextInput_Type) |
| 62 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 65 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
| 63 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) | 66 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
| 64 | 67 |
| 65 IPC_STRUCT_TRAITS_BEGIN(PP_Point) | 68 IPC_STRUCT_TRAITS_BEGIN(PP_Point) |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 // process will respond with PpapiHostMsg_ClearSiteDataResult. This is used | 254 // process will respond with PpapiHostMsg_ClearSiteDataResult. This is used |
| 252 // for Flash. | 255 // for Flash. |
| 253 IPC_MESSAGE_CONTROL4(PpapiMsg_ClearSiteData, | 256 IPC_MESSAGE_CONTROL4(PpapiMsg_ClearSiteData, |
| 254 FilePath /* plugin_data_path */, | 257 FilePath /* plugin_data_path */, |
| 255 std::string /* site */, | 258 std::string /* site */, |
| 256 uint64 /* flags */, | 259 uint64 /* flags */, |
| 257 uint64 /* max_age */) | 260 uint64 /* max_age */) |
| 258 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, | 261 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, |
| 259 bool /* success */) | 262 bool /* success */) |
| 260 | 263 |
| 264 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, |
| 265 uint32 /* request_id */, |
| 266 FilePath /* plugin_data_path */) |
| 267 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, |
| 268 uint32 /* request_id */, |
| 269 bool /* success */) |
| 270 |
| 261 // Broker Process. | 271 // Broker Process. |
| 262 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 272 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
| 263 PP_Instance /* instance */, | 273 PP_Instance /* instance */, |
| 264 IPC::PlatformFileForTransit /* handle */, | 274 IPC::PlatformFileForTransit /* handle */, |
| 265 int32_t /* result */) | 275 int32_t /* result */) |
| 266 #endif // !defined(OS_NACL) | 276 #endif // !defined(OS_NACL) |
| 267 | 277 |
| 268 // PPB_Audio. | 278 // PPB_Audio. |
| 269 | 279 |
| 270 // Notifies the result of the audio stream create call. This is called in | 280 // Notifies the result of the audio stream create call. This is called in |
| (...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 // PPB_X509Certificate_Private | 1338 // PPB_X509Certificate_Private |
| 1329 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1339 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
| 1330 std::vector<char> /* der */, | 1340 std::vector<char> /* der */, |
| 1331 bool /* succeeded */, | 1341 bool /* succeeded */, |
| 1332 ppapi::PPB_X509Certificate_Fields /* result */) | 1342 ppapi::PPB_X509Certificate_Fields /* result */) |
| 1333 | 1343 |
| 1334 // PPB_Font. | 1344 // PPB_Font. |
| 1335 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1345 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 1336 std::string /* result */) | 1346 std::string /* result */) |
| 1337 #endif // !defined(OS_NACL) | 1347 #endif // !defined(OS_NACL) |
| OLD | NEW |