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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, | 267 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, |
262 bool /* success */) | 268 bool /* success */) |
263 | 269 |
264 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, | 270 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, |
265 uint32 /* request_id */, | 271 uint32 /* request_id */, |
266 FilePath /* plugin_data_path */) | 272 FilePath /* plugin_data_path */) |
267 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, | 273 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, |
268 uint32 /* request_id */, | 274 uint32 /* request_id */, |
269 bool /* success */) | 275 bool /* success */) |
270 | 276 |
| 277 IPC_MESSAGE_CONTROL3(PpapiMsg_GetPermissionSettings, |
| 278 uint32 /* request_id */, |
| 279 FilePath /* plugin_data_path */, |
| 280 PP_Flash_BrowserOperations_SettingType /* setting_type */) |
| 281 IPC_MESSAGE_CONTROL4( |
| 282 PpapiHostMsg_GetPermissionSettingsResult, |
| 283 uint32 /* request_id */, |
| 284 bool /* success */, |
| 285 PP_Flash_BrowserOperations_Permission /* default_permission */, |
| 286 ppapi::FlashSiteSettings /* sites */) |
| 287 |
| 288 IPC_MESSAGE_CONTROL5(PpapiMsg_SetDefaultPermission, |
| 289 uint32 /* request_id */, |
| 290 FilePath /* plugin_data_path */, |
| 291 PP_Flash_BrowserOperations_SettingType /* setting_type */, |
| 292 PP_Flash_BrowserOperations_Permission /* permission */, |
| 293 bool /* clear_site_specific */) |
| 294 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetDefaultPermissionResult, |
| 295 uint32 /* request_id */, |
| 296 bool /* success */) |
| 297 |
| 298 IPC_MESSAGE_CONTROL4(PpapiMsg_SetSitePermission, |
| 299 uint32 /* request_id */, |
| 300 FilePath /* plugin_data_path */, |
| 301 PP_Flash_BrowserOperations_SettingType /* setting_type */, |
| 302 ppapi::FlashSiteSettings /* sites */) |
| 303 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, |
| 304 uint32 /* request_id */, |
| 305 bool /* success */) |
| 306 |
271 // Broker Process. | 307 // Broker Process. |
272 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 308 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
273 PP_Instance /* instance */, | 309 PP_Instance /* instance */, |
274 IPC::PlatformFileForTransit /* handle */, | 310 IPC::PlatformFileForTransit /* handle */, |
275 int32_t /* result */) | 311 int32_t /* result */) |
276 #endif // !defined(OS_NACL) | 312 #endif // !defined(OS_NACL) |
277 | 313 |
278 // PPB_Audio. | 314 // PPB_Audio. |
279 | 315 |
280 // Notifies the result of the audio stream create call. This is called in | 316 // Notifies the result of the audio stream create call. This is called in |
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 // PPB_X509Certificate_Private | 1375 // PPB_X509Certificate_Private |
1340 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1376 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1341 std::vector<char> /* der */, | 1377 std::vector<char> /* der */, |
1342 bool /* succeeded */, | 1378 bool /* succeeded */, |
1343 ppapi::PPB_X509Certificate_Fields /* result */) | 1379 ppapi::PPB_X509Certificate_Fields /* result */) |
1344 | 1380 |
1345 // PPB_Font. | 1381 // PPB_Font. |
1346 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1382 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
1347 std::string /* result */) | 1383 std::string /* result */) |
1348 #endif // !defined(OS_NACL) | 1384 #endif // !defined(OS_NACL) |
OLD | NEW |