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

Unified Diff: media/mojo/interfaces/image_capture.mojom

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
Index: media/mojo/interfaces/image_capture.mojom
diff --git a/media/mojo/interfaces/image_capture.mojom b/media/mojo/interfaces/image_capture.mojom
index d6bf5393ff194db8a4df76a7bb906cd7084b381b..995cd2055983c821757b80a84f54f07714ffda9d 100644
--- a/media/mojo/interfaces/image_capture.mojom
+++ b/media/mojo/interfaces/image_capture.mojom
@@ -30,6 +30,10 @@ struct PhotoCapabilities {
bool red_eye_reduction;
MeteringMode focus_mode;
+ Range brightness;
+ Range contrast;
+ Range saturation;
+ Range sharpness;
Range height;
Range width;
Range zoom;
@@ -63,6 +67,14 @@ struct PhotoSettings {
MeteringMode focus_mode;
array<Point2D> points_of_interest;
+ bool has_brightness;
+ uint32 brightness;
+ bool has_contrast;
+ uint32 contrast;
+ bool has_saturation;
+ uint32 saturation;
+ bool has_sharpness;
+ uint32 sharpness;
bool has_zoom;
uint32 zoom;
bool has_width;

Powered by Google App Engine
This is Rietveld 408576698