• mcasas's avatar
    ImageCapture: wire PhotoCapabilities' ISO, width, height and PhotoSettings' width and height · 5c7ce5d4
    mcasas authored
    This CL continues implementing ImageCapture:
    
    - adds |iso|, |imageHeight| and |imageWidth| to PhotoCapabilities
     (each is a MediaSettingsRange).
    - adds |imageHeight| and |imageWidth| to PhotoSettings.
    - extends image_capture.mojom to support all the previous new
     fields
    - wires Android's "old" and "new" Camera API to provide the
     capabilities and listen to the Settings (seems like the
     "old" does not reliably support ISO).
    - extends the FakeVideoCaptureDeviceTest and the LayoutTests
     for these new features.
    
    Note that setOptions() is not synchronous with takePhoto(),
    so VideoCaptureDeviceAndroid holds on to the latest, if any,
    requested capture resolution.
    
    BUG=518807
    
    Review-Url: https://codereview.chromium.org/2164473002
    Cr-Commit-Position: refs/heads/master@{#407298}
    5c7ce5d4
PhotoCapabilities.h 1.69 KB