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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h

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: 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 3efab18db6eec2ed2cf50d59330567e2ce195368..3a6da5e641929eb755dd51ea4b885eaf8610bf25 100644
--- a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
+++ b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
@@ -47,6 +47,9 @@ public:
String fillLightMode() const;
void setFillLightMode(media::mojom::blink::FillLightMode fillLightMode) { m_fillLightMode = fillLightMode; }
+ bool redEyeReduction() const { return m_redEyeReduction; }
+ void setRedEyeReduction(bool redEyeReduction) { m_redEyeReduction = redEyeReduction; }
+
DECLARE_VIRTUAL_TRACE();
private:
@@ -61,6 +64,7 @@ private:
Member<MediaSettingsRange> m_exposureCompensation;
media::mojom::blink::MeteringMode m_whiteBalanceMode = media::mojom::blink::MeteringMode::NONE;
media::mojom::blink::FillLightMode m_fillLightMode = media::mojom::blink::FillLightMode::NONE;
+ bool m_redEyeReduction;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698