| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 GURL /* new_url */) | 185 GURL /* new_url */) |
| 186 | 186 |
| 187 // Sent when some data from a resource request is ready. The handle should | 187 // Sent when some data from a resource request is ready. The handle should |
| 188 // already be mapped into the process that receives this message. | 188 // already be mapped into the process that receives this message. |
| 189 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DataReceived, | 189 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DataReceived, |
| 190 int /* request_id */, | 190 int /* request_id */, |
| 191 base::SharedMemoryHandle /* data */, | 191 base::SharedMemoryHandle /* data */, |
| 192 int /* data_len */) | 192 int /* data_len */) |
| 193 | 193 |
| 194 // Sent when the request has been completed. | 194 // Sent when the request has been completed. |
| 195 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_RequestComplete, | 195 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_RequestComplete, |
| 196 int /* request_id */, | 196 int /* request_id */, |
| 197 URLRequestStatus /* status */) | 197 URLRequestStatus /* status */, |
| 198 std::string /* security info */) |
| 198 | 199 |
| 199 // Request for the renderer to evaluate an xpath to a frame and execute a | 200 // Request for the renderer to evaluate an xpath to a frame and execute a |
| 200 // javascript: url in that frame's context. The message is completely | 201 // javascript: url in that frame's context. The message is completely |
| 201 // asynchronous and no corresponding response message is sent back. | 202 // asynchronous and no corresponding response message is sent back. |
| 202 // | 203 // |
| 203 // frame_xpath contains the modified xpath notation to identify an inner | 204 // frame_xpath contains the modified xpath notation to identify an inner |
| 204 // subframe (starting from the root frame). It is a concatenation of | 205 // subframe (starting from the root frame). It is a concatenation of |
| 205 // number of smaller xpaths delimited by '\n'. Each chunk in the string can | 206 // number of smaller xpaths delimited by '\n'. Each chunk in the string can |
| 206 // be evaluated to a frame in its parent-frame's context. | 207 // be evaluated to a frame in its parent-frame's context. |
| 207 // | 208 // |
| (...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1162 int /* stream_id */) | 1163 int /* stream_id */) |
| 1163 | 1164 |
| 1164 // Set audio volume of the stream specified by (render_view_id, stream_id). | 1165 // Set audio volume of the stream specified by (render_view_id, stream_id). |
| 1165 // TODO(hclam): change this to vector if we have channel numbers other than 2. | 1166 // TODO(hclam): change this to vector if we have channel numbers other than 2. |
| 1166 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, | 1167 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, |
| 1167 int /* stream_id */, | 1168 int /* stream_id */, |
| 1168 double /* left_channel */, | 1169 double /* left_channel */, |
| 1169 double /* right_channel */) | 1170 double /* right_channel */) |
| 1170 | 1171 |
| 1171 IPC_END_MESSAGES(ViewHost) | 1172 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |