Image Capture: split {white_balance,exposure,focus}_mode into current_ and supported_
|This CL splits mojo |{white_balance,exposure,focus}_mode|
into |current_{white_balance,exposure,focus}_mode| and an
array of |supported_{white_balance,exposure,focus}_modes|.
The |current_...| versions are essentially the same as the
previous variables, with a twist: if there are no
|supported_...| entries, then there can be no |current_...|.
(This prevents the capabilities dictionary from having
superfluous entries).
LayoutTests, Fake capture device and V4L2 implementations are
updated. (Will do the Android parts in another CL to ease
review).
Also I reordered the fields of mock-imagecapture.js |state_|
to match .mojom definition order because it was driving me
nuts to compare both :-)
BUG=700607
Review-Url: https://codereview.chromium.org/2806743003
Cr-Commit-Position: refs/heads/master@{#463116}
9 files changed