| 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 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 int /* id of this message */) | 1102 int /* id of this message */) |
| 1103 | 1103 |
| 1104 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1104 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 1105 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also | 1105 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also |
| 1106 // PluginProcessHostMsg_ResolveProxy which does the same thing. | 1106 // PluginProcessHostMsg_ResolveProxy which does the same thing. |
| 1107 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, | 1107 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, |
| 1108 GURL /* url */, | 1108 GURL /* url */, |
| 1109 int /* network error */, | 1109 int /* network error */, |
| 1110 std::string /* proxy list */) | 1110 std::string /* proxy list */) |
| 1111 | 1111 |
| 1112 // Request that got sent to browser for creating an audio output stream | |
| 1113 IPC_MESSAGE_ROUTED2(ViewHostMsg_CreateAudioStream, | |
| 1114 int /* stream_id */, | |
| 1115 ViewHostMsg_Audio_CreateStream) | |
| 1116 | |
| 1117 // Tell the browser the audio buffer prepared for stream | |
| 1118 // (render_view_id, stream_id) is filled and is ready to be consumed. | |
| 1119 IPC_MESSAGE_ROUTED1(ViewHostMsg_NotifyAudioPacketReady, | |
| 1120 int /* stream_id */) | |
| 1121 | |
| 1122 // Start playing the audio stream specified by (render_view_id, stream_id). | |
| 1123 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartAudioStream, | |
| 1124 int /* stream_id */) | |
| 1125 | |
| 1126 // Close an audio stream specified by (render_view_id, stream_id). | |
| 1127 IPC_MESSAGE_ROUTED1(ViewHostMsg_CloseAudioStream, | |
| 1128 int /* stream_id */) | |
| 1129 | |
| 1130 // Get audio volume of the stream specified by (render_view_id, stream_id). | |
| 1131 IPC_MESSAGE_ROUTED1(ViewHostMsg_GetAudioVolume, | |
| 1132 int /* stream_id */) | |
| 1133 | |
| 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. | |
| 1136 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetAudioVolume, | |
| 1137 int /* stream_id */, | |
| 1138 double /* left_channel */, | |
| 1139 double /* right_channel */) | |
| 1140 | |
| 1141 IPC_END_MESSAGES(ViewHost) | 1112 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |