Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: media/mojo/interfaces/image_capture.mojom

Issue 2301053004: Image Capture: adding fillLightMode getting/setting (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698