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

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

Issue 1427633004: Send navigation_start to the browser in DidStartProvisionalLoad IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigation_start_renderer
Patch Set: Created 5 years, 1 month 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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 // Indicates the renderer process is gone. This actually is sent by the 724 // Indicates the renderer process is gone. This actually is sent by the
725 // browser process to itself, but keeps the interface cleaner. 725 // browser process to itself, but keeps the interface cleaner.
726 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, 726 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
727 int, /* this really is base::TerminationStatus */ 727 int, /* this really is base::TerminationStatus */
728 int /* exit_code */) 728 int /* exit_code */)
729 729
730 // Sent by the renderer when the frame becomes focused. 730 // Sent by the renderer when the frame becomes focused.
731 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 731 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
732 732
733 // Sent when the renderer starts a provisional load for a frame. 733 // Sent when the renderer starts a provisional load for a frame.
734 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartProvisionalLoadForFrame, 734 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame,
735 GURL /* url */) 735 GURL /* url */,
736 base::TimeTicks /* navigation_start */);
736 737
737 // Sent when the renderer fails a provisional load with an error. 738 // Sent when the renderer fails a provisional load with an error.
738 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, 739 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
739 FrameHostMsg_DidFailProvisionalLoadWithError_Params) 740 FrameHostMsg_DidFailProvisionalLoadWithError_Params)
740 741
741 // Notifies the browser that a frame in the view has changed. This message 742 // Notifies the browser that a frame in the view has changed. This message
742 // has a lot of parameters and is packed/unpacked by functions defined in 743 // has a lot of parameters and is packed/unpacked by functions defined in
743 // render_messages.h. 744 // render_messages.h.
744 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, 745 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad,
745 FrameHostMsg_DidCommitProvisionalLoad_Params) 746 FrameHostMsg_DidCommitProvisionalLoad_Params)
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1202 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1202 FrameHostMsg_ShowPopup_Params) 1203 FrameHostMsg_ShowPopup_Params)
1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1204 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1204 1205
1205 #endif 1206 #endif
1206 1207
1207 // Adding a new message? Stick to the sort order above: first platform 1208 // Adding a new message? Stick to the sort order above: first platform
1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1209 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1209 // platform independent FrameHostMsg, then ifdefs for platform specific 1210 // platform independent FrameHostMsg, then ifdefs for platform specific
1210 // FrameHostMsg. 1211 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698