Chromium Code Reviews| 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..aeaea61c08e5ecbffdd611ab9cc2d926f1b62f8a 100644 |
| --- a/remoting/webapp/crd/js/client_session.js |
| +++ b/remoting/webapp/crd/js/client_session.js |
| @@ -1280,6 +1280,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.onHostStarted(); |
|
Jamie
2014/12/04 22:56:58
The name of this callback is misleading. If the ho
garykac
2014/12/05 19:55:40
-> onVideoStreamingStarted
|
| + |
| console.log('plugin dimensions: ' + |
| parentNode.style.left + ',' + |
| parentNode.style.top + '-' + |