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

Unified Diff: third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js

Issue 2798263003: Image Capture: add |supports_torch| field to mojom (Closed)
Patch Set: Created 3 years, 8 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/LayoutTests/imagecapture/resources/mock-imagecapture.js
diff --git a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
index d89fed5e3e68f1a5b01c20f37b5501619c101eeb..0afe582c381cd73087c2373aca7065261d6a38f5 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
+++ b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
@@ -26,6 +26,7 @@ let mockImageCaptureReady = define(
fill_light_mode : [ imageCapture.FillLightMode.AUTO,
imageCapture.FillLightMode.FLASH],
red_eye_reduction : imageCapture.RedEyeReduction.CONTROLLABLE,
+ supports_torch : true,
torch : false,
color_temperature :
{ min : 2500.0, max : 6500.0, current : 6000.0, step : 1000.0 },

Powered by Google App Engine
This is Rietveld 408576698