Chromium Code Reviews| 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 897 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 | 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 GURL, /* stream_url */ |
| 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 // Informs the renderer that the browser stopped processing a renderer-initiated | |
| 919 // navigation. | |
|
Charlie Reis
2017/03/23 16:52:53
Please clarify how this differs from FrameMsg_Stop
| |
| 920 IPC_MESSAGE_ROUTED0(FrameMsg_DroppedNavigation) | |
| 921 | |
| 922 // PlzNavigate | |
| 918 // Tells the renderer that a navigation failed with the error code |error_code| | 923 // Tells the renderer that a navigation failed with the error code |error_code| |
| 919 // and that the renderer should display an appropriate error page. | 924 // and that the renderer should display an appropriate error page. |
| 920 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 925 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
| 921 content::CommonNavigationParams, /* common_params */ | 926 content::CommonNavigationParams, /* common_params */ |
| 922 content::RequestNavigationParams, /* request_params */ | 927 content::RequestNavigationParams, /* request_params */ |
| 923 bool, /* stale_copy_in_cache */ | 928 bool, /* stale_copy_in_cache */ |
| 924 int /* error_code */) | 929 int /* error_code */) |
| 925 | 930 |
| 926 // PlzNavigate | 931 // PlzNavigate |
| 927 // Tells the renderer that a navigation was blocked because a content security | 932 // 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 */, | 1655 int /* nfr_request_id */, |
| 1651 float /* distance */) | 1656 float /* distance */) |
| 1652 | 1657 |
| 1653 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1658 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
| 1654 #endif | 1659 #endif |
| 1655 | 1660 |
| 1656 // Adding a new message? Stick to the sort order above: first platform | 1661 // Adding a new message? Stick to the sort order above: first platform |
| 1657 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1662 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1658 // platform independent FrameHostMsg, then ifdefs for platform specific | 1663 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1659 // FrameHostMsg. | 1664 // FrameHostMsg. |
| OLD | NEW |