OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 the media streaming. | 5 // IPC messages for the media streaming. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // refactoring MediaStreamDependencyFactory. | 102 // refactoring MediaStreamDependencyFactory. |
103 IPC_MESSAGE_CONTROL1(MediaStreamMsg_EnableAecDump, | 103 IPC_MESSAGE_CONTROL1(MediaStreamMsg_EnableAecDump, |
104 IPC::PlatformFileForTransit /* file_handle */) | 104 IPC::PlatformFileForTransit /* file_handle */) |
105 | 105 |
106 // Tell the renderer to disable AEC dump. | 106 // Tell the renderer to disable AEC dump. |
107 IPC_MESSAGE_CONTROL0(MediaStreamMsg_DisableAecDump) | 107 IPC_MESSAGE_CONTROL0(MediaStreamMsg_DisableAecDump) |
108 | 108 |
109 // Messages sent from the renderer to the browser. | 109 // Messages sent from the renderer to the browser. |
110 | 110 |
111 // Request a new media stream. | 111 // Request a new media stream. |
112 IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_GenerateStream, | 112 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream, |
113 int /* render view id */, | 113 int /* render view id */, |
114 int /* request id */, | 114 int /* request id */, |
115 content::StreamOptions /* components */, | 115 content::StreamOptions /* components */, |
116 GURL /* security origin */) | 116 GURL /* security origin */, |
| 117 bool /* user_gesture */) |
117 | 118 |
118 // Request to cancel the request for a new media stream. | 119 // Request to cancel the request for a new media stream. |
119 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream, | 120 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream, |
120 int /* render view id */, | 121 int /* render view id */, |
121 int /* request id */) | 122 int /* request id */) |
122 | 123 |
123 // Request to close a device that has been opened by GenerateStream. | 124 // Request to close a device that has been opened by GenerateStream. |
124 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice, | 125 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice, |
125 int /* render view id */, | 126 int /* render view id */, |
126 std::string /*device_id*/) | 127 std::string /*device_id*/) |
(...skipping 23 matching lines...) Expand all Loading... |
150 int /* render view id */, | 151 int /* render view id */, |
151 int /* request id */, | 152 int /* request id */, |
152 std::string /* device_id */, | 153 std::string /* device_id */, |
153 content::MediaStreamType /* type */, | 154 content::MediaStreamType /* type */, |
154 GURL /* security origin */) | 155 GURL /* security origin */) |
155 | 156 |
156 // Request to close a device. | 157 // Request to close a device. |
157 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, | 158 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, |
158 int /* render view id */, | 159 int /* render view id */, |
159 std::string /*label*/) | 160 std::string /*label*/) |
OLD | NEW |