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

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

Issue 2766473002: Image Capture: wire getSettings() from MediaStreamTrack (Closed)
Patch Set: reillyg@s comments 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/Source/modules/mediastream/MediaStreamTrack.cpp ('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/MediaTrackSettings.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl
index 1d5c05fd1fcce9898932c032b5023837017fe2a2..2b6dddb5f9a612d68ce9814ee3d0ba7a601e0bc7 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl
@@ -33,4 +33,21 @@ dictionary MediaTrackSettings {
[RuntimeEnabled=MediaCaptureDepth] double depthFar;
[RuntimeEnabled=MediaCaptureDepth] double focalLengthX;
[RuntimeEnabled=MediaCaptureDepth] double focalLengthY;
+ // W3C Image Capture API
+ // https://w3c.github.io/mediacapture-image/#mediatracksettings-section
+ // TODO(mcasas) move out when partial dictionaries are supported
+ // http://crbug.com/579896.
+ [RuntimeEnabled=ImageCapture] DOMString whiteBalanceMode;
+ [RuntimeEnabled=ImageCapture] DOMString exposureMode;
+ [RuntimeEnabled=ImageCapture] DOMString focusMode;
+ [RuntimeEnabled=ImageCapture] sequence<Point2D> pointsOfInterest;
+ [RuntimeEnabled=ImageCapture] double exposureCompensation;
+ [RuntimeEnabled=ImageCapture] double colorTemperature;
+ [RuntimeEnabled=ImageCapture] double iso;
+ [RuntimeEnabled=ImageCapture] double brightness;
+ [RuntimeEnabled=ImageCapture] double contrast;
+ [RuntimeEnabled=ImageCapture] double saturation;
+ [RuntimeEnabled=ImageCapture] double sharpness;
+ [RuntimeEnabled=ImageCapture] double zoom;
+ [RuntimeEnabled=ImageCapture] boolean torch;
};
« no previous file with comments | « third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698