Chromium Code Reviews| Index: media/mojo/interfaces/image_capture.mojom |
| diff --git a/media/mojo/interfaces/image_capture.mojom b/media/mojo/interfaces/image_capture.mojom |
| index 7c7fed8260a49eaf36fe73b74595b2179198da6d..c5f0bd36a5861a8bfdca70cd5c7c3430954f001f 100644 |
| --- a/media/mojo/interfaces/image_capture.mojom |
| +++ b/media/mojo/interfaces/image_capture.mojom |
| @@ -14,7 +14,7 @@ struct Range { |
| }; |
| // https://w3c.github.io/mediacapture-image/#idl-def-FocusMode |
| -enum FocusMode { UNAVAILABLE, AUTO, MANUAL }; |
| +enum FocusMode { UNAVAILABLE, MANUAL, SINGLE_SHOT, CONTINUOUS }; |
| // Equivalent to idl PhotoCapabilities, |
| // https://w3c.github.io/mediacapture-image/#photocapabilities |
| @@ -36,6 +36,8 @@ struct PhotoSettings { |
| uint32 width; |
| bool has_height; |
| uint32 height; |
| + bool has_focus_mode; |
| + FocusMode focus_mode; |
|
Tom Sepez
2016/08/15 22:27:55
Would Mojom's optional member feature be more appr
mcasas
2016/08/15 22:58:54
Enum suffers from the same problem as
integer type
|
| }; |
| // This is a mojo move-only equivalent of a Blob, i.e. MIME type and Data. |