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; |
}; |