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://w3c.github.io/mediacapture-image/index.html#photosettings | 5 // https://w3c.github.io/mediacapture-image/index.html#photosettings |
6 | 6 |
7 [ | 7 [ |
8 RuntimeEnabled=ImageCapture | 8 RuntimeEnabled=ImageCapture |
9 ] dictionary PhotoSettings { | 9 ] dictionary PhotoSettings { |
10 unsigned long zoom; | 10 unsigned long zoom; |
11 unsigned long imageHeight; | 11 unsigned long imageHeight; |
12 unsigned long imageWidth; | 12 unsigned long imageWidth; |
13 MeteringMode focusMode; | 13 MeteringMode focusMode; |
14 MeteringMode exposureMode; | 14 MeteringMode exposureMode; |
15 unsigned long exposureCompensation; | 15 unsigned long exposureCompensation; |
16 MeteringMode whiteBalanceMode; | 16 MeteringMode whiteBalanceMode; |
17 unsigned long iso; | 17 unsigned long iso; |
18 boolean redEyeReduction; | 18 boolean redEyeReduction; |
| 19 FillLightMode fillLightMode; |
19 sequence<Point2D> pointsOfInterest; | 20 sequence<Point2D> pointsOfInterest; |
20 // TODO(mcasas): Implement all other PhotoSettings fields | 21 // TODO(mcasas): Implement all other PhotoSettings fields |
21 // https://crbug.com/518807 | 22 // https://crbug.com/518807 |
22 }; | 23 }; |
OLD | NEW |