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

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

Issue 2301053004: Image Capture: adding fillLightMode getting/setting (Closed)
Patch Set: Created 4 years, 3 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/capture/video/android/java/src/org/chromium/media/VideoCapture.java
diff --git a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
index d47f57497dcd8b53b4728d8aec8595f2a22b8c3f..42931f333bb4ca9f8eb7436b9adac71ad50ac356 100644
--- a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
+++ b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
@@ -65,12 +65,13 @@ public abstract class VideoCapture {
* @param iso Sensitivity to light. 0, which would be invalid, means ignore.
* @param hasRedEyeReduction Indicates if |redEyeReduction| is set.
* @param redEyeReduction Value of red eye reduction for the auto flash setting.
+ * @param fillLightMode Flash/Torch setting, following AndroidFillLightMode enum.
*/
@CalledByNative
public abstract void setPhotoOptions(int zoom, int focusMode, int exposureMode, int width,
int height, float[] pointsOfInterest2D, boolean hasExposureCompensation,
int exposureCompensation, int whiteBalanceMode, int iso, boolean hasRedEyeReduction,
- boolean redEyeReduction);
+ boolean redEyeReduction, int fillLightMode);
@CalledByNative
public abstract boolean takePhoto(final long callbackId);

Powered by Google App Engine
This is Rietveld 408576698