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 FocusMode { | 7 enum FocusMode { |
8 "unavailable", | 8 "unavailable", |
9 "auto", | 9 "auto", |
10 "manual" | 10 "manual" |
11 }; | 11 }; |
12 | 12 |
13 [ | 13 [ |
14 RuntimeEnabled=ImageCapture, | 14 RuntimeEnabled=ImageCapture, |
15 ] interface PhotoCapabilities { | 15 ] interface PhotoCapabilities { |
16 readonly attribute MediaSettingsRange iso; | |
foolip
2016/07/22 01:33:20
Filed https://github.com/w3c/mediacapture-image/is
mcasas
2016/07/22 02:00:04
Done and added another TODO+Issue.
| |
17 readonly attribute MediaSettingsRange imageHeight; | |
18 readonly attribute MediaSettingsRange imageWidth; | |
16 readonly attribute MediaSettingsRange zoom; | 19 readonly attribute MediaSettingsRange zoom; |
17 readonly attribute FocusMode focusMode; | 20 readonly attribute FocusMode focusMode; |
18 // TODO(mcasas): Implement all other PhotoCapabilities fields | 21 // TODO(mcasas): Implement all other PhotoCapabilities fields |
19 // https://crbug.com/518807 | 22 // https://crbug.com/518807 |
20 }; | 23 }; |
OLD | NEW |