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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 bool /* user canceled the popup */, | 902 bool /* user canceled the popup */, |
903 std::vector<int> /* selected indices */) | 903 std::vector<int> /* selected indices */) |
904 #endif | 904 #endif |
905 #endif | 905 #endif |
906 | 906 |
907 // PlzNavigate | 907 // PlzNavigate |
908 // Tells the renderer that a navigation is ready to commit. The renderer should | 908 // 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 | 909 // request |stream_url| to get access to the stream containing the body of the |
910 // response. | 910 // response. |
911 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 911 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, |
912 content::ResourceResponseHead, /* response */ | 912 content::ResourceResponseHead, /* response */ |
913 GURL, /* stream_url */ | 913 mojo::DataPipeConsumerHandle, /* handle */ |
914 content::CommonNavigationParams, /* common_params */ | 914 content::CommonNavigationParams, /* common_params */ |
915 content::RequestNavigationParams /* request_params */) | 915 content::RequestNavigationParams /* request_params */) |
916 | 916 |
917 // PlzNavigate | 917 // PlzNavigate |
918 // Tells the renderer that a navigation failed with the error code |error_code| | 918 // Tells the renderer that a navigation failed with the error code |error_code| |
919 // and that the renderer should display an appropriate error page. | 919 // and that the renderer should display an appropriate error page. |
920 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 920 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
921 content::CommonNavigationParams, /* common_params */ | 921 content::CommonNavigationParams, /* common_params */ |
922 content::RequestNavigationParams, /* request_params */ | 922 content::RequestNavigationParams, /* request_params */ |
923 bool, /* stale_copy_in_cache */ | 923 bool, /* stale_copy_in_cache */ |
924 int /* error_code */) | 924 int /* error_code */) |
925 | 925 |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 int /* nfr_request_id */, | 1654 int /* nfr_request_id */, |
1655 float /* distance */) | 1655 float /* distance */) |
1656 | 1656 |
1657 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1657 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1658 #endif | 1658 #endif |
1659 | 1659 |
1660 // Adding a new message? Stick to the sort order above: first platform | 1660 // Adding a new message? Stick to the sort order above: first platform |
1661 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1661 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1662 // platform independent FrameHostMsg, then ifdefs for platform specific | 1662 // platform independent FrameHostMsg, then ifdefs for platform specific |
1663 // FrameHostMsg. | 1663 // FrameHostMsg. |
OLD | NEW |