| 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;
|
| + }
|
| }
|
|
|