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

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

Issue 1066283002: [Webapp Refactor] Implements remoting.MessageDialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/crd_event_handlers.js
diff --git a/remoting/webapp/crd/js/crd_event_handlers.js b/remoting/webapp/crd/js/crd_event_handlers.js
index 91ee271c5dfa98b7e9f4c98cf7180aef00778b97..01439faba5d1d73810c7a05f5e88146f9ac8520d 100644
--- a/remoting/webapp/crd/js/crd_event_handlers.js
+++ b/remoting/webapp/crd/js/crd_event_handlers.js
@@ -18,14 +18,9 @@ remoting.initElementEventHandlers = function() {
goHome();
}
};
- var reconnect = function() {
- remoting.setMode(remoting.AppMode.CLIENT_CONNECTING);
- remoting.app.getSessionConnector().reconnect();
- };
/** @type {Array<{event: string, id: string, fn: function(Event):void}>} */
var it2me_actions = [
{ event: 'click', id: 'cancel-share-button', fn: remoting.cancelShare },
- { event: 'click', id: 'client-finished-it2me-button', fn: goHome },
{ event: 'click', id: 'get-started-it2me',
fn: remoting.showIT2MeUiAndSave },
{ event: 'click', id: 'host-finished-button', fn: goHome },
@@ -33,8 +28,6 @@ remoting.initElementEventHandlers = function() {
];
/** @type {Array<{event: string, id: string, fn: function(Event):void}>} */
var me2me_actions = [
- { event: 'click', id: 'client-finished-me2me-button', fn: goHome },
- { event: 'click', id: 'client-reconnect-button', fn: reconnect },
{ event: 'click', id: 'daemon-pin-cancel', fn: goHome },
{ event: 'click', id: 'get-started-me2me',
fn: remoting.showMe2MeUiAndSave }

Powered by Google App Engine
This is Rietveld 408576698