| 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 // TODO(mcasas): Implement |colorTemperature| https://crbug.com/650675. | 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 // TODO(mcasas): Implement |brightness|, |contrast|, |saturation| and |
| 20 // |sharpness|, https://crbug.com/650676. | 20 // |sharpness|, https://crbug.com/650676. |
| 21 unsigned long zoom; | 21 unsigned long zoom; |
| 22 unsigned long imageHeight; | 22 unsigned long imageHeight; |
| 23 unsigned long imageWidth; | 23 unsigned long imageWidth; |
| 24 FillLightMode fillLightMode; | 24 FillLightMode fillLightMode; |
| 25 }; | 25 }; |
| OLD | NEW |