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 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 IPC_MESSAGE_ROUTED1(ViewHostMsg_GetAudioVolume, | 1131 IPC_MESSAGE_ROUTED1(ViewHostMsg_GetAudioVolume, |
1132 int /* stream_id */) | 1132 int /* stream_id */) |
1133 | 1133 |
1134 // Set audio volume of the stream specified by (render_view_id, stream_id). | 1134 // Set audio volume of the stream specified by (render_view_id, stream_id). |
1135 // TODO(hclam): change this to vector if we have channel numbers other than 2. | 1135 // TODO(hclam): change this to vector if we have channel numbers other than 2. |
1136 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, | 1136 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, |
1137 int /* stream_id */, | 1137 int /* stream_id */, |
1138 double /* left_channel */, | 1138 double /* left_channel */, |
1139 double /* right_channel */) | 1139 double /* right_channel */) |
1140 | 1140 |
| 1141 // A renderer sends this to the browser process when it wants to create a |
| 1142 // worker. The browser will create the worker process if necessary, and |
| 1143 // will return the route id on success. On error returns MSG_ROUTING_NONE. |
| 1144 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateDedicatedWorker, |
| 1145 GURL /* url */, |
| 1146 int /* route_id */) |
| 1147 |
| 1148 // Wraps an IPC message that's destined to the worker on the renderer->browser |
| 1149 // hop. |
| 1150 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, |
| 1151 IPC::Message /* message */) |
| 1152 |
1141 IPC_END_MESSAGES(ViewHost) | 1153 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |