Index: remoting/webapp/client_plugin_async.js |
diff --git a/remoting/webapp/client_plugin_async.js b/remoting/webapp/client_plugin_async.js |
index cb64329a379091fa3388af10a9c596fef3c278b5..6ac9f785667208a4d29b84b43172bfa92d15ce41 100644 |
--- a/remoting/webapp/client_plugin_async.js |
+++ b/remoting/webapp/client_plugin_async.js |
@@ -171,6 +171,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 { |