| 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 dictionary PhotoSettings { | 7 dictionary PhotoSettings { |
| 8 MeteringMode whiteBalanceMode; | 8 MeteringMode whiteBalanceMode; |
| 9 unsigned long colorTemperature; | 9 double colorTemperature; |
| 10 MeteringMode exposureMode; | 10 MeteringMode exposureMode; |
| 11 unsigned long exposureCompensation; | 11 double exposureCompensation; |
| 12 unsigned long iso; | 12 double iso; |
| 13 boolean redEyeReduction; | 13 boolean redEyeReduction; |
| 14 MeteringMode focusMode; | 14 MeteringMode focusMode; |
| 15 sequence<Point2D> pointsOfInterest; | 15 sequence<Point2D> pointsOfInterest; |
| 16 | 16 |
| 17 | 17 double brightness; |
| 18 unsigned long brightness; | 18 double contrast; |
| 19 unsigned long contrast; | 19 double saturation; |
| 20 unsigned long saturation; | 20 double sharpness; |
| 21 unsigned long sharpness; | 21 double zoom; |
| 22 unsigned long zoom; | 22 double imageHeight; |
| 23 unsigned long imageHeight; | 23 double imageWidth; |
| 24 unsigned long imageWidth; | |
| 25 FillLightMode fillLightMode; | 24 FillLightMode fillLightMode; |
| 26 }; | 25 }; |
| OLD | NEW |