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

Unified Diff: content/browser/media/capture/image_capture_impl.cc

Issue 2387303002: Image Capture Linux/CrOs, implement brightness, contrast, saturation and sharpness (Closed)
Patch Set: Explicitly initialize to empty the new fields in the Android implementation and rebase Created 4 years, 2 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 | « no previous file | media/capture/video/android/video_capture_device_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/capture/image_capture_impl.cc
diff --git a/content/browser/media/capture/image_capture_impl.cc b/content/browser/media/capture/image_capture_impl.cc
index 75f86db44423362e6297742c57ed6725ca26917f..6b0510966c4229ea2fd2258b6aac8b396ad0e325 100644
--- a/content/browser/media/capture/image_capture_impl.cc
+++ b/content/browser/media/capture/image_capture_impl.cc
@@ -39,6 +39,10 @@ void RunFailedGetCapabilitiesCallback(
empty_capabilities->zoom = media::mojom::Range::New();
empty_capabilities->exposure_compensation = media::mojom::Range::New();
empty_capabilities->color_temperature = media::mojom::Range::New();
+ empty_capabilities->brightness = media::mojom::Range::New();
+ empty_capabilities->contrast = media::mojom::Range::New();
+ empty_capabilities->saturation = media::mojom::Range::New();
+ empty_capabilities->sharpness = media::mojom::Range::New();
cb.Run(std::move(empty_capabilities));
}
« no previous file with comments | « no previous file | media/capture/video/android/video_capture_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698