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

Unified Diff: remoting/webapp/crd/js/client_session.js

Issue 779613003: [Chromoting] Create core Application interface for CRD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing file. Created 6 years 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
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 + '-' +

Powered by Google App Engine
This is Rietveld 408576698