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" | |
49 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" | 48 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
50 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 49 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
51 | 50 |
52 #undef IPC_MESSAGE_EXPORT | 51 #undef IPC_MESSAGE_EXPORT |
53 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 52 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
54 | 53 |
55 #define IPC_MESSAGE_START PpapiMsgStart | 54 #define IPC_MESSAGE_START PpapiMsgStart |
56 | 55 |
57 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 56 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
58 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 57 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 IPC_STRUCT_TRAITS_MEMBER(family) | 111 IPC_STRUCT_TRAITS_MEMBER(family) |
113 IPC_STRUCT_TRAITS_MEMBER(flags) | 112 IPC_STRUCT_TRAITS_MEMBER(flags) |
114 IPC_STRUCT_TRAITS_END() | 113 IPC_STRUCT_TRAITS_END() |
115 | 114 |
116 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) | 115 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) |
117 IPC_STRUCT_TRAITS_MEMBER(type) | 116 IPC_STRUCT_TRAITS_MEMBER(type) |
118 IPC_STRUCT_TRAITS_MEMBER(name) | 117 IPC_STRUCT_TRAITS_MEMBER(name) |
119 IPC_STRUCT_TRAITS_MEMBER(id) | 118 IPC_STRUCT_TRAITS_MEMBER(id) |
120 IPC_STRUCT_TRAITS_END() | 119 IPC_STRUCT_TRAITS_END() |
121 | 120 |
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 | |
127 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) | 121 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) |
128 IPC_STRUCT_TRAITS_MEMBER(rect) | 122 IPC_STRUCT_TRAITS_MEMBER(rect) |
129 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) | 123 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) |
130 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) | 124 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) |
131 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 125 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
132 IPC_STRUCT_TRAITS_END() | 126 IPC_STRUCT_TRAITS_END() |
133 | 127 |
134 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences) | 128 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences) |
135 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) | 129 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) |
136 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) | 130 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, | 263 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, |
270 bool /* success */) | 264 bool /* success */) |
271 | 265 |
272 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, | 266 IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, |
273 uint32 /* request_id */, | 267 uint32 /* request_id */, |
274 FilePath /* plugin_data_path */) | 268 FilePath /* plugin_data_path */) |
275 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, | 269 IPC_MESSAGE_CONTROL2(PpapiHostMsg_DeauthorizeContentLicensesResult, |
276 uint32 /* request_id */, | 270 uint32 /* request_id */, |
277 bool /* success */) | 271 bool /* success */) |
278 | 272 |
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 | |
309 // Broker Process. | 273 // Broker Process. |
310 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 274 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
311 PP_Instance /* instance */, | 275 PP_Instance /* instance */, |
312 IPC::PlatformFileForTransit /* handle */, | 276 IPC::PlatformFileForTransit /* handle */, |
313 int32_t /* result */) | 277 int32_t /* result */) |
314 #endif // !defined(OS_NACL) | 278 #endif // !defined(OS_NACL) |
315 | 279 |
316 // PPB_Audio. | 280 // PPB_Audio. |
317 | 281 |
318 // Notifies the result of the audio stream create call. This is called in | 282 // Notifies the result of the audio stream create call. This is called in |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1358 // PPB_X509Certificate_Private | 1322 // PPB_X509Certificate_Private |
1359 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1323 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1360 std::vector<char> /* der */, | 1324 std::vector<char> /* der */, |
1361 bool /* succeeded */, | 1325 bool /* succeeded */, |
1362 ppapi::PPB_X509Certificate_Fields /* result */) | 1326 ppapi::PPB_X509Certificate_Fields /* result */) |
1363 | 1327 |
1364 // PPB_Font. | 1328 // PPB_Font. |
1365 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1329 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
1366 std::string /* result */) | 1330 std::string /* result */) |
1367 #endif // !defined(OS_NACL) | 1331 #endif // !defined(OS_NACL) |
OLD | NEW |