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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 // The origin of the source frame. | 325 // The origin of the source frame. |
326 IPC_STRUCT_MEMBER(base::string16, source_origin) | 326 IPC_STRUCT_MEMBER(base::string16, source_origin) |
327 | 327 |
328 // The origin for the message's target. | 328 // The origin for the message's target. |
329 IPC_STRUCT_MEMBER(base::string16, target_origin) | 329 IPC_STRUCT_MEMBER(base::string16, target_origin) |
330 | 330 |
331 // Information about the MessagePorts this message contains. | 331 // Information about the MessagePorts this message contains. |
332 IPC_STRUCT_MEMBER(std::vector<content::MessagePort>, message_ports) | 332 IPC_STRUCT_MEMBER(std::vector<content::MessagePort>, message_ports) |
333 IPC_STRUCT_END() | 333 IPC_STRUCT_END() |
334 | 334 |
| 335 IPC_STRUCT_TRAITS_BEGIN(content::SourceLocation) |
| 336 IPC_STRUCT_TRAITS_MEMBER(url) |
| 337 IPC_STRUCT_TRAITS_MEMBER(line_number) |
| 338 IPC_STRUCT_TRAITS_MEMBER(column_number) |
| 339 IPC_STRUCT_TRAITS_END() |
| 340 |
335 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) | 341 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) |
336 IPC_STRUCT_TRAITS_MEMBER(url) | 342 IPC_STRUCT_TRAITS_MEMBER(url) |
337 IPC_STRUCT_TRAITS_MEMBER(referrer) | 343 IPC_STRUCT_TRAITS_MEMBER(referrer) |
338 IPC_STRUCT_TRAITS_MEMBER(transition) | 344 IPC_STRUCT_TRAITS_MEMBER(transition) |
339 IPC_STRUCT_TRAITS_MEMBER(navigation_type) | 345 IPC_STRUCT_TRAITS_MEMBER(navigation_type) |
340 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 346 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
341 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) | 347 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) |
342 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) | 348 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) |
343 IPC_STRUCT_TRAITS_MEMBER(report_type) | 349 IPC_STRUCT_TRAITS_MEMBER(report_type) |
344 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) | 350 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) |
345 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) | 351 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) |
346 IPC_STRUCT_TRAITS_MEMBER(previews_state) | 352 IPC_STRUCT_TRAITS_MEMBER(previews_state) |
347 IPC_STRUCT_TRAITS_MEMBER(navigation_start) | 353 IPC_STRUCT_TRAITS_MEMBER(navigation_start) |
348 IPC_STRUCT_TRAITS_MEMBER(method) | 354 IPC_STRUCT_TRAITS_MEMBER(method) |
349 IPC_STRUCT_TRAITS_MEMBER(post_data) | 355 IPC_STRUCT_TRAITS_MEMBER(post_data) |
| 356 IPC_STRUCT_TRAITS_MEMBER(source_location) |
350 IPC_STRUCT_TRAITS_END() | 357 IPC_STRUCT_TRAITS_END() |
351 | 358 |
352 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 359 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
353 IPC_STRUCT_TRAITS_MEMBER(headers) | 360 IPC_STRUCT_TRAITS_MEMBER(headers) |
354 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 361 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
355 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 362 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
356 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 363 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
357 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 364 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
358 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) | 365 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) |
359 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) | 366 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) |
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1611 int /* nfr_request_id */, | 1618 int /* nfr_request_id */, |
1612 float /* distance */) | 1619 float /* distance */) |
1613 | 1620 |
1614 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1621 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
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 |