| Index: remoting/webapp/crd/js/client_plugin.js
|
| diff --git a/remoting/webapp/crd/js/client_plugin.js b/remoting/webapp/crd/js/client_plugin.js
|
| index 5f21c1c3d564020ff542f7ffecce7653db33da84..b0dec8039b1deb0a3ee8d141c66ea1028bdd0518 100644
|
| --- a/remoting/webapp/crd/js/client_plugin.js
|
| +++ b/remoting/webapp/crd/js/client_plugin.js
|
| @@ -19,24 +19,9 @@ var remoting = remoting || {};
|
| remoting.ClientPlugin = function() {};
|
|
|
| /**
|
| - * @return {number} The width of the remote desktop, in pixels.
|
| + * @return {remoting.HostDesktop}
|
| */
|
| -remoting.ClientPlugin.prototype.getDesktopWidth = function() {};
|
| -
|
| -/**
|
| - * @return {number} The height of the remote desktop, in pixels.
|
| - */
|
| -remoting.ClientPlugin.prototype.getDesktopHeight = function() {};
|
| -
|
| -/**
|
| - * @return {number} The x-DPI of the remote desktop.
|
| - */
|
| -remoting.ClientPlugin.prototype.getDesktopXDpi = function() {};
|
| -
|
| -/**
|
| - * @return {number} The y-DPI of the remote desktop.
|
| - */
|
| -remoting.ClientPlugin.prototype.getDesktopYDpi = function() {};
|
| +remoting.ClientPlugin.prototype.hostDesktop = function() {};
|
|
|
| /**
|
| * @return {HTMLElement} The DOM element representing the remote session.
|
| @@ -112,6 +97,12 @@ remoting.ClientPlugin.prototype.isSupportedVersion = function() {};
|
| remoting.ClientPlugin.prototype.hasFeature = function(feature) {};
|
|
|
| /**
|
| + * @param {string} capability
|
| + * @return {boolean} True if the host support the specified capability.
|
| + */
|
| +remoting.ClientPlugin.prototype.hasCapability = function(capability) {};
|
| +
|
| +/**
|
| * Sends a clipboard item to the host.
|
| *
|
| * @param {string} mimeType The MIME type of the clipboard item.
|
| @@ -216,20 +207,6 @@ remoting.ClientPlugin.prototype.setConnectionReadyHandler =
|
| function(handler) {};
|
|
|
| /**
|
| - * @param {function():void} handler Callback for desktop size change
|
| - * notifications.
|
| - */
|
| -remoting.ClientPlugin.prototype.setDesktopSizeUpdateHandler =
|
| - function(handler) {};
|
| -
|
| -/**
|
| - * @param {function(Array<Array<number>>):void} handler Callback for desktop
|
| - * shape change notifications.
|
| - */
|
| -remoting.ClientPlugin.prototype.setDesktopShapeUpdateHandler =
|
| - function(handler) {};
|
| -
|
| -/**
|
| * @param {function(!Array<string>):void} handler Callback to inform of
|
| * capabilities negotiated between host and client.
|
| */
|
|
|