DescriptionImageCapture: add sequence<Point2D> pointsOfInterest and wire for Android
This CL:
- adds a Point2D.idl to describe a coordinate [1] and
- adds a sequence<Point2D> to describe a series of
points of interest [2]
- adds the correspondents to image_capture.mojom
(note that I'd rather reuse gfx::mojom::PointF but a
WebKit presumit prevents me from doing it).
- extends the Java_VideoCapture_setPhotoOptions to
accept the said list of points of interest
- implements the points of interest for (Auto)Focus,
limitation: only one such is actually used
(enforced by assert).
[1] https://w3c.github.io/mediacapture-image/#Point2D
[2] https://w3c.github.io/mediacapture-image/#dom-photosettings-pointsofinterest
BUG=343894, 518807
Committed: https://crrev.com/0e630cf2c14d1e0c815c95a8710e4d6eb5e09736
Cr-Commit-Position: refs/heads/master@{#413675}
Patch Set 1 : #
Total comments: 7
Patch Set 2 : qinmin@s comments: camelcase variable naming #Patch Set 3 : haraken@ side comments #Messages
Total messages: 27 (14 generated)
|