Index: remoting/webapp/client_plugin_async.js |
diff --git a/remoting/webapp/client_plugin_async.js b/remoting/webapp/client_plugin_async.js |
index 8b60f3006d28938c0f8561fc445c6cc703a2e5c5..a4ac9ebdf92f02e64c0cbc0bd9dfedd272b009a6 100644 |
--- a/remoting/webapp/client_plugin_async.js |
+++ b/remoting/webapp/client_plugin_async.js |
@@ -172,6 +172,11 @@ remoting.ClientPluginAsync.prototype.handleMessage_ = function(messageStr) { |
// the client's dimensions. |
this.capabilities_.push( |
remoting.ClientSession.Capability.SEND_INITIAL_RESOLUTION); |
+ |
+ // Let the host know that we're interested in knowing whether or not |
+ // it rate-limits desktop-resize requests. |
+ this.capabilities_.push( |
+ remoting.ClientSession.Capability.RATE_LIMIT_RESIZE_REQUESTS); |
} else if (this.pluginApiVersion_ >= 6) { |
this.pluginApiFeatures_ = ['highQualityScaling', 'injectKeyEvent']; |
} else { |