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

Unified Diff: media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java

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
« no previous file with comments | « no previous file | media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
diff --git a/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java b/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
index 304c6e170e546a24aff58e0781f778bb522056cd..20f9c370c1bdb7da1cf3dcbdefc665425f0b543d 100644
--- a/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
+++ b/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
@@ -15,23 +15,32 @@ class PhotoCapabilities {
public final int maxZoom;
public final int minZoom;
public final int currentZoom;
+ public final boolean autoFocusInUse;
- PhotoCapabilities(int maxZoom, int minZoom, int currentZoom) {
+ PhotoCapabilities(int maxZoom, int minZoom, int currentZoom, boolean autoFocusInUse) {
this.maxZoom = maxZoom;
this.minZoom = minZoom;
this.currentZoom = currentZoom;
+ this.autoFocusInUse = autoFocusInUse;
}
@CalledByNative
public int getMinZoom() {
return minZoom;
}
+
@CalledByNative
public int getMaxZoom() {
return maxZoom;
}
+
@CalledByNative
public int getCurrentZoom() {
return currentZoom;
}
+
+ @CalledByNative
+ public boolean getAutoFocusInUse() {
+ return autoFocusInUse;
+ }
}
« no previous file with comments | « no previous file | media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698