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

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: Write GoToOffsetWithParams to use GoToOffset (DRY) 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 // Indicates the renderer process is gone. This actually is sent by the 744 // Indicates the renderer process is gone. This actually is sent by the
745 // browser process to itself, but keeps the interface cleaner. 745 // browser process to itself, but keeps the interface cleaner.
746 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, 746 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone,
747 int, /* this really is base::TerminationStatus */ 747 int, /* this really is base::TerminationStatus */
748 int /* exit_code */) 748 int /* exit_code */)
749 749
750 // Sent by the renderer when the frame becomes focused. 750 // Sent by the renderer when the frame becomes focused.
751 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 751 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
752 752
753 // Sent when the renderer starts a provisional load for a frame. 753 // Sent when the renderer starts a provisional load for a frame.
754 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartProvisionalLoadForFrame, 754 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame,
755 GURL /* url */) 755 GURL /* url */,
756 base::TimeTicks /* navigation_start */);
756 757
757 // Sent when the renderer fails a provisional load with an error. 758 // Sent when the renderer fails a provisional load with an error.
758 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, 759 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
759 FrameHostMsg_DidFailProvisionalLoadWithError_Params) 760 FrameHostMsg_DidFailProvisionalLoadWithError_Params)
760 761
761 // Notifies the browser that a frame in the view has changed. This message 762 // Notifies the browser that a frame in the view has changed. This message
762 // has a lot of parameters and is packed/unpacked by functions defined in 763 // has a lot of parameters and is packed/unpacked by functions defined in
763 // render_messages.h. 764 // render_messages.h.
764 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, 765 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad,
765 FrameHostMsg_DidCommitProvisionalLoad_Params) 766 FrameHostMsg_DidCommitProvisionalLoad_Params)
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1228 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1228 FrameHostMsg_ShowPopup_Params) 1229 FrameHostMsg_ShowPopup_Params)
1229 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1230 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1230 1231
1231 #endif 1232 #endif
1232 1233
1233 // Adding a new message? Stick to the sort order above: first platform 1234 // Adding a new message? Stick to the sort order above: first platform
1234 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1235 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1235 // platform independent FrameHostMsg, then ifdefs for platform specific 1236 // platform independent FrameHostMsg, then ifdefs for platform specific
1236 // FrameHostMsg. 1237 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698