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 27 matching lines...) Expand all Loading... |
38 #include "ppapi/proxy/ppapi_param_traits.h" | 38 #include "ppapi/proxy/ppapi_param_traits.h" |
39 #include "ppapi/proxy/ppapi_proxy_export.h" | 39 #include "ppapi/proxy/ppapi_proxy_export.h" |
40 #include "ppapi/proxy/serialized_flash_menu.h" | 40 #include "ppapi/proxy/serialized_flash_menu.h" |
41 #include "ppapi/proxy/serialized_structs.h" | 41 #include "ppapi/proxy/serialized_structs.h" |
42 #include "ppapi/shared_impl/ppapi_preferences.h" | 42 #include "ppapi/shared_impl/ppapi_preferences.h" |
43 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 43 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
44 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 44 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
45 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" | 45 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" |
46 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" | 46 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" |
47 #include "ppapi/shared_impl/ppb_view_shared.h" | 47 #include "ppapi/shared_impl/ppb_view_shared.h" |
| 48 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
48 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" | 49 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
49 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 50 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
50 | 51 |
51 #undef IPC_MESSAGE_EXPORT | 52 #undef IPC_MESSAGE_EXPORT |
52 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 53 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
53 | 54 |
54 #define IPC_MESSAGE_START PpapiMsgStart | 55 #define IPC_MESSAGE_START PpapiMsgStart |
55 | 56 |
56 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 57 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
57 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 58 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 IPC_STRUCT_TRAITS_MEMBER(family) | 112 IPC_STRUCT_TRAITS_MEMBER(family) |
112 IPC_STRUCT_TRAITS_MEMBER(flags) | 113 IPC_STRUCT_TRAITS_MEMBER(flags) |
113 IPC_STRUCT_TRAITS_END() | 114 IPC_STRUCT_TRAITS_END() |
114 | 115 |
115 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) | 116 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) |
116 IPC_STRUCT_TRAITS_MEMBER(type) | 117 IPC_STRUCT_TRAITS_MEMBER(type) |
117 IPC_STRUCT_TRAITS_MEMBER(name) | 118 IPC_STRUCT_TRAITS_MEMBER(name) |
118 IPC_STRUCT_TRAITS_MEMBER(id) | 119 IPC_STRUCT_TRAITS_MEMBER(id) |
119 IPC_STRUCT_TRAITS_END() | 120 IPC_STRUCT_TRAITS_END() |
120 | 121 |
| 122 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) |
| 123 IPC_STRUCT_TRAITS_MEMBER(site) |
| 124 IPC_STRUCT_TRAITS_MEMBER(permission) |
| 125 IPC_STRUCT_TRAITS_END() |
| 126 |
121 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) | 127 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) |
122 IPC_STRUCT_TRAITS_MEMBER(rect) | 128 IPC_STRUCT_TRAITS_MEMBER(rect) |
123 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) | 129 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) |
124 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) | 130 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) |
125 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 131 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
126 IPC_STRUCT_TRAITS_END() | 132 IPC_STRUCT_TRAITS_END() |
127 | 133 |
128 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences) | 134 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences) |
129 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) | 135 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) |
130 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) | 136 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, | 269 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, |
264 bool /* success */) | 270 bool /* success */) |
265 | 271 |
266 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, | 272 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, |
267 uint32 /* request_id */, | 273 uint32 /* request_id */, |
268 FilePath /* plugin_data_path */) | 274 FilePath /* plugin_data_path */) |
269 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, | 275 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, |
270 uint32 /* request_id */, | 276 uint32 /* request_id */, |
271 bool /* success */) | 277 bool /* success */) |
272 | 278 |
| 279 IPC_MESSAGE_CONTROL3(PpapiMsg_GetPermissionSettings, |
| 280 uint32 /* request_id */, |
| 281 FilePath /* plugin_data_path */, |
| 282 PP_Flash_BrowserOperations_SettingType /* setting_type */) |
| 283 IPC_MESSAGE_CONTROL4( |
| 284 PpapiHostMsg_GetPermissionSettingsResult, |
| 285 uint32 /* request_id */, |
| 286 bool /* success */, |
| 287 PP_Flash_BrowserOperations_Permission /* default_permission */, |
| 288 ppapi::FlashSiteSettings /* sites */) |
| 289 |
| 290 IPC_MESSAGE_CONTROL5(PpapiMsg_SetDefaultPermission, |
| 291 uint32 /* request_id */, |
| 292 FilePath /* plugin_data_path */, |
| 293 PP_Flash_BrowserOperations_SettingType /* setting_type */, |
| 294 PP_Flash_BrowserOperations_Permission /* permission */, |
| 295 bool /* clear_site_specific */) |
| 296 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetDefaultPermissionResult, |
| 297 uint32 /* request_id */, |
| 298 bool /* success */) |
| 299 |
| 300 IPC_MESSAGE_CONTROL4(PpapiMsg_SetSitePermission, |
| 301 uint32 /* request_id */, |
| 302 FilePath /* plugin_data_path */, |
| 303 PP_Flash_BrowserOperations_SettingType /* setting_type */, |
| 304 ppapi::FlashSiteSettings /* sites */) |
| 305 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, |
| 306 uint32 /* request_id */, |
| 307 bool /* success */) |
| 308 |
273 // Broker Process. | 309 // Broker Process. |
274 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 310 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
275 PP_Instance /* instance */, | 311 PP_Instance /* instance */, |
276 IPC::PlatformFileForTransit /* handle */, | 312 IPC::PlatformFileForTransit /* handle */, |
277 int32_t /* result */) | 313 int32_t /* result */) |
278 #endif // !defined(OS_NACL) | 314 #endif // !defined(OS_NACL) |
279 | 315 |
280 // PPB_Audio. | 316 // PPB_Audio. |
281 | 317 |
282 // Notifies the result of the audio stream create call. This is called in | 318 // Notifies the result of the audio stream create call. This is called in |
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1310 // PPB_X509Certificate_Private | 1346 // PPB_X509Certificate_Private |
1311 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1347 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1312 std::vector<char> /* der */, | 1348 std::vector<char> /* der */, |
1313 bool /* succeeded */, | 1349 bool /* succeeded */, |
1314 ppapi::PPB_X509Certificate_Fields /* result */) | 1350 ppapi::PPB_X509Certificate_Fields /* result */) |
1315 | 1351 |
1316 // PPB_Font. | 1352 // PPB_Font. |
1317 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1353 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
1318 std::string /* result */) | 1354 std::string /* result */) |
1319 #endif // !defined(OS_NACL) | 1355 #endif // !defined(OS_NACL) |
OLD | NEW |