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

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: Conflict Resolution: FrameHostMsg_DidStartProvisionalLoad 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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 // Indicates the renderer process is gone. This actually is sent by the 752 // Indicates the renderer process is gone. This actually is sent by the
753 // browser process to itself, but keeps the interface cleaner. 753 // browser process to itself, but keeps the interface cleaner.
754 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, 754 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
755 int, /* this really is base::TerminationStatus */ 755 int, /* this really is base::TerminationStatus */
756 int /* exit_code */) 756 int /* exit_code */)
757 757
758 // Sent by the renderer when the frame becomes focused. 758 // Sent by the renderer when the frame becomes focused.
759 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 759 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
760 760
761 // Sent when the renderer starts a provisional load for a frame. 761 // Sent when the renderer starts a provisional load for a frame.
762 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartProvisionalLoad, GURL /* url */) 762 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad,
763 GURL /* url */,
764 base::TimeTicks /* navigation_start */);
763 765
764 // Sent when the renderer fails a provisional load with an error. 766 // Sent when the renderer fails a provisional load with an error.
765 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, 767 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
766 FrameHostMsg_DidFailProvisionalLoadWithError_Params) 768 FrameHostMsg_DidFailProvisionalLoadWithError_Params)
767 769
768 // Notifies the browser that a frame in the view has changed. This message 770 // Notifies the browser that a frame in the view has changed. This message
769 // has a lot of parameters and is packed/unpacked by functions defined in 771 // has a lot of parameters and is packed/unpacked by functions defined in
770 // render_messages.h. 772 // render_messages.h.
771 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, 773 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad,
772 FrameHostMsg_DidCommitProvisionalLoad_Params) 774 FrameHostMsg_DidCommitProvisionalLoad_Params)
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1238 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1237 FrameHostMsg_ShowPopup_Params) 1239 FrameHostMsg_ShowPopup_Params)
1238 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1240 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1239 1241
1240 #endif 1242 #endif
1241 1243
1242 // Adding a new message? Stick to the sort order above: first platform 1244 // Adding a new message? Stick to the sort order above: first platform
1243 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1245 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1244 // platform independent FrameHostMsg, then ifdefs for platform specific 1246 // platform independent FrameHostMsg, then ifdefs for platform specific
1245 // FrameHostMsg. 1247 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/public/browser/navigation_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698