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

Unified Diff: media/capture/video/android/photo_capabilities.h

Issue 2787933002: ImageCapture: separate fillLightMode, redEyeReduction and Torch (Closed)
Patch Set: Created 3 years, 9 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/photo_capabilities.h
diff --git a/media/capture/video/android/photo_capabilities.h b/media/capture/video/android/photo_capabilities.h
index 5b7ed045379c85886ed87d8251d2bbcd124c985a..37b99331bf856ffcb43da4c83afd3e5a8099715a 100644
--- a/media/capture/video/android/photo_capabilities.h
+++ b/media/capture/video/android/photo_capabilities.h
@@ -7,6 +7,7 @@
#include <jni.h>
#include <string>
+#include <vector>
#include "base/android/scoped_java_ref.h"
@@ -32,11 +33,9 @@ class PhotoCapabilities {
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.media
enum class AndroidFillLightMode {
NOT_SET,
- NONE, // Only meaningful for getting capabilities, meaning "no flash unit".
OFF,
AUTO,
FLASH,
- TORCH,
};
explicit PhotoCapabilities(base::android::ScopedJavaLocalRef<jobject> object);
@@ -65,7 +64,8 @@ class PhotoCapabilities {
double getCurrentExposureCompensation() const;
double getStepExposureCompensation() const;
AndroidMeteringMode getWhiteBalanceMode() const;
- AndroidFillLightMode getFillLightMode() const;
+ std::vector<AndroidFillLightMode> getFillLightModes() const;
+ bool getTorch() const;
bool getRedEyeReduction() const;
int getMinColorTemperature() const;
int getMaxColorTemperature() const;

Powered by Google App Engine
This is Rietveld 408576698