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

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

Issue 2301043006: Image Capture: wire RedEyeReduction getter (Closed)
Patch Set: Removed superfluous builder.setRedEyeReduction(false); 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/photo_capabilities.cc
diff --git a/media/capture/video/android/photo_capabilities.cc b/media/capture/video/android/photo_capabilities.cc
index bf96170a70a10649129920850dd9e11f1557c5c6..240378071ac34e1d63a1624a803202754af10f52 100644
--- a/media/capture/video/android/photo_capabilities.cc
+++ b/media/capture/video/android/photo_capabilities.cc
@@ -126,4 +126,10 @@ PhotoCapabilities::AndroidFillLightMode PhotoCapabilities::getFillLightMode()
Java_PhotoCapabilities_getFillLightMode(AttachCurrentThread(), object_));
}
+bool PhotoCapabilities::getRedEyeReduction() const {
+ DCHECK(!object_.is_null());
+ return Java_PhotoCapabilities_getRedEyeReduction(AttachCurrentThread(),
+ object_);
+}
+
} // namespace media
« no previous file with comments | « media/capture/video/android/photo_capabilities.h ('k') | media/capture/video/android/video_capture_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698