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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl

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: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
diff --git a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
index f977f5b52d650859925c99f4a8f2d2171679b695..0b59ae3359db3d62a6a9f51f7fa3380b3555b37a 100644
--- a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
+++ b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl
@@ -3,10 +3,18 @@
// found in the LICENSE file.
// https://w3c.github.io/mediacapture-image/index.html#idl-def-PhotoCapabilities
+
+enum FocusMode {
+ "unavailable",
+ "auto",
+ "manual"
+};
+
[
RuntimeEnabled=ImageCapture,
] interface PhotoCapabilities {
- attribute MediaSettingsRange zoom;
+ readonly attribute MediaSettingsRange zoom;
+ readonly attribute FocusMode focusMode;
// TODO(mcasas): Implement all other PhotoCapabilities fields
// https://crbug.com/518807
};
« no previous file with comments | « third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.cpp ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698