| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://w3c.github.io/mediacapture-main/#idl-def-mediatracksettings | 5 // https://w3c.github.io/mediacapture-main/#idl-def-mediatracksettings |
| 6 | 6 |
| 7 dictionary MediaTrackSettings { | 7 dictionary MediaTrackSettings { |
| 8 long width; | 8 long width; |
| 9 long height; | 9 long height; |
| 10 // aspectRatio is not implemented. | 10 // aspectRatio is not implemented. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // dictionary but IDL parser can't support it yet. http://crbug.com/579896. | 30 // dictionary but IDL parser can't support it yet. http://crbug.com/579896. |
| 31 [RuntimeEnabled=MediaCaptureDepth] DOMString videoKind; | 31 [RuntimeEnabled=MediaCaptureDepth] DOMString videoKind; |
| 32 [RuntimeEnabled=MediaCaptureDepth] double depthNear; | 32 [RuntimeEnabled=MediaCaptureDepth] double depthNear; |
| 33 [RuntimeEnabled=MediaCaptureDepth] double depthFar; | 33 [RuntimeEnabled=MediaCaptureDepth] double depthFar; |
| 34 [RuntimeEnabled=MediaCaptureDepth] double focalLengthX; | 34 [RuntimeEnabled=MediaCaptureDepth] double focalLengthX; |
| 35 [RuntimeEnabled=MediaCaptureDepth] double focalLengthY; | 35 [RuntimeEnabled=MediaCaptureDepth] double focalLengthY; |
| 36 // W3C Image Capture API | 36 // W3C Image Capture API |
| 37 // https://w3c.github.io/mediacapture-image/#mediatracksettings-section | 37 // https://w3c.github.io/mediacapture-image/#mediatracksettings-section |
| 38 // TODO(mcasas) move out when partial dictionaries are supported | 38 // TODO(mcasas) move out when partial dictionaries are supported |
| 39 // http://crbug.com/579896. | 39 // http://crbug.com/579896. |
| 40 [RuntimeEnabled=ImageCapture] DOMString whiteBalanceMode; | 40 [OriginTrialEnabled=ImageCapture] DOMString whiteBalanceMode; |
| 41 [RuntimeEnabled=ImageCapture] DOMString exposureMode; | 41 [OriginTrialEnabled=ImageCapture] DOMString exposureMode; |
| 42 [RuntimeEnabled=ImageCapture] DOMString focusMode; | 42 [OriginTrialEnabled=ImageCapture] DOMString focusMode; |
| 43 [RuntimeEnabled=ImageCapture] sequence<Point2D> pointsOfInterest; | 43 [OriginTrialEnabled=ImageCapture] sequence<Point2D> pointsOfInterest; |
| 44 [RuntimeEnabled=ImageCapture] double exposureCompensation; | 44 [OriginTrialEnabled=ImageCapture] double exposureCompensation; |
| 45 [RuntimeEnabled=ImageCapture] double colorTemperature; | 45 [OriginTrialEnabled=ImageCapture] double colorTemperature; |
| 46 [RuntimeEnabled=ImageCapture] double iso; | 46 [OriginTrialEnabled=ImageCapture] double iso; |
| 47 [RuntimeEnabled=ImageCapture] double brightness; | 47 [OriginTrialEnabled=ImageCapture] double brightness; |
| 48 [RuntimeEnabled=ImageCapture] double contrast; | 48 [OriginTrialEnabled=ImageCapture] double contrast; |
| 49 [RuntimeEnabled=ImageCapture] double saturation; | 49 [OriginTrialEnabled=ImageCapture] double saturation; |
| 50 [RuntimeEnabled=ImageCapture] double sharpness; | 50 [OriginTrialEnabled=ImageCapture] double sharpness; |
| 51 [RuntimeEnabled=ImageCapture] double zoom; | 51 [OriginTrialEnabled=ImageCapture] double zoom; |
| 52 [RuntimeEnabled=ImageCapture] boolean torch; | 52 [OriginTrialEnabled=ImageCapture] boolean torch; |
| 53 }; | 53 }; |
| OLD | NEW |