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

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

Powered by Google App Engine
This is Rietveld 408576698