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

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

Issue 1016623002: [Webapp Refactor] Reparent the ConnectedView into the delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Please diff this patch against patch set 1 Created 5 years, 9 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
Index: remoting/webapp/crd/js/desktop_viewport.js
diff --git a/remoting/webapp/crd/js/desktop_viewport.js b/remoting/webapp/crd/js/desktop_viewport.js
index 02c9a5219e4bfbbe5aa9b64aff118b0af793954b..2a6d9c86907faec74512ccff8fe6460b2c03bfeb 100644
--- a/remoting/webapp/crd/js/desktop_viewport.js
+++ b/remoting/webapp/crd/js/desktop_viewport.js
@@ -61,6 +61,8 @@ remoting.DesktopViewport = function(rootElement, hostDesktop, hostOptions) {
remoting.windowShape.setDesktopRects.bind(remoting.windowShape)));
if (this.hostOptions_.resizeToClient) {
+ // TODO(kelvinp): This call is required in app remoting to set the host
+ // desktop size. Moves this to remoting.AppConnectedView later.
Jamie 2015/03/18 01:03:56 s/Moves/Move/
kelvinp 2015/03/18 18:44:22 Done.
this.resizeHostDesktop_();
} else {
this.onDesktopSizeChanged_();

Powered by Google App Engine
This is Rietveld 408576698