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

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

Issue 2270563006: ImageCapture: support exposure mode configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reillyg@ comments Created 4 years, 4 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 44b1f15f73af36d717d544299a11323e4c535260..bbe2dc7f25357a756a9194b7450b66b21ccd673e 100644
--- a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
+++ b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
@@ -4,7 +4,7 @@
// https://w3c.github.io/mediacapture-image/index.html#idl-def-PhotoCapabilities
-enum FocusMode {
+enum MeteringMode {
"unavailable",
"manual",
"single-shot",
@@ -15,12 +15,11 @@ enum FocusMode {
RuntimeEnabled=ImageCapture,
] interface PhotoCapabilities {
readonly attribute MediaSettingsRange iso;
- // TODO(mcasas): Replace these two with supported and current resolutions.
- // https://github.com/w3c/mediacapture-image/issues/30
readonly attribute MediaSettingsRange imageHeight;
readonly attribute MediaSettingsRange imageWidth;
readonly attribute MediaSettingsRange zoom;
- readonly attribute FocusMode focusMode;
+ readonly attribute MeteringMode focusMode;
+ readonly attribute MeteringMode exposureMode;
// TODO(mcasas): Implement all other PhotoCapabilities fields
// https://crbug.com/518807
};

Powered by Google App Engine
This is Rietveld 408576698