OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1189 size_t, /* bytes requested */ | 1189 size_t, /* bytes requested */ |
1190 IPC::Maybe<TransportDIB::Handle> /* DIB */) | 1190 IPC::Maybe<TransportDIB::Handle> /* DIB */) |
1191 | 1191 |
1192 // Since the browser keeps handles to the allocated transport DIBs, this | 1192 // Since the browser keeps handles to the allocated transport DIBs, this |
1193 // message is sent to tell the browser that it may release them when the | 1193 // message is sent to tell the browser that it may release them when the |
1194 // renderer is finished with them. | 1194 // renderer is finished with them. |
1195 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1195 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1196 TransportDIB::Id /* DIB id */) | 1196 TransportDIB::Id /* DIB id */) |
1197 #endif | 1197 #endif |
1198 | 1198 |
| 1199 // A renderer sends this to the browser process when it wants to create a |
| 1200 // worker. The browser will create the worker process if necessary, and |
| 1201 // will return the route id on success. On error returns MSG_ROUTING_NONE. |
| 1202 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateDedicatedWorker, |
| 1203 GURL /* url */, |
| 1204 int /* route_id */) |
| 1205 |
| 1206 // Wraps an IPC message that's destined to the worker on the renderer->browser |
| 1207 // hop. |
| 1208 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, |
| 1209 IPC::Message /* message */) |
| 1210 |
1199 IPC_END_MESSAGES(ViewHost) | 1211 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |