| Index: remoting/webapp/crd/js/client_session.js
|
| diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js
|
| index 81a6ae100184910fee13f67c3442889cec799618..a9b93814fcd35eec4956548c2744cbdf9ecbfa96 100644
|
| --- a/remoting/webapp/crd/js/client_session.js
|
| +++ b/remoting/webapp/crd/js/client_session.js
|
| @@ -626,6 +626,7 @@ remoting.ClientSession.prototype.disconnect = function(error) {
|
| this.logToServer.logClientSessionStateChange(state, error);
|
| this.error_ = error;
|
| this.setState_(state);
|
| + remoting.app.onDisconnected();
|
| };
|
|
|
| /**
|
| @@ -1280,6 +1281,10 @@ remoting.ClientSession.prototype.updateDimensions = function() {
|
| var clientHeight = document.documentElement.clientHeight;
|
| var parentNode = this.plugin_.element().parentNode;
|
|
|
| + // When we receive the first plugin dimensions from the host, we know that
|
| + // remote host has started.
|
| + remoting.app.onVideoStreamingStarted();
|
| +
|
| console.log('plugin dimensions: ' +
|
| parentNode.style.left + ',' +
|
| parentNode.style.top + '-' +
|
|
|