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

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: 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..a2153bf255123bd275e2282b80bfd9a431b212b1 100644
--- a/media/mojo/interfaces/image_capture.mojom
+++ b/media/mojo/interfaces/image_capture.mojom
@@ -13,10 +13,13 @@ struct Range {
uint32 current;
};
+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