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

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

Issue 1257553002: [Proof-of-concept] PlzNavigate and Service Worker Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass navigation_provider_id Created 5 years, 5 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 "cc/surfaces/surface_id.h" 8 #include "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surface_sequence.h" 9 #include "cc/surfaces/surface_sequence.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 // External popup menus. 623 // External popup menus.
624 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, 624 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem,
625 int /* selected index, -1 means no selection */) 625 int /* selected index, -1 means no selection */)
626 626
627 #endif 627 #endif
628 628
629 // PlzNavigate 629 // PlzNavigate
630 // Tells the renderer that a navigation is ready to commit. The renderer should 630 // Tells the renderer that a navigation is ready to commit. The renderer should
631 // request |stream_url| to get access to the stream containing the body of the 631 // request |stream_url| to get access to the stream containing the body of the
632 // response. 632 // response.
633 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, 633 IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation,
634 content::ResourceResponseHead, /* response */ 634 content::ResourceResponseHead, /* response */
635 GURL, /* stream_url */ 635 GURL, /* stream_url */
636 content::CommonNavigationParams, /* common_params */ 636 content::CommonNavigationParams, /* common_params */
637 content::RequestNavigationParams /* request_params */) 637 content::RequestNavigationParams, /* request_params */
638 int /* navigation_provider_id */)
michaeln 2015/07/30 01:35:08 There are many existing params values related to n
horo 2015/07/30 11:05:41 Humm.. I am also not familiar with the NavigationP
Fabrice (no longer in Chrome) 2015/08/06 15:39:15 CommonNavigationParams are for parameters needed b
nasko 2015/08/07 17:51:12 Do we need to carry the provider ID from the brows
638 639
639 // PlzNavigate 640 // PlzNavigate
640 // Tells the renderer that a navigation failed with the error code |error_code| 641 // Tells the renderer that a navigation failed with the error code |error_code|
641 // and that the renderer should display an appropriate error page. 642 // and that the renderer should display an appropriate error page.
642 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, 643 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
643 content::CommonNavigationParams, /* common_params */ 644 content::CommonNavigationParams, /* common_params */
644 content::RequestNavigationParams, /* request_params */ 645 content::RequestNavigationParams, /* request_params */
645 bool, /* stale_copy_in_cache */ 646 bool, /* stale_copy_in_cache */
646 int /* error_code */) 647 int /* error_code */)
647 648
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 FrameMsg_PostMessage_Params) 1020 FrameMsg_PostMessage_Params)
1020 1021
1021 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1022 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1022 1023
1023 // Message to show/hide a popup menu using native controls. 1024 // Message to show/hide a popup menu using native controls.
1024 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1025 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1025 FrameHostMsg_ShowPopup_Params) 1026 FrameHostMsg_ShowPopup_Params)
1026 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1027 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1027 1028
1028 #endif 1029 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698