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

Side by Side Diff: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl

Issue 2773593004: Image Capture: prune Photo{Capabilities/Settings} and add MediaTrackConstraintSet.pointsOfInterest (Closed)
Patch Set: reillyg@ comments on idl urls. Created 3 years, 9 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 // https://www.w3.org/TR/image-capture/#PhotoCapabilities 5 // https://w3c.github.io/mediacapture-image/##photocapabilities-section
6 6
7 enum MeteringMode { 7 enum MeteringMode {
8 "none", 8 "none",
9 "manual", 9 "manual",
10 "single-shot", 10 "single-shot",
11 "continuous", 11 "continuous",
12 }; 12 };
13 13
14 enum FillLightMode { 14 enum FillLightMode {
15 "none", 15 "none",
16 "off", 16 "off",
17 "auto", 17 "auto",
18 "flash", 18 "flash",
19 "torch", 19 "torch",
20 }; 20 };
21 21
22 [ 22 [
23 OriginTrialEnabled=ImageCapture, 23 OriginTrialEnabled=ImageCapture,
24 ] interface PhotoCapabilities { 24 ] interface PhotoCapabilities {
25 readonly attribute MeteringMode whiteBalanceMode;
26 readonly attribute MediaSettingsRange colorTemperature;
27 readonly attribute MeteringMode exposureMode;
28 readonly attribute MediaSettingsRange exposureCompensation;
29 readonly attribute MediaSettingsRange iso;
30 readonly attribute boolean redEyeReduction;
31 readonly attribute MeteringMode focusMode;
32
33 readonly attribute MediaSettingsRange brightness;
34 readonly attribute MediaSettingsRange contrast;
35 readonly attribute MediaSettingsRange saturation;
36 readonly attribute MediaSettingsRange sharpness;
37 readonly attribute MediaSettingsRange imageHeight; 25 readonly attribute MediaSettingsRange imageHeight;
38 readonly attribute MediaSettingsRange imageWidth; 26 readonly attribute MediaSettingsRange imageWidth;
39 readonly attribute MediaSettingsRange zoom;
40 readonly attribute FillLightMode fillLightMode; 27 readonly attribute FillLightMode fillLightMode;
28 readonly attribute boolean redEyeReduction;
41 }; 29 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698