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

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

Issue 944183002: HostTableEntry refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Jamie's feedback Created 5 years, 10 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/html/ui_me2me.html ('k') | remoting/webapp/crd/js/crd_main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b730db429c0b4abc67e192712e090bd2a89a91c8..fb96ee0ab3e18293aaf2f7b1dfc04b9b92eba6aa 100644
--- a/remoting/webapp/crd/js/crd_event_handlers.js
+++ b/remoting/webapp/crd/js/crd_event_handlers.js
@@ -37,11 +37,6 @@ remoting.initElementEventHandlers = function() {
remoting.setMode(remoting.AppMode.CLIENT_CONNECTING);
remoting.app.getSessionConnector().reconnect();
};
- /** @param {Event} event The event. */
- var stopDaemon = function(event) {
- remoting.hostSetupDialog.showForStop();
- event.stopPropagation();
- };
var cancelAccessCode = function() {
remoting.setMode(remoting.AppMode.HOME);
document.getElementById('access-code-entry').value = '';
@@ -60,16 +55,11 @@ remoting.initElementEventHandlers = function() {
];
/** @type {Array<{event: string, id: string, fn: function(Event):void}>} */
var me2me_actions = [
- { event: 'click', id: 'change-daemon-pin',
- fn: function() { remoting.hostSetupDialog.showForPin(); } },
{ 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 },
- { event: 'click', id: 'start-daemon',
- fn: function() { remoting.hostSetupDialog.showForStart(); } },
- { event: 'click', id: 'stop-daemon', fn: stopDaemon }
+ fn: remoting.showMe2MeUiAndSave }
];
/** @type {Array<{event: string, id: string, fn: function(Event):void}>} */
var host_actions = [
« no previous file with comments | « remoting/webapp/crd/html/ui_me2me.html ('k') | remoting/webapp/crd/js/crd_main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698