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

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

Issue 2798263003: Image Capture: add |supports_torch| field to mojom (Closed)
Patch Set: Created 3 years, 8 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 | « media/capture/video/android/photo_capabilities.cc ('k') | media/capture/video/fake_video_capture_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/android/video_capture_device_android.cc
diff --git a/media/capture/video/android/video_capture_device_android.cc b/media/capture/video/android/video_capture_device_android.cc
index c95f2ee24280dab0ba5be3dc93f7eaf697dc4c5a..fa6f03b27f103f24d60ccb35497270ca99f1a881 100644
--- a/media/capture/video/android/video_capture_device_android.cc
+++ b/media/capture/video/android/video_capture_device_android.cc
@@ -542,6 +542,7 @@ void VideoCaptureDeviceAndroid::DoGetPhotoCapabilities(
photo_capabilities->zoom->min = caps.getMinZoom();
photo_capabilities->zoom->step = caps.getStepZoom();
+ photo_capabilities->supports_torch = caps.getSupportsTorch();
photo_capabilities->torch = caps.getTorch();
photo_capabilities->red_eye_reduction =
« no previous file with comments | « media/capture/video/android/photo_capabilities.cc ('k') | media/capture/video/fake_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698