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

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

Issue 1693563002: PROTOTYPE: PlzNavigate: use a Mojo data pipe to stream navigation data to the renderer. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browser sends URLRequest id to the renderer and renderer uses intermediary buffer for data: none he… 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
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/common/render_frame_setup.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 // External popup menus. 806 // External popup menus.
807 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, 807 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem,
808 int /* selected index, -1 means no selection */) 808 int /* selected index, -1 means no selection */)
809 809
810 #endif 810 #endif
811 811
812 // PlzNavigate 812 // PlzNavigate
813 // Tells the renderer that a navigation is ready to commit. The renderer should 813 // Tells the renderer that a navigation is ready to commit. The renderer should
814 // request |stream_url| to get access to the stream containing the body of the 814 // request |stream_url| to get access to the stream containing the body of the
815 // response. 815 // response.
816 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, 816 IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation,
817 content::ResourceResponseHead, /* response */ 817 content::ResourceResponseHead, /* response */
818 GURL, /* stream_url */ 818 GURL, /* stream_url */
819 content::CommonNavigationParams, /* common_params */ 819 content::CommonNavigationParams, /* common_params */
820 content::RequestNavigationParams /* request_params */) 820 content::RequestNavigationParams, /* request_params */
821 int32_t /* navigation_commit_id */)
821 822
822 // PlzNavigate 823 // PlzNavigate
823 // Tells the renderer that a navigation failed with the error code |error_code| 824 // Tells the renderer that a navigation failed with the error code |error_code|
824 // and that the renderer should display an appropriate error page. 825 // and that the renderer should display an appropriate error page.
825 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, 826 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
826 content::CommonNavigationParams, /* common_params */ 827 content::CommonNavigationParams, /* common_params */
827 content::RequestNavigationParams, /* request_params */ 828 content::RequestNavigationParams, /* request_params */
828 bool, /* stale_copy_in_cache */ 829 bool, /* stale_copy_in_cache */
829 int /* error_code */) 830 int /* error_code */)
830 831
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1440 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1440 int /* version */, 1441 int /* version */,
1441 std::vector<gfx::RectF> /* rects */, 1442 std::vector<gfx::RectF> /* rects */,
1442 gfx::RectF /* active_rect */) 1443 gfx::RectF /* active_rect */)
1443 #endif 1444 #endif
1444 1445
1445 // Adding a new message? Stick to the sort order above: first platform 1446 // Adding a new message? Stick to the sort order above: first platform
1446 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1447 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1447 // platform independent FrameHostMsg, then ifdefs for platform specific 1448 // platform independent FrameHostMsg, then ifdefs for platform specific
1448 // FrameHostMsg. 1449 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/common/render_frame_setup.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698