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

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

Issue 2270563006: ImageCapture: support exposure mode configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reillyg@ comments Created 4 years, 4 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 098ded2111aa49f1aa835e05f7e860d0a7b49c9b..fe7c08a998092d6f9758c5170efa14eb67f01a81 100644
--- a/media/mojo/interfaces/image_capture.mojom
+++ b/media/mojo/interfaces/image_capture.mojom
@@ -13,8 +13,8 @@ struct Range {
uint32 current;
};
-// https://w3c.github.io/mediacapture-image/#idl-def-FocusMode
-enum FocusMode { UNAVAILABLE, MANUAL, SINGLE_SHOT, CONTINUOUS };
+// https://w3c.github.io/mediacapture-image/#idl-def-MeteringMode
+enum MeteringMode { UNAVAILABLE, MANUAL, SINGLE_SHOT, CONTINUOUS };
// Equivalent to idl PhotoCapabilities,
// https://w3c.github.io/mediacapture-image/#photocapabilities
@@ -23,7 +23,8 @@ struct PhotoCapabilities {
Range height;
Range width;
Range zoom;
- FocusMode focus_mode;
+ MeteringMode focus_mode;
+ MeteringMode exposure_mode;
};
// Equivalent to idl Point2D.
@@ -44,7 +45,9 @@ struct PhotoSettings {
bool has_height;
uint32 height;
bool has_focus_mode;
- FocusMode focus_mode;
+ MeteringMode focus_mode;
+ bool has_exposure_mode;
+ MeteringMode exposure_mode;
array<Point2D> points_of_interest;
};

Powered by Google App Engine
This is Rietveld 408576698