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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 // The origin of the source frame. | 323 // The origin of the source frame. |
324 IPC_STRUCT_MEMBER(base::string16, source_origin) | 324 IPC_STRUCT_MEMBER(base::string16, source_origin) |
325 | 325 |
326 // The origin for the message's target. | 326 // The origin for the message's target. |
327 IPC_STRUCT_MEMBER(base::string16, target_origin) | 327 IPC_STRUCT_MEMBER(base::string16, target_origin) |
328 | 328 |
329 // Information about the MessagePorts this message contains. | 329 // Information about the MessagePorts this message contains. |
330 IPC_STRUCT_MEMBER(std::vector<content::MessagePort>, message_ports) | 330 IPC_STRUCT_MEMBER(std::vector<content::MessagePort>, message_ports) |
331 IPC_STRUCT_END() | 331 IPC_STRUCT_END() |
332 | 332 |
| 333 IPC_STRUCT_TRAITS_BEGIN(content::SourceLocation) |
| 334 IPC_STRUCT_TRAITS_MEMBER(url) |
| 335 IPC_STRUCT_TRAITS_MEMBER(line_number) |
| 336 IPC_STRUCT_TRAITS_MEMBER(column_number) |
| 337 IPC_STRUCT_TRAITS_END() |
| 338 |
333 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) | 339 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) |
334 IPC_STRUCT_TRAITS_MEMBER(url) | 340 IPC_STRUCT_TRAITS_MEMBER(url) |
335 IPC_STRUCT_TRAITS_MEMBER(referrer) | 341 IPC_STRUCT_TRAITS_MEMBER(referrer) |
336 IPC_STRUCT_TRAITS_MEMBER(transition) | 342 IPC_STRUCT_TRAITS_MEMBER(transition) |
337 IPC_STRUCT_TRAITS_MEMBER(navigation_type) | 343 IPC_STRUCT_TRAITS_MEMBER(navigation_type) |
338 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 344 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
339 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) | 345 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) |
340 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) | 346 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) |
341 IPC_STRUCT_TRAITS_MEMBER(report_type) | 347 IPC_STRUCT_TRAITS_MEMBER(report_type) |
342 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) | 348 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) |
343 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) | 349 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) |
344 IPC_STRUCT_TRAITS_MEMBER(previews_state) | 350 IPC_STRUCT_TRAITS_MEMBER(previews_state) |
345 IPC_STRUCT_TRAITS_MEMBER(navigation_start) | 351 IPC_STRUCT_TRAITS_MEMBER(navigation_start) |
346 IPC_STRUCT_TRAITS_MEMBER(method) | 352 IPC_STRUCT_TRAITS_MEMBER(method) |
347 IPC_STRUCT_TRAITS_MEMBER(post_data) | 353 IPC_STRUCT_TRAITS_MEMBER(post_data) |
| 354 IPC_STRUCT_TRAITS_MEMBER(source_location) |
348 IPC_STRUCT_TRAITS_END() | 355 IPC_STRUCT_TRAITS_END() |
349 | 356 |
350 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 357 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
351 IPC_STRUCT_TRAITS_MEMBER(headers) | 358 IPC_STRUCT_TRAITS_MEMBER(headers) |
352 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 359 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
353 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 360 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
354 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 361 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
355 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 362 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
356 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) | 363 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) |
357 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) | 364 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) |
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1611 // nearest find result in the sending frame. | 1618 // nearest find result in the sending frame. |
1612 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1619 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1613 int /* nfr_request_id */, | 1620 int /* nfr_request_id */, |
1614 float /* distance */) | 1621 float /* distance */) |
1615 #endif | 1622 #endif |
1616 | 1623 |
1617 // Adding a new message? Stick to the sort order above: first platform | 1624 // Adding a new message? Stick to the sort order above: first platform |
1618 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1625 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1619 // platform independent FrameHostMsg, then ifdefs for platform specific | 1626 // platform independent FrameHostMsg, then ifdefs for platform specific |
1620 // FrameHostMsg. | 1627 // FrameHostMsg. |
OLD | NEW |