OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // IPC messages for interacting with frames. | |
6 // Multiply-included message file, hence no include guard. | |
7 | |
8 #include "content/common/content_export.h" | |
9 #include "ipc/ipc_message_macros.h" | |
10 | |
11 #undef IPC_MESSAGE_EXPORT | |
12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | |
13 | |
14 #define IPC_MESSAGE_START FrameMsgStart | |
15 | |
16 // Similar to ViewHostMsg_CreateWindow, except used for sub-frames like | |
17 // and <iframe>. | |
nasko
2013/09/11 22:26:24
nit: "an" instead of "and"?
awong
2013/09/21 01:19:56
Done.
| |
18 // | |
19 // TODO(ajwong): Remove ViewHostMsg_FrameAttached once a RenderFrame is | |
20 // guaranteed to be created per WebCore::Frame, and WebCore::identifier() has | |
21 // been replaced by. | |
nasko
2013/09/11 22:26:24
Replaced by what?
awong
2013/09/21 01:19:56
Done.
| |
22 IPC_SYNC_MESSAGE_CONTROL4_1(FrameHostMsg_CreateChildFrame, | |
23 int /* parent_render_frame_id */, | |
nasko
2013/09/11 22:26:24
Would it help to be explicit and use int32? I know
awong
2013/09/21 01:19:56
sure.
| |
24 int64 /* parent_frame_id */, | |
25 int64 /* frame_id */, | |
26 std::string /* frame_name */, | |
27 int /* new_render_frame_id */) | |
28 | |
29 // TODO(ajwong): Remove ViewHostMsg_FrameDetached once a RenderFrame is | |
30 // guaranteed to be created per WebCore::Frame. | |
31 IPC_MESSAGE_ROUTED2(FrameHostMsg_Detach, | |
32 int64 /* parent_frame_id */, | |
33 int64 /* frame_id */) | |
34 | |
OLD | NEW |