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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl

Issue 2741803007: Image Capture: MediaTrackSupportedConstraints extension (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/imagecapture/ImageCapture-MediaTrackSupportedConstraints.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl
index b8510c78b75df549f3d0a63fda142cdea0a0af5b..b2e8cdcdbc74054dc82c976f65f451ca6624a9d6 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl
@@ -21,6 +21,7 @@ dictionary MediaTrackSupportedConstraints {
boolean channelCount = true;
boolean deviceId = true;
boolean groupId = true;
+
// Media Capture Depth Stream Extensions
// https://w3c.github.io/mediacapture-depth
// TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar,
@@ -31,4 +32,22 @@ dictionary MediaTrackSupportedConstraints {
[RuntimeEnabled=MediaCaptureDepth] boolean depthFar = true;
[RuntimeEnabled=MediaCaptureDepth] boolean focalLengthX = true;
[RuntimeEnabled=MediaCaptureDepth] boolean focalLengthY = true;
+
+ // W3C Image Capture API
+ // https://w3c.github.io/mediacapture-image/#mediatracksupportedconstraints-section
+ // TODO(mcasas) move out when partial dictionaries are supported
+ // http://crbug.com/579896.
+ [OriginTrialEnabled=ImageCapture] boolean whiteBalanceMode = true;
+ [OriginTrialEnabled=ImageCapture] boolean exposureMode = true;
+ [OriginTrialEnabled=ImageCapture] boolean focusMode = true;
+ [OriginTrialEnabled=ImageCapture] boolean pointsOfInterest = true;
+ [OriginTrialEnabled=ImageCapture] boolean exposureCompensation = true;
+ [OriginTrialEnabled=ImageCapture] boolean colorTemperature = true;
+ [OriginTrialEnabled=ImageCapture] boolean iso = true;
+ [OriginTrialEnabled=ImageCapture] boolean brightness = true;
+ [OriginTrialEnabled=ImageCapture] boolean contrast = true;
+ [OriginTrialEnabled=ImageCapture] boolean saturation = true;
+ [OriginTrialEnabled=ImageCapture] boolean sharpness = true;
+ [OriginTrialEnabled=ImageCapture] boolean zoom = true;
+ [OriginTrialEnabled=ImageCapture] boolean torch = true;
};
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/imagecapture/ImageCapture-MediaTrackSupportedConstraints.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698