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

Side by Side Diff: remoting/webapp/crd/js/desktop_connected_view.js

Issue 2860203003: 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 unified diff | Download patch
« no previous file with comments | « no previous file | remoting/webapp/crd/js/desktop_viewport.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Class handling user-facing aspects of the client session. 7 * Class handling user-facing aspects of the client session.
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 this.view_ = new remoting.ConnectedView( 178 this.view_ = new remoting.ConnectedView(
179 this.plugin_, this.container_, 179 this.plugin_, this.container_,
180 this.container_.querySelector('.mouse-cursor-overlay')); 180 this.container_.querySelector('.mouse-cursor-overlay'));
181 181
182 var scrollerElement = base.getHtmlElement('scroller'); 182 var scrollerElement = base.getHtmlElement('scroller');
183 this.viewport_ = new remoting.DesktopViewport( 183 this.viewport_ = new remoting.DesktopViewport(
184 scrollerElement || document.body, 184 scrollerElement || document.body,
185 this.plugin_.hostDesktop(), 185 this.plugin_.hostDesktop(),
186 this.host_.options, 186 this.host_.options,
187 this.logger_); 187 this.logger_,
188 this.plugin_.hasCapability(
189 remoting.ClientSession.Capability.SEND_INITIAL_RESOLUTION));
188 190
189 if (remoting.windowFrame) { 191 if (remoting.windowFrame) {
190 remoting.windowFrame.setDesktopConnectedView(this); 192 remoting.windowFrame.setDesktopConnectedView(this);
191 } 193 }
192 if (remoting.toolbar) { 194 if (remoting.toolbar) {
193 remoting.toolbar.setDesktopConnectedView(this); 195 remoting.toolbar.setDesktopConnectedView(this);
194 } 196 }
195 if (remoting.optionsMenu) { 197 if (remoting.optionsMenu) {
196 remoting.optionsMenu.setDesktopConnectedView(this); 198 remoting.optionsMenu.setDesktopConnectedView(this);
197 } 199 }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 * 307 *
306 * @param {HTMLElement} container 308 * @param {HTMLElement} container
307 * @param {remoting.ConnectionInfo} connectionInfo 309 * @param {remoting.ConnectionInfo} connectionInfo
308 * @param {remoting.SessionLogger} logger 310 * @param {remoting.SessionLogger} logger
309 * @return {remoting.DesktopConnectedView} 311 * @return {remoting.DesktopConnectedView}
310 */ 312 */
311 remoting.DesktopConnectedView.create = function(container, connectionInfo, 313 remoting.DesktopConnectedView.create = function(container, connectionInfo,
312 logger) { 314 logger) {
313 return new remoting.DesktopConnectedView(container, connectionInfo, logger); 315 return new remoting.DesktopConnectedView(container, connectionInfo, logger);
314 }; 316 };
OLDNEW
« no previous file with comments | « no previous file | remoting/webapp/crd/js/desktop_viewport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698