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 "content/public/common/common_param_traits.h" | 9 #include "content/public/common/common_param_traits.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 11 #include "url/gurl.h" |
11 | 12 |
12 #undef IPC_MESSAGE_EXPORT | 13 #undef IPC_MESSAGE_EXPORT |
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
14 | 15 |
15 #define IPC_MESSAGE_START FrameMsgStart | 16 #define IPC_MESSAGE_START FrameMsgStart |
16 | 17 |
17 // Sent by the renderer when a child frame is created in the renderer. The | 18 // Sent by the renderer when a child frame is created in the renderer. The |
18 // |parent_frame_id| and |frame_id| are NOT routing ids. They are | 19 // |parent_frame_id| and |frame_id| are NOT routing ids. They are |
19 // renderer-allocated identifiers used for tracking a frame's creation. | 20 // renderer-allocated identifiers used for tracking a frame's creation. |
20 // | 21 // |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // create a plugin. The browser will create the plugin process if | 79 // create a plugin. The browser will create the plugin process if |
79 // necessary, and will return a handle to the channel on success. | 80 // necessary, and will return a handle to the channel on success. |
80 // On error an empty string is returned. | 81 // On error an empty string is returned. |
81 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, | 82 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, |
82 int /* render_frame_id */, | 83 int /* render_frame_id */, |
83 GURL /* url */, | 84 GURL /* url */, |
84 GURL /* page_url */, | 85 GURL /* page_url */, |
85 std::string /* mime_type */, | 86 std::string /* mime_type */, |
86 IPC::ChannelHandle /* channel_handle */, | 87 IPC::ChannelHandle /* channel_handle */, |
87 content::WebPluginInfo /* info */) | 88 content::WebPluginInfo /* info */) |
OLD | NEW |