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

Unified Diff: remoting/webapp/crd/js/crd_main.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/js/crd_event_handlers.js ('k') | remoting/webapp/crd/js/host_list.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/crd_main.js
diff --git a/remoting/webapp/crd/js/crd_main.js b/remoting/webapp/crd/js/crd_main.js
index 1fdc7a246d192c60161271c016e0693f3cfdd8b0..237f78b9eabac64b1c3a85003a484b428b609cb4 100644
--- a/remoting/webapp/crd/js/crd_main.js
+++ b/remoting/webapp/crd/js/crd_main.js
@@ -11,6 +11,7 @@ var remoting = remoting || {};
* Initialize the host list.
*/
remoting.initHostlist_ = function() {
+ remoting.hostController = new remoting.HostController();
remoting.hostList = new remoting.HostList(
document.getElementById('host-list'),
document.getElementById('host-list-empty'),
@@ -104,10 +105,7 @@ function isHostModeSupported_() {
* and also if the user cancels pin entry or the connection in session mode.
*/
remoting.initHomeScreenUi = function() {
- remoting.hostController = new remoting.HostController();
remoting.setMode(remoting.AppMode.HOME);
- remoting.hostSetupDialog =
- new remoting.HostSetupDialog(remoting.hostController);
var dialog = document.getElementById('paired-clients-list');
var message = document.getElementById('paired-client-manager-message');
var deleteAll = document.getElementById('delete-all-paired-clients');
« no previous file with comments | « remoting/webapp/crd/js/crd_event_handlers.js ('k') | remoting/webapp/crd/js/host_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698