Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(999)

Unified Diff: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl

Issue 2301053004: Image Capture: adding fillLightMode getting/setting (Closed)
Patch Set: scheib@s comments, added #crbug Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
};

Powered by Google App Engine
This is Rietveld 408576698