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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.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: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
diff --git a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
index 80535b6f39f03b7d066cddf86e2726736034e4a9..11992f51b13e4cc2c00d96149a93a75746f16141 100644
--- a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
+++ b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
@@ -34,7 +34,8 @@ class PhotoCapabilities final
}
String redEyeReduction() const;
- void setRedEyeReduction(bool redEyeReduction) {
+ void setRedEyeReduction(
+ media::mojom::blink::RedEyeReduction redEyeReduction) {
m_redEyeReduction = redEyeReduction;
}
@@ -46,7 +47,7 @@ class PhotoCapabilities final
Member<MediaSettingsRange> m_imageHeight;
Member<MediaSettingsRange> m_imageWidth;
Vector<media::mojom::blink::FillLightMode> m_fillLightModes;
- bool m_redEyeReduction;
+ media::mojom::blink::RedEyeReduction m_redEyeReduction;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698