| 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#idl-def-PhotoCapabilities | 5 // https://w3c.github.io/mediacapture-image/index.html#idl-def-PhotoCapabilities |
| 6 | 6 |
| 7 enum MeteringMode { | 7 enum MeteringMode { |
| 8 "none", | 8 "none", |
| 9 "manual", | 9 "manual", |
| 10 "single-shot", | 10 "single-shot", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 ] interface PhotoCapabilities { | 24 ] interface PhotoCapabilities { |
| 25 readonly attribute MediaSettingsRange iso; | 25 readonly attribute MediaSettingsRange iso; |
| 26 readonly attribute MediaSettingsRange imageHeight; | 26 readonly attribute MediaSettingsRange imageHeight; |
| 27 readonly attribute MediaSettingsRange imageWidth; | 27 readonly attribute MediaSettingsRange imageWidth; |
| 28 readonly attribute MediaSettingsRange zoom; | 28 readonly attribute MediaSettingsRange zoom; |
| 29 readonly attribute MeteringMode focusMode; | 29 readonly attribute MeteringMode focusMode; |
| 30 readonly attribute MeteringMode exposureMode; | 30 readonly attribute MeteringMode exposureMode; |
| 31 readonly attribute MediaSettingsRange exposureCompensation; | 31 readonly attribute MediaSettingsRange exposureCompensation; |
| 32 readonly attribute MeteringMode whiteBalanceMode; | 32 readonly attribute MeteringMode whiteBalanceMode; |
| 33 readonly attribute FillLightMode fillLightMode; | 33 readonly attribute FillLightMode fillLightMode; |
| 34 readonly attribute boolean redEyeReduction; |
| 34 // TODO(mcasas): Implement all other PhotoCapabilities fields | 35 // TODO(mcasas): Implement all other PhotoCapabilities fields |
| 35 // https://crbug.com/518807 | 36 // https://crbug.com/518807 |
| 36 }; | 37 }; |
| OLD | NEW |