Index: media/mojo/interfaces/image_capture.mojom |
diff --git a/media/mojo/interfaces/image_capture.mojom b/media/mojo/interfaces/image_capture.mojom |
index 3546651c15790a962036d62999b5fdaa55d77dd8..d103ee1555ff127d282834f1ade0fc7a1849fffe 100644 |
--- a/media/mojo/interfaces/image_capture.mojom |
+++ b/media/mojo/interfaces/image_capture.mojom |
@@ -19,6 +19,9 @@ enum FocusMode { UNAVAILABLE, AUTO, MANUAL }; |
// Equivalent to idl PhotoCapabilities, |
// https://w3c.github.io/mediacapture-image/#photocapabilities |
struct PhotoCapabilities { |
+ Range iso; |
+ Range height; |
+ Range width; |
Range zoom; |
FocusMode focus_mode; |
}; |
@@ -29,6 +32,10 @@ struct PhotoSettings { |
// uint32 cannot be nullable, i.e. uint32? does not work, use instead a flag. |
bool has_zoom; |
uint32 zoom; |
+ bool has_width; |
+ uint32 width; |
+ bool has_height; |
+ uint32 height; |
}; |
// |source_id| is the renderer-side UUID identifier of the image capture device. |