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

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

Issue 2861333002: Fixing white-screen problem for Curtain-mode Windows host connections (Closed)
Patch Set: Created 3 years, 7 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 | « remoting/webapp/crd/js/desktop_connected_view.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5374f0f7d6d83ee8488f28204cb6b96ff4984f35..1fff27c34ab44b2c03926bcc4deb6469ae6d8092 100644
--- a/remoting/webapp/crd/js/desktop_viewport.js
+++ b/remoting/webapp/crd/js/desktop_viewport.js
@@ -28,7 +28,7 @@ var remoting = remoting || {};
* @implements {base.Disposable}
*/
remoting.DesktopViewport = function(rootElement, hostDesktop, hostOptions,
- logger) {
+ logger, sendInitialResolution) {
/** @private */
this.rootElement_ = rootElement;
/** @private */
@@ -61,7 +61,7 @@ var remoting = remoting || {};
this.hostDesktop_, remoting.HostDesktop.Events.sizeChanged,
this.onDesktopSizeChanged_.bind(this)));
- if (this.hostOptions_.getResizeToClient()) {
+ if (this.hostOptions_.getResizeToClient() || sendInitialResolution) {
this.resizeHostDesktop_();
} else {
this.onDesktopSizeChanged_();
« no previous file with comments | « remoting/webapp/crd/js/desktop_connected_view.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698