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 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 // External popup menus. | 837 // External popup menus. |
838 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, | 838 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, |
839 int /* selected index, -1 means no selection */) | 839 int /* selected index, -1 means no selection */) |
840 | 840 |
841 #endif | 841 #endif |
842 | 842 |
843 // PlzNavigate | 843 // PlzNavigate |
844 // Tells the renderer that a navigation is ready to commit. The renderer should | 844 // Tells the renderer that a navigation is ready to commit. The renderer should |
845 // request |stream_url| to get access to the stream containing the body of the | 845 // request |stream_url| to get access to the stream containing the body of the |
846 // response. | 846 // response. |
847 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 847 IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation, |
848 content::ResourceResponseHead, /* response */ | 848 content::ResourceResponseHead, /* response */ |
849 GURL, /* stream_url */ | 849 GURL, /* stream_url */ |
850 content::CommonNavigationParams, /* common_params */ | 850 content::CommonNavigationParams, /* common_params */ |
851 content::RequestNavigationParams /* request_params */) | 851 content::RequestNavigationParams, /* request_params */ |
| 852 scoped_refptr<content::ResourceRequestBody> /* post_data */) |
852 | 853 |
853 // PlzNavigate | 854 // PlzNavigate |
854 // Tells the renderer that a navigation failed with the error code |error_code| | 855 // Tells the renderer that a navigation failed with the error code |error_code| |
855 // and that the renderer should display an appropriate error page. | 856 // and that the renderer should display an appropriate error page. |
856 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 857 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
857 content::CommonNavigationParams, /* common_params */ | 858 content::CommonNavigationParams, /* common_params */ |
858 content::RequestNavigationParams, /* request_params */ | 859 content::RequestNavigationParams, /* request_params */ |
859 bool, /* stale_copy_in_cache */ | 860 bool, /* stale_copy_in_cache */ |
860 int /* error_code */) | 861 int /* error_code */) |
861 | 862 |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1473 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1473 int /* version */, | 1474 int /* version */, |
1474 std::vector<gfx::RectF> /* rects */, | 1475 std::vector<gfx::RectF> /* rects */, |
1475 gfx::RectF /* active_rect */) | 1476 gfx::RectF /* active_rect */) |
1476 #endif | 1477 #endif |
1477 | 1478 |
1478 // Adding a new message? Stick to the sort order above: first platform | 1479 // Adding a new message? Stick to the sort order above: first platform |
1479 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1480 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1480 // platform independent FrameHostMsg, then ifdefs for platform specific | 1481 // platform independent FrameHostMsg, then ifdefs for platform specific |
1481 // FrameHostMsg. | 1482 // FrameHostMsg. |
OLD | NEW |