| Index: remoting/webapp/unittests/desktop_viewport_unittest.js
|
| diff --git a/remoting/webapp/unittests/desktop_viewport_unittest.js b/remoting/webapp/unittests/desktop_viewport_unittest.js
|
| index 054bf57ed134201164f00c99a5e2d5ec0ae27c70..238c9254bfe49104edaff6465ace3b8c2ac1eebf 100644
|
| --- a/remoting/webapp/unittests/desktop_viewport_unittest.js
|
| +++ b/remoting/webapp/unittests/desktop_viewport_unittest.js
|
| @@ -6,16 +6,26 @@
|
|
|
| 'use strict';
|
|
|
| -module('DesktopViewport');
|
| -
|
| +/**
|
| + * @param {number} width
|
| + * @param {number} height
|
| + * @return {{width:number, height:number}}
|
| + */
|
| function size(width, height) {
|
| return {width: width, height: height};
|
| }
|
|
|
| +/**
|
| + * @param {number} x
|
| + * @param {number} y
|
| + * @return {{x:number, y:number}}
|
| + */
|
| function dpi(x, y) {
|
| return {x: x, y: y};
|
| }
|
|
|
| +module('DesktopViewport');
|
| +
|
| test('choosePluginSize() handles low-DPI client & host',
|
| function() {
|
| // 1. Client & host size the same.
|
|
|