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" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // create a plugin. The browser will create the plugin process if | 78 // create a plugin. The browser will create the plugin process if |
79 // necessary, and will return a handle to the channel on success. | 79 // necessary, and will return a handle to the channel on success. |
80 // On error an empty string is returned. | 80 // On error an empty string is returned. |
81 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, | 81 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, |
82 int /* render_frame_id */, | 82 int /* render_frame_id */, |
83 GURL /* url */, | 83 GURL /* url */, |
84 GURL /* page_url */, | 84 GURL /* page_url */, |
85 std::string /* mime_type */, | 85 std::string /* mime_type */, |
86 IPC::ChannelHandle /* channel_handle */, | 86 IPC::ChannelHandle /* channel_handle */, |
87 content::WebPluginInfo /* info */) | 87 content::WebPluginInfo /* info */) |
| 88 |
| 89 // Indicates that the current renderer has swapped out, after a SwapOut |
| 90 // message. |
| 91 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) |
| 92 |
| 93 // Instructs the renderer to swap out for a cross-site transition, including |
| 94 // running the unload event handler. Expects a SwapOut_ACK message when |
| 95 // finished. |
| 96 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) |
OLD | NEW |