Index: remoting/webapp/client_plugin.js |
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js |
index 97a10da8ba1c3bb7124eb9981dd185da059ff51d..068663150ec5e11bd619a6102a2d81bba3489e48 100644 |
--- a/remoting/webapp/client_plugin.js |
+++ b/remoting/webapp/client_plugin.js |
@@ -55,6 +55,7 @@ remoting.ClientPlugin.prototype.isSupportedVersion = function() {}; |
remoting.ClientPlugin.Feature = { |
INJECT_KEY_EVENT: 'injectKeyEvent', |
NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions', |
+ NOTIFY_CLIENT_RESOLUTION: 'notifyClientResolution', |
PAUSE_VIDEO: 'pauseVideo', |
PAUSE_AUDIO: 'pauseAudio', |
REMAP_KEY: 'remapKey', |
@@ -147,13 +148,14 @@ remoting.ClientPlugin.prototype.getPerfStats = function() {}; |
remoting.ClientPlugin.prototype.sendClipboardItem = function(mimeType, item) {}; |
/** |
- * Notifies the host that the client has the specified dimensions. |
+ * Notifies the host that the client has the specified size and pixel density. |
* |
- * @param {number} width The available client width. |
- * @param {number} height The available client height. |
+ * @param {number} width The available client width in DIPs. |
+ * @param {number} height The available client height in DIPs. |
+ * @param {number} device_scale The number of device pixels per DIP. |
*/ |
-remoting.ClientPlugin.prototype.notifyClientDimensions = |
- function(width, height) {}; |
+remoting.ClientPlugin.prototype.notifyClientResolution = |
+ function(width, height, device_scale) {}; |
/** |
* Requests that the host pause or resume sending video updates. |