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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 365 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
366 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 366 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
367 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 367 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
368 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 368 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
369 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) | 369 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) |
370 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) | 370 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) |
371 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) | 371 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) |
372 IPC_STRUCT_TRAITS_MEMBER(initiator_origin) | 372 IPC_STRUCT_TRAITS_MEMBER(initiator_origin) |
373 IPC_STRUCT_TRAITS_MEMBER(client_side_redirect_url) | 373 IPC_STRUCT_TRAITS_MEMBER(client_side_redirect_url) |
374 IPC_STRUCT_TRAITS_MEMBER(is_form_submission) | 374 IPC_STRUCT_TRAITS_MEMBER(is_form_submission) |
| 375 IPC_STRUCT_TRAITS_MEMBER(renderer_navigation_id) |
375 IPC_STRUCT_TRAITS_END() | 376 IPC_STRUCT_TRAITS_END() |
376 | 377 |
377 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) | 378 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) |
378 IPC_STRUCT_TRAITS_MEMBER(extra_headers) | 379 IPC_STRUCT_TRAITS_MEMBER(extra_headers) |
379 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) | 380 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) |
380 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) | 381 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) |
381 IPC_STRUCT_TRAITS_END() | 382 IPC_STRUCT_TRAITS_END() |
382 | 383 |
383 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming) | 384 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming) |
384 IPC_STRUCT_TRAITS_MEMBER(redirect_start) | 385 IPC_STRUCT_TRAITS_MEMBER(redirect_start) |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 // Tells the renderer that a navigation is ready to commit. The renderer should | 909 // Tells the renderer that a navigation is ready to commit. The renderer should |
909 // request |stream_url| to get access to the stream containing the body of the | 910 // request |stream_url| to get access to the stream containing the body of the |
910 // response. | 911 // response. |
911 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 912 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, |
912 content::ResourceResponseHead, /* response */ | 913 content::ResourceResponseHead, /* response */ |
913 GURL, /* stream_url */ | 914 GURL, /* stream_url */ |
914 content::CommonNavigationParams, /* common_params */ | 915 content::CommonNavigationParams, /* common_params */ |
915 content::RequestNavigationParams /* request_params */) | 916 content::RequestNavigationParams /* request_params */) |
916 | 917 |
917 // PlzNavigate | 918 // PlzNavigate |
| 919 // Informs the renderer that the browser stopped processing a renderer-initiated |
| 920 // navigation. |
| 921 IPC_MESSAGE_ROUTED1(FrameMsg_DroppedNavigation, |
| 922 int /* renderer_navigation_id */) |
| 923 |
| 924 // PlzNavigate |
918 // Tells the renderer that a navigation failed with the error code |error_code| | 925 // Tells the renderer that a navigation failed with the error code |error_code| |
919 // and that the renderer should display an appropriate error page. | 926 // and that the renderer should display an appropriate error page. |
920 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 927 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
921 content::CommonNavigationParams, /* common_params */ | 928 content::CommonNavigationParams, /* common_params */ |
922 content::RequestNavigationParams, /* request_params */ | 929 content::RequestNavigationParams, /* request_params */ |
923 bool, /* stale_copy_in_cache */ | 930 bool, /* stale_copy_in_cache */ |
924 int /* error_code */) | 931 int /* error_code */) |
925 | 932 |
926 // PlzNavigate | 933 // PlzNavigate |
927 // Tells the renderer that a navigation was blocked because a content security | 934 // Tells the renderer that a navigation was blocked because a content security |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1650 int /* nfr_request_id */, | 1657 int /* nfr_request_id */, |
1651 float /* distance */) | 1658 float /* distance */) |
1652 | 1659 |
1653 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1660 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1654 #endif | 1661 #endif |
1655 | 1662 |
1656 // Adding a new message? Stick to the sort order above: first platform | 1663 // Adding a new message? Stick to the sort order above: first platform |
1657 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1664 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1658 // platform independent FrameHostMsg, then ifdefs for platform specific | 1665 // platform independent FrameHostMsg, then ifdefs for platform specific |
1659 // FrameHostMsg. | 1666 // FrameHostMsg. |
OLD | NEW |