Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: content/common/media/media_stream_messages.h

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: 80-char line fix in test html. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 IPC_STRUCT_TRAITS_MEMBER(device.video_facing) 46 IPC_STRUCT_TRAITS_MEMBER(device.video_facing)
47 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) 47 IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id)
48 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) 48 IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate)
49 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) 49 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout)
50 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) 50 IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer)
51 IPC_STRUCT_TRAITS_MEMBER(device.input.effects) 51 IPC_STRUCT_TRAITS_MEMBER(device.input.effects)
52 IPC_STRUCT_TRAITS_MEMBER(device.input.mic_positions) 52 IPC_STRUCT_TRAITS_MEMBER(device.input.mic_positions)
53 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) 53 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate)
54 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) 54 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout)
55 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) 55 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer)
56 IPC_STRUCT_TRAITS_MEMBER(device.camera_calibration)
56 IPC_STRUCT_TRAITS_MEMBER(session_id) 57 IPC_STRUCT_TRAITS_MEMBER(session_id)
57 IPC_STRUCT_TRAITS_END() 58 IPC_STRUCT_TRAITS_END()
58 59
59 // Message sent from the browser to the renderer 60 // Message sent from the browser to the renderer
60 61
61 // The browser has generated a stream successfully. 62 // The browser has generated a stream successfully.
62 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated, 63 IPC_MESSAGE_ROUTED4(MediaStreamMsg_StreamGenerated,
63 int /* request id */, 64 int /* request id */,
64 std::string /* label */, 65 std::string /* label */,
65 content::StreamDeviceInfoArray /* audio_device_list */, 66 content::StreamDeviceInfoArray /* audio_device_list */,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // connected video sinks meet the requirement of output protection.). 126 // connected video sinks meet the requirement of output protection.).
126 // Note: the browser process only trusts the |is_sucure| value in this IPC 127 // Note: the browser process only trusts the |is_sucure| value in this IPC
127 // message if it's comimg from a trusted, whitelisted extension. Extensions run 128 // message if it's comimg from a trusted, whitelisted extension. Extensions run
128 // in separate render processes. So it shouldn't be possible, for example, for 129 // in separate render processes. So it shouldn't be possible, for example, for
129 // a user's visit to a malicious web page to compromise a render process running 130 // a user's visit to a malicious web page to compromise a render process running
130 // a trusted extension to make it report falsehood in this IPC message. 131 // a trusted extension to make it report falsehood in this IPC message.
131 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, 132 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured,
132 int, /* session_id */ 133 int, /* session_id */
133 content::MediaStreamType, /* type */ 134 content::MediaStreamType, /* type */
134 bool /* is_secure */) 135 bool /* is_secure */)
OLDNEW
« no previous file with comments | « content/browser/webrtc/webrtc_depth_capture_browsertest.cc ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698