Index: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl |
diff --git a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl |
index 18f7a3e532b5a6797ee4047c78db476929862106..cda23c4ec7c6876b165b979d627a1e9676f5264b 100644 |
--- a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl |
+++ b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl |
@@ -5,12 +5,20 @@ |
// https://w3c.github.io/mediacapture-image/index.html#idl-def-PhotoCapabilities |
enum MeteringMode { |
- "unavailable", |
+ "none", |
"manual", |
"single-shot", |
"continuous", |
}; |
+enum FillLightMode { |
+ "none", |
+ "off", |
+ "auto", |
+ "flash", |
+ "torch", |
+}; |
+ |
[ |
RuntimeEnabled=ImageCapture, |
] interface PhotoCapabilities { |
@@ -22,7 +30,7 @@ enum MeteringMode { |
readonly attribute MeteringMode exposureMode; |
readonly attribute MediaSettingsRange exposureCompensation; |
readonly attribute MeteringMode whiteBalanceMode; |
- |
+ readonly attribute FillLightMode fillLightMode; |
// TODO(mcasas): Implement all other PhotoCapabilities fields |
// https://crbug.com/518807 |
}; |