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

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

Issue 973333002: Remove Hangout Remote Desktop integration code from the webapp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + manifest changes 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 unified diff | Download patch
« no previous file with comments | « remoting/webapp/crd/js/crd_main.js ('k') | remoting/webapp/crd/js/hangout_session.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 * This class implements the functionality that is specific to desktop 7 * This class implements the functionality that is specific to desktop
8 * remoting ("Chromoting" or CRD). 8 * remoting ("Chromoting" or CRD).
9 */ 9 */
10 10
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 // Reset the refresh flag so that the next connection will retry if needed. 307 // Reset the refresh flag so that the next connection will retry if needed.
308 this.refreshHostJidIfOffline_ = true; 308 this.refreshHostJidIfOffline_ = true;
309 309
310 var errorDiv = document.getElementById('connect-error-message'); 310 var errorDiv = document.getElementById('connect-error-message');
311 l10n.localizeElementFromTag(errorDiv, /** @type {string} */ (errorTag)); 311 l10n.localizeElementFromTag(errorDiv, /** @type {string} */ (errorTag));
312 312
313 var mode = remoting.clientSession ? remoting.desktopConnectedView.getMode() 313 var mode = remoting.clientSession ? remoting.desktopConnectedView.getMode()
314 : this.app_.getSessionConnector().getConnectionMode(); 314 : this.app_.getSessionConnector().getConnectionMode();
315 if (mode == remoting.DesktopConnectedView.Mode.IT2ME) { 315 if (mode == remoting.DesktopConnectedView.Mode.IT2ME) {
316 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_IT2ME); 316 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_IT2ME);
317 remoting.hangoutSessionEvents.raiseEvent(
318 remoting.hangoutSessionEvents.sessionStateChanged,
319 remoting.ClientSession.State.FAILED
320 );
321 } else { 317 } else {
322 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_ME2ME); 318 remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_ME2ME);
323 } 319 }
324 }; 320 };
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/crd_main.js ('k') | remoting/webapp/crd/js/hangout_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698