| 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 b50d16a0833422ec8b86328f2c627dcf98a30352..ee1225dd48982d227f554d7dfaaf19e72d529121 100644
|
| --- a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
|
| +++ b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
|
| @@ -15,23 +15,23 @@ let mockImageCaptureReady = define(
|
| pipe => this.bindToPipe(pipe));
|
|
|
| this.capabilities_ = { capabilities : {
|
| - iso : { min : 100, max : 12000, current : 400, step : 1 },
|
| - height : { min : 240, max : 2448, current : 240, step : 2 },
|
| - width : { min : 320, max : 3264, current : 320, step : 3 },
|
| - zoom : { min : 0, max : 10, current : 5, step : 5 },
|
| + iso : { min : 100.0, max : 12000.0, current : 400.0, step : 1.0 },
|
| + height : { min : 240.0, max : 2448.0, current : 240.0, step : 2.0 },
|
| + width : { min : 320.0, max : 3264.0, current : 320.0, step : 3.0 },
|
| + zoom : { min : 0.0, max : 10.0, current : 5.0, step : 5.0 },
|
| focus_mode : imageCapture.MeteringMode.MANUAL,
|
| exposure_mode : imageCapture.MeteringMode.SINGLE_SHOT,
|
| exposure_compensation :
|
| - { min : -200, max : 200, current : 33, step : 33},
|
| + { min : -200.0, max : 200.0, current : 33.0, step : 33.0},
|
| white_balance_mode : imageCapture.MeteringMode.CONTINUOUS,
|
| fill_light_mode : imageCapture.FillLightMode.AUTO,
|
| red_eye_reduction : true,
|
| color_temperature :
|
| - { min : 2500, max : 6500, current : 6000, step : 1000 },
|
| - brightness : { min : 1, max : 10, current : 5, step : 1 },
|
| - contrast : { min : 2, max : 9, current : 5, step : 1 },
|
| - saturation : { min : 3, max : 8, current : 6, step : 1 },
|
| - sharpness : { min : 4, max : 7, current : 7, step : 1 },
|
| + { min : 2500.0, max : 6500.0, current : 6000.0, step : 1000.0 },
|
| + brightness : { min : 1.0, max : 10.0, current : 5.0, step : 1.0 },
|
| + contrast : { min : 2.0, max : 9.0, current : 5.0, step : 1.0 },
|
| + saturation : { min : 3.0, max : 8.0, current : 6.0, step : 1.0 },
|
| + sharpness : { min : 4.0, max : 7.0, current : 7.0, step : 1.0 },
|
| }};
|
| this.settings_ = null;
|
| }
|
|
|