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