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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 // External popup menus. | 819 // External popup menus. |
820 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, | 820 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, |
821 int /* selected index, -1 means no selection */) | 821 int /* selected index, -1 means no selection */) |
822 | 822 |
823 #endif | 823 #endif |
824 | 824 |
825 // PlzNavigate | 825 // PlzNavigate |
826 // Tells the renderer that a navigation is ready to commit. The renderer should | 826 // Tells the renderer that a navigation is ready to commit. The renderer should |
827 // request |stream_url| to get access to the stream containing the body of the | 827 // request |stream_url| to get access to the stream containing the body of the |
828 // response. | 828 // response. |
829 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 829 IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation, |
830 content::ResourceResponseHead, /* response */ | 830 content::ResourceResponseHead, /* response */ |
831 GURL, /* stream_url */ | 831 GURL, /* stream_url */ |
832 content::CommonNavigationParams, /* common_params */ | 832 content::CommonNavigationParams, /* common_params */ |
833 content::RequestNavigationParams /* request_params */) | 833 content::RequestNavigationParams, /* request_params */ |
| 834 scoped_refptr<content::ResourceRequestBody> /* post_data */) |
834 | 835 |
835 // PlzNavigate | 836 // PlzNavigate |
836 // Tells the renderer that a navigation failed with the error code |error_code| | 837 // Tells the renderer that a navigation failed with the error code |error_code| |
837 // and that the renderer should display an appropriate error page. | 838 // and that the renderer should display an appropriate error page. |
838 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 839 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
839 content::CommonNavigationParams, /* common_params */ | 840 content::CommonNavigationParams, /* common_params */ |
840 content::RequestNavigationParams, /* request_params */ | 841 content::RequestNavigationParams, /* request_params */ |
841 bool, /* stale_copy_in_cache */ | 842 bool, /* stale_copy_in_cache */ |
842 int /* error_code */) | 843 int /* error_code */) |
843 | 844 |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1446 int /* version */, | 1447 int /* version */, |
1447 std::vector<gfx::RectF> /* rects */, | 1448 std::vector<gfx::RectF> /* rects */, |
1448 gfx::RectF /* active_rect */) | 1449 gfx::RectF /* active_rect */) |
1449 #endif | 1450 #endif |
1450 | 1451 |
1451 // Adding a new message? Stick to the sort order above: first platform | 1452 // Adding a new message? Stick to the sort order above: first platform |
1452 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1453 // platform independent FrameHostMsg, then ifdefs for platform specific | 1454 // platform independent FrameHostMsg, then ifdefs for platform specific |
1454 // FrameHostMsg. | 1455 // FrameHostMsg. |
OLD | NEW |