Index: remoting/webapp/client_plugin.js |
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js |
index 99c719cdc241efd0baf53feb6301e0bde3950328..0af6005a88f4011a0fdf83b2e1c8b19cb29c014b 100644 |
--- a/remoting/webapp/client_plugin.js |
+++ b/remoting/webapp/client_plugin.js |
@@ -49,6 +49,7 @@ remoting.ClientPlugin.prototype.isSupportedVersion = function() {}; |
remoting.ClientPlugin.Feature = { |
HIGH_QUALITY_SCALING: 'highQualityScaling', |
INJECT_KEY_EVENT: 'injectKeyEvent', |
+ NOTIFY_CLIENT_DIMENSIONS: 'notifyClientDimensions', |
REMAP_KEY: 'remapKey', |
SEND_CLIPBOARD_ITEM: 'sendClipboardItem' |
}; |
@@ -134,3 +135,12 @@ remoting.ClientPlugin.prototype.getPerfStats = function() {}; |
* @param {string} item The clipboard item. |
*/ |
remoting.ClientPlugin.prototype.sendClipboardItem = function(mimeType, item) {}; |
+ |
+/** |
+ * Notifies the host that the client has the specified dimensions. |
+ * |
+ * @param {number} width The available client width. |
+ * @param {number} height The available client height. |
+ */ |
+remoting.ClientPlugin.prototype.notifyClientDimensions = |
+ function(width, height) {}; |