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

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: Created 4 years, 10 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // External popup menus. 789 // External popup menus.
790 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, 790 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem,
791 int /* selected index, -1 means no selection */) 791 int /* selected index, -1 means no selection */)
792 792
793 #endif 793 #endif
794 794
795 // PlzNavigate 795 // PlzNavigate
796 // Tells the renderer that a navigation is ready to commit. The renderer should 796 // Tells the renderer that a navigation is ready to commit. The renderer should
797 // request |stream_url| to get access to the stream containing the body of the 797 // request |stream_url| to get access to the stream containing the body of the
798 // response. 798 // response.
799 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, 799 IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation,
800 content::ResourceResponseHead, /* response */ 800 content::ResourceResponseHead, /* response */
801 GURL, /* stream_url */ 801 GURL, /* stream_url */
802 content::CommonNavigationParams, /* common_params */ 802 content::CommonNavigationParams, /* common_params */
803 content::RequestNavigationParams /* request_params */) 803 content::RequestNavigationParams, /* request_params */
804 int32_t /* navigation_commit_id */)
804 805
805 // PlzNavigate 806 // PlzNavigate
806 // Tells the renderer that a navigation failed with the error code |error_code| 807 // Tells the renderer that a navigation failed with the error code |error_code|
807 // and that the renderer should display an appropriate error page. 808 // and that the renderer should display an appropriate error page.
808 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, 809 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
809 content::CommonNavigationParams, /* common_params */ 810 content::CommonNavigationParams, /* common_params */
810 content::RequestNavigationParams, /* request_params */ 811 content::RequestNavigationParams, /* request_params */
811 bool, /* stale_copy_in_cache */ 812 bool, /* stale_copy_in_cache */
812 int /* error_code */) 813 int /* error_code */)
813 814
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1430 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1430 int /* version */, 1431 int /* version */,
1431 std::vector<gfx::RectF> /* rects */, 1432 std::vector<gfx::RectF> /* rects */,
1432 gfx::RectF /* active_rect */) 1433 gfx::RectF /* active_rect */)
1433 #endif 1434 #endif
1434 1435
1435 // Adding a new message? Stick to the sort order above: first platform 1436 // Adding a new message? Stick to the sort order above: first platform
1436 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1437 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1437 // platform independent FrameHostMsg, then ifdefs for platform specific 1438 // platform independent FrameHostMsg, then ifdefs for platform specific
1438 // FrameHostMsg. 1439 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698