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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) | 32 IPC_STRUCT_TRAITS_BEGIN(content::StreamDeviceInfo) |
33 IPC_STRUCT_TRAITS_MEMBER(device.type) | 33 IPC_STRUCT_TRAITS_MEMBER(device.type) |
34 IPC_STRUCT_TRAITS_MEMBER(device.name) | 34 IPC_STRUCT_TRAITS_MEMBER(device.name) |
35 IPC_STRUCT_TRAITS_MEMBER(device.id) | 35 IPC_STRUCT_TRAITS_MEMBER(device.id) |
36 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) | 36 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) |
37 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) | 37 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) |
38 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) | 38 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) |
39 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) | 39 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) |
40 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) | 40 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) |
| 41 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) |
41 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) | 42 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) |
42 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) | 43 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) |
43 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) | 44 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) |
44 IPC_STRUCT_TRAITS_MEMBER(session_id) | 45 IPC_STRUCT_TRAITS_MEMBER(session_id) |
45 IPC_STRUCT_TRAITS_END() | 46 IPC_STRUCT_TRAITS_END() |
46 | 47 |
47 // Message sent from the browser to the renderer | 48 // Message sent from the browser to the renderer |
48 | 49 |
49 // The browser has generated a stream successfully. | 50 // The browser has generated a stream successfully. |
50 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, | 51 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 int /* render view id */, | 133 int /* render view id */, |
133 int /* request id */, | 134 int /* request id */, |
134 std::string /* device_id */, | 135 std::string /* device_id */, |
135 content::MediaStreamType /* type */, | 136 content::MediaStreamType /* type */, |
136 GURL /* security origin */) | 137 GURL /* security origin */) |
137 | 138 |
138 // Request to close a device. | 139 // Request to close a device. |
139 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, | 140 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, |
140 int /* render view id */, | 141 int /* render view id */, |
141 std::string /*label*/) | 142 std::string /*label*/) |
OLD | NEW |