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

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

Issue 2164473002: ImageCapture: wire PhotoCapabilities' ISO, width, height and PhotoSettings' width and height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng@ comments Created 4 years, 5 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 0b59ae3359db3d62a6a9f51f7fa3380b3555b37a..0519f2eadd8c0a58b1842e296fe4475caf514de6 100644
--- a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
+++ b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
@@ -13,6 +13,14 @@ enum FocusMode {
[
RuntimeEnabled=ImageCapture,
] interface PhotoCapabilities {
+ // TODO(mcasas): Update the Spec where these members are not readonly.
+ // https://github.com/w3c/mediacapture-image/issues/29
+
+ 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;
// TODO(mcasas): Implement all other PhotoCapabilities fields

Powered by Google App Engine
This is Rietveld 408576698