Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: content/common/frame_messages.h

Issue 1907443006: PlzNavigate: store POST data in the FrameNavigationEntry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 GURL /* url */, 931 GURL /* url */,
931 base::TimeTicks /* navigation_start */) 932 base::TimeTicks /* navigation_start */)
932 933
933 // Sent when the renderer fails a provisional load with an error. 934 // Sent when the renderer fails a provisional load with an error.
934 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, 935 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
935 FrameHostMsg_DidFailProvisionalLoadWithError_Params) 936 FrameHostMsg_DidFailProvisionalLoadWithError_Params)
936 937
937 // Notifies the browser that a frame in the view has changed. This message 938 // Notifies the browser that a frame in the view has changed. This message
938 // has a lot of parameters and is packed/unpacked by functions defined in 939 // has a lot of parameters and is packed/unpacked by functions defined in
939 // render_messages.h. 940 // render_messages.h.
940 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, 941 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidCommitProvisionalLoad,
941 FrameHostMsg_DidCommitProvisionalLoad_Params) 942 FrameHostMsg_DidCommitProvisionalLoad_Params,
943 scoped_refptr<content::ResourceRequestBody>)
942 944
943 // Notifies the browser that a document has been loaded. 945 // Notifies the browser that a document has been loaded.
944 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) 946 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad)
945 947
946 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidFailLoadWithError, 948 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidFailLoadWithError,
947 GURL /* validated_url */, 949 GURL /* validated_url */,
948 int /* error_code */, 950 int /* error_code */,
949 base::string16 /* error_description */, 951 base::string16 /* error_description */,
950 bool /* was_ignored_by_handler */) 952 bool /* was_ignored_by_handler */)
951 953
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1448 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1447 int /* version */, 1449 int /* version */,
1448 std::vector<gfx::RectF> /* rects */, 1450 std::vector<gfx::RectF> /* rects */,
1449 gfx::RectF /* active_rect */) 1451 gfx::RectF /* active_rect */)
1450 #endif 1452 #endif
1451 1453
1452 // Adding a new message? Stick to the sort order above: first platform 1454 // Adding a new message? Stick to the sort order above: first platform
1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1455 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1454 // platform independent FrameHostMsg, then ifdefs for platform specific 1456 // platform independent FrameHostMsg, then ifdefs for platform specific
1455 // FrameHostMsg. 1457 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698