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

Side by Side Diff: services/video_capture/public/interfaces/video_capture_device_access.mojom

Issue 2244763002: Video Capture Mojo (1.4a.a): Add service configurator interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MakeService
Patch Set: Merge-in changes from upstream Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 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 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 module video_capture.mojom; 5 module video_capture.mojom;
6 6
7 import "services/video_capture/public/interfaces/video_capture_device_client.moj om"; 7 import "services/video_capture/public/interfaces/video_capture_device_client.moj om";
8 import "services/video_capture/public/interfaces/video_capture_format.mojom"; 8 import "services/video_capture/public/interfaces/video_capture_format.mojom";
9 9
10 enum ResolutionChangePolicy { 10 enum ResolutionChangePolicy {
11 FIXED_RESOLUTION, 11 FIXED_RESOLUTION,
12 FIXED_ASPECT_RATIO, 12 FIXED_ASPECT_RATIO,
13 ANY_WITHIN_LIMIT, 13 ANY_WITHIN_LIMIT,
14 }; 14 };
15 15
16 enum PowerLineFrequency { 16 enum PowerLineFrequency {
17 DEFAULT, 17 DEFAULT,
18 HZ_50, 18 HZ_50,
19 HZ_60 19 HZ_60
20 }; 20 };
21 21
22 // Represents access to a video capture device available on the machine. 22 // Represents access to a video capture device available on the machine.
23 // Note: Instead of offering an explicit Stop() method, the VideoCaptureDevice 23 // Note: Instead of offering an explicit Stop() method, the VideoCaptureDevice
24 // is stopped automatically when the corresponding message pipe is closed. 24 // is stopped automatically when the corresponding message pipe is closed.
25 interface VideoCaptureDevice { 25 interface VideoCaptureDeviceAccess {
mcasas 2016/08/12 23:38:37 Why the name change? If the concern is that there
chfremer 2016/08/15 20:10:34 The concern is that instances of this interface re
26 Start(VideoCaptureFormat requested_format, 26 Start(VideoCaptureFormat requested_format,
27 ResolutionChangePolicy resolution_change_policy, 27 ResolutionChangePolicy resolution_change_policy,
28 PowerLineFrequency power_line_frequency, 28 PowerLineFrequency power_line_frequency,
29 VideoCaptureDeviceClient client); 29 VideoCaptureDeviceClient client);
30 }; 30 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698