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

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

Issue 2785503003: Image Capture: update PhotoCapabilities.idl to latest Spec changes (Closed)
Patch Set: Created 3 years, 8 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 | « third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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://w3c.github.io/mediacapture-image/##photocapabilities-section 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 RedEyeReduction {
15 "never",
16 "always",
17 "controllable",
18 };
19
14 enum FillLightMode { 20 enum FillLightMode {
15 "none",
16 "off", 21 "off",
17 "auto", 22 "auto",
18 "flash", 23 "flash",
19 "torch",
20 }; 24 };
21 25
22 [ 26 [
23 OriginTrialEnabled=ImageCapture, 27 OriginTrialEnabled=ImageCapture,
24 ] interface PhotoCapabilities { 28 ] interface PhotoCapabilities {
25 readonly attribute MediaSettingsRange imageHeight; 29 readonly attribute RedEyeReduction redEyeReduction;
26 readonly attribute MediaSettingsRange imageWidth; 30 readonly attribute MediaSettingsRange imageHeight;
27 readonly attribute FillLightMode fillLightMode; 31 readonly attribute MediaSettingsRange imageWidth;
28 readonly attribute boolean redEyeReduction; 32 readonly attribute FrozenArray<FillLightMode> fillLightMode;
29 }; 33 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698