OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // IPC messages for interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | 232 IPC_STRUCT_MEMBER(bool, is_data_raw_string) |
233 | 233 |
234 // The serialized script value. | 234 // The serialized script value. |
235 IPC_STRUCT_MEMBER(base::string16, data) | 235 IPC_STRUCT_MEMBER(base::string16, data) |
236 | 236 |
237 // When sent to the browser, this is the routing ID of the source frame in | 237 // When sent to the browser, this is the routing ID of the source frame in |
238 // the source process. The browser replaces it with the routing ID of the | 238 // the source process. The browser replaces it with the routing ID of the |
239 // equivalent frame proxy in the destination process. | 239 // equivalent frame proxy in the destination process. |
240 IPC_STRUCT_MEMBER(int, source_routing_id) | 240 IPC_STRUCT_MEMBER(int, source_routing_id) |
241 | 241 |
242 // When sent from the browser, this is the routing ID of the source view in | |
243 // the destination process. This currently exists only to support legacy | |
244 // postMessage to Android WebView and will be removed once crbug.com/473258 | |
245 // is fixed. | |
246 IPC_STRUCT_MEMBER(int, source_view_routing_id) | |
247 | |
248 // The origin of the source frame. | 242 // The origin of the source frame. |
249 IPC_STRUCT_MEMBER(base::string16, source_origin) | 243 IPC_STRUCT_MEMBER(base::string16, source_origin) |
250 | 244 |
251 // The origin for the message's target. | 245 // The origin for the message's target. |
252 IPC_STRUCT_MEMBER(base::string16, target_origin) | 246 IPC_STRUCT_MEMBER(base::string16, target_origin) |
253 | 247 |
254 // Information about the MessagePorts this message contains. | 248 // Information about the MessagePorts this message contains. |
255 IPC_STRUCT_MEMBER(std::vector<content::TransferredMessagePort>, message_ports) | 249 IPC_STRUCT_MEMBER(std::vector<content::TransferredMessagePort>, message_ports) |
256 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) | 250 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) |
257 IPC_STRUCT_END() | 251 IPC_STRUCT_END() |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 FrameMsg_PostMessage_Params) | 1019 FrameMsg_PostMessage_Params) |
1026 | 1020 |
1027 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1021 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1028 | 1022 |
1029 // Message to show/hide a popup menu using native controls. | 1023 // Message to show/hide a popup menu using native controls. |
1030 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1024 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1031 FrameHostMsg_ShowPopup_Params) | 1025 FrameHostMsg_ShowPopup_Params) |
1032 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1026 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1033 | 1027 |
1034 #endif | 1028 #endif |
OLD | NEW |