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

Side by Side Diff: content/common/media/media_devices.mojom

Issue 2380793002: Migrate MediaDevices.enumerateDevices to Mojo (Closed)
Patch Set: add missing file Created 4 years, 2 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module mojom;
6
7 import "url/mojo/origin.mojom";
8
9 [Native]
10 enum MediaDeviceType;
11
12 [Native]
13 struct MediaDeviceInfo;
14
15 // This object lives in the browser and takes care processing device enumeration
16 // requests. TODO(guidou): Add support for device-change notifications.
hta - Chromium 2016/09/30 08:38:12 Style: TODO on separate line.
Guido Urdaneta 2016/10/07 17:07:13 Done.
17 interface MediaDevicesDispatcherHost {
18 // The reply always contains NUM_MEDIA_DEVICE_TYPES elements.
19 // Use MediaDeviceType values to index the result.
hta - Chromium 2016/09/30 08:38:12 Would it be more correct to say "The result is ind
Guido Urdaneta 2016/10/07 17:07:13 Done.
20 EnumerateDevices(
21 bool request_audio_input,
22 bool request_video_input,
23 bool request_audio_output,
24 url.mojom.Origin security_origin) => (array<array<MediaDeviceInfo>> enumer ation);
25 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698