Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Unified Diff: remoting/webapp/client_session.js

Issue 10956004: Notify host of initial client dimensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_session.js
diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js
index 9e5116f8f7df342efa653b77bd10db6862cac3de..f4efe1fbb4802ba23d8a906cae9129f40005eb8a 100644
--- a/remoting/webapp/client_session.js
+++ b/remoting/webapp/client_session.js
@@ -517,6 +517,7 @@ remoting.ClientSession.prototype.onConnectionStatusUpdate_ =
function(status, error) {
if (status == remoting.ClientSession.State.CONNECTED) {
this.onDesktopSizeChanged_();
+ this.plugin.notifyClientDimensions(window.innerWidth, window.innerHeight)
Wez 2012/09/20 18:15:36 nit: Just call this.onResize_() here?
Jamie 2012/09/20 18:26:56 That would defer the resize for 1s, which isn't wh
} else if (status == remoting.ClientSession.State.FAILED) {
this.error = /** @type {remoting.ClientSession.ConnectionError} */ (error);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698