OLD | NEW |
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/#PhotoSettings | 5 // https://www.w3.org/TR/image-capture/#PhotoSettings |
6 | 6 |
7 [ | 7 [ |
8 RuntimeEnabled=ImageCapture | 8 RuntimeEnabled=ImageCapture |
9 ] dictionary PhotoSettings { | 9 ] dictionary PhotoSettings { |
10 MeteringMode whiteBalanceMode; | 10 MeteringMode whiteBalanceMode; |
11 unsigned long colorTemperature; | 11 unsigned long colorTemperature; |
12 MeteringMode exposureMode; | 12 MeteringMode exposureMode; |
13 unsigned long exposureCompensation; | 13 unsigned long exposureCompensation; |
14 unsigned long iso; | 14 unsigned long iso; |
15 boolean redEyeReduction; | 15 boolean redEyeReduction; |
16 MeteringMode focusMode; | 16 MeteringMode focusMode; |
17 sequence<Point2D> pointsOfInterest; | 17 sequence<Point2D> pointsOfInterest; |
18 | 18 |
19 // TODO(mcasas): Implement |brightness|, |contrast|, |saturation| and | 19 |
20 // |sharpness|, https://crbug.com/650676. | 20 unsigned long brightness; |
| 21 unsigned long contrast; |
| 22 unsigned long saturation; |
| 23 unsigned long sharpness; |
21 unsigned long zoom; | 24 unsigned long zoom; |
22 unsigned long imageHeight; | 25 unsigned long imageHeight; |
23 unsigned long imageWidth; | 26 unsigned long imageWidth; |
24 FillLightMode fillLightMode; | 27 FillLightMode fillLightMode; |
25 }; | 28 }; |
OLD | NEW |