OLD | NEW |
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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 10 #include "url/gurl.h" |
10 | 11 |
11 #undef IPC_MESSAGE_EXPORT | 12 #undef IPC_MESSAGE_EXPORT |
12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
13 | 14 |
14 #define IPC_MESSAGE_START FrameMsgStart | 15 #define IPC_MESSAGE_START FrameMsgStart |
15 | 16 |
16 // Sent by the renderer when a child frame is created in the renderer. The | 17 // Sent by the renderer when a child frame is created in the renderer. The |
17 // |parent_frame_id| and |frame_id| are NOT routing ids. They are | 18 // |parent_frame_id| and |frame_id| are NOT routing ids. They are |
18 // renderer-allocated identifiers used for tracking a frame's creation. | 19 // renderer-allocated identifiers used for tracking a frame's creation. |
19 // | 20 // |
(...skipping 15 matching lines...) Expand all Loading... |
35 int64 /* parent_frame_id */, | 36 int64 /* parent_frame_id */, |
36 int64 /* frame_id */) | 37 int64 /* frame_id */) |
37 | 38 |
38 // Sent when the renderer starts a provisional load for a frame. | 39 // Sent when the renderer starts a provisional load for a frame. |
39 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidStartProvisionalLoadForFrame, | 40 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidStartProvisionalLoadForFrame, |
40 int64 /* frame_id */, | 41 int64 /* frame_id */, |
41 int64 /* parent_frame_id */, | 42 int64 /* parent_frame_id */, |
42 bool /* true if it is the main frame */, | 43 bool /* true if it is the main frame */, |
43 GURL /* url */) | 44 GURL /* url */) |
44 | 45 |
OLD | NEW |