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

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

Issue 2164473002: ImageCapture: wire PhotoCapabilities' ISO, width, height and PhotoSettings' width and height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng@ comments Created 4 years, 5 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 050a9206bd2aab00a295eacf41888a383ac602e9..9bb08e7d681c01f50a295619b3a0a15e1013a0f6 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
+++ b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
@@ -14,7 +14,14 @@ let mockImageCaptureReady = define(
imageCapture.ImageCapture.name,
pipe => this.bindToPipe(pipe));
- this.capabilities_ = { capabilities: { zoom : { min : 0, max : 10, current : 5 } } };
+ this.capabilities_ = { capabilities : {
+ iso : { min : 100, max : 12000, current : 400 },
+ height : { min : 240, max : 2448, current : 240 },
+ width : { min : 320, max : 3264, current : 320 },
+ width : { min : 320, max : 3264, current : 320 },
+ zoom : { min : 0, max : 10, current : 5 },
+ focusMode : "unavailable",
+ }};
this.settings_ = null;
}

Powered by Google App Engine
This is Rietveld 408576698