| Index: media/mojo/interfaces/image_capture.mojom
|
| diff --git a/media/mojo/interfaces/image_capture.mojom b/media/mojo/interfaces/image_capture.mojom
|
| index 773333049bcc600ebd45ae045b430f76f40f2dd4..f63ae34113cc263de4eb66e0dcde35f65f54b439 100644
|
| --- a/media/mojo/interfaces/image_capture.mojom
|
| +++ b/media/mojo/interfaces/image_capture.mojom
|
| @@ -14,7 +14,10 @@ struct Range {
|
| };
|
|
|
| // https://w3c.github.io/mediacapture-image/#idl-def-MeteringMode
|
| -enum MeteringMode { UNAVAILABLE, MANUAL, SINGLE_SHOT, CONTINUOUS };
|
| +enum MeteringMode { NONE, MANUAL, SINGLE_SHOT, CONTINUOUS };
|
| +
|
| +// https://w3c.github.io/mediacapture-image/#idl-def-FillLightMode
|
| +enum FillLightMode { NONE, OFF, AUTO, FLASH, TORCH };
|
|
|
| // Equivalent to idl PhotoCapabilities,
|
| // https://w3c.github.io/mediacapture-image/#photocapabilities
|
| @@ -27,6 +30,7 @@ struct PhotoCapabilities {
|
| MeteringMode exposure_mode;
|
| Range exposure_compensation;
|
| MeteringMode white_balance_mode;
|
| + FillLightMode fill_light_mode;
|
| };
|
|
|
| // Equivalent to idl Point2D.
|
| @@ -58,6 +62,8 @@ struct PhotoSettings {
|
| uint32 iso;
|
| bool has_red_eye_reduction;
|
| bool red_eye_reduction;
|
| + bool has_fill_light_mode;
|
| + FillLightMode fill_light_mode;
|
| array<Point2D> points_of_interest;
|
| };
|
|
|
|
|