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

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

Issue 2380793002: Migrate MediaDevices.enumerateDevices to Mojo (Closed)
Patch Set: rebase 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
« no previous file with comments | « content/common/media/media_devices.h ('k') | content/common/media/media_devices.typemap » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 is responsible for processing device
16 // enumeration requests.
17 // TODO(guidou): Add support for device-change notifications.
18 interface MediaDevicesDispatcherHost {
19 // The reply always contains NUM_MEDIA_DEVICE_TYPES elements.
20 // The result is indexed by device type as defined in
21 // content/common/media/media_devices.h.
22 EnumerateDevices(bool request_audio_input,
23 bool request_video_input,
24 bool request_audio_output,
25 url.mojom.Origin security_origin)
26 => (array<array<MediaDeviceInfo>> enumeration);
27 };
OLDNEW
« no previous file with comments | « content/common/media/media_devices.h ('k') | content/common/media/media_devices.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698