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

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

Issue 2124363003: ImageCapture: Implement focus mode for Android and Fake Video Capture Devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reillyg@s nit, dcheng@ comment and updated webexposed/global-interface-listing-expected.txt Created 4 years, 5 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 f712837881233d5cb5521f51f827aaa85d420076..3546651c15790a962036d62999b5fdaa55d77dd8 100644
--- a/media/mojo/interfaces/image_capture.mojom
+++ b/media/mojo/interfaces/image_capture.mojom
@@ -13,10 +13,14 @@ struct Range {
uint32 current;
};
+// https://w3c.github.io/mediacapture-image/#idl-def-FocusMode
+enum FocusMode { UNAVAILABLE, AUTO, MANUAL };
+
// Equivalent to idl PhotoCapabilities,
// https://w3c.github.io/mediacapture-image/#photocapabilities
struct PhotoCapabilities {
Range zoom;
+ FocusMode focus_mode;
};
// Equivalent to idl PhotoSettings,

Powered by Google App Engine
This is Rietveld 408576698