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

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

Issue 2785503003: Image Capture: update PhotoCapabilities.idl to latest Spec changes (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 5d4595800c6421b34789ad68937b9d6a94805d4c..80535b6f39f03b7d066cddf86e2726736034e4a9 100644
--- a/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
+++ b/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "media/capture/mojo/image_capture.mojom-blink.h"
#include "modules/imagecapture/MediaSettingsRange.h"
+#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -27,12 +28,12 @@ class PhotoCapabilities final
MediaSettingsRange* imageWidth() const { return m_imageWidth; }
void setImageWidth(MediaSettingsRange* value) { m_imageWidth = value; }
- String fillLightMode() const;
- void setFillLightMode(media::mojom::blink::FillLightMode fillLightMode) {
- m_fillLightMode = fillLightMode;
+ Vector<String> fillLightMode() const;
+ void setFillLightMode(Vector<media::mojom::blink::FillLightMode> modes) {
+ m_fillLightModes = modes;
}
- bool redEyeReduction() const { return m_redEyeReduction; }
+ String redEyeReduction() const;
void setRedEyeReduction(bool redEyeReduction) {
m_redEyeReduction = redEyeReduction;
}
@@ -44,8 +45,7 @@ class PhotoCapabilities final
Member<MediaSettingsRange> m_imageHeight;
Member<MediaSettingsRange> m_imageWidth;
- media::mojom::blink::FillLightMode m_fillLightMode =
- media::mojom::blink::FillLightMode::NONE;
+ Vector<media::mojom::blink::FillLightMode> m_fillLightModes;
bool m_redEyeReduction;
};

Powered by Google App Engine
This is Rietveld 408576698