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

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

Issue 2830013006: Disable ButterBar in chromoting webapp (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | 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 'use strict'; 5 'use strict';
6 6
7 /** @suppress {duplicate} */ 7 /** @suppress {duplicate} */
8 var remoting = remoting || {}; 8 var remoting = remoting || {};
9 9
10 /** 10 /**
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 var working = base.getHtmlElement('paired-client-manager-dialog-working'); 75 var working = base.getHtmlElement('paired-client-manager-dialog-working');
76 var error = base.getHtmlElement('paired-client-manager-dialog-error'); 76 var error = base.getHtmlElement('paired-client-manager-dialog-error');
77 var noPairedClients = base.getHtmlElement('no-paired-clients'); 77 var noPairedClients = base.getHtmlElement('no-paired-clients');
78 remoting.pairedClientManager = 78 remoting.pairedClientManager =
79 new remoting.PairedClientManager(remoting.hostController, dialog, message, 79 new remoting.PairedClientManager(remoting.hostController, dialog, message,
80 deleteAll, close, noPairedClients, 80 deleteAll, close, noPairedClients,
81 working, error); 81 working, error);
82 // Display the cached host list, then asynchronously update and re-display it. 82 // Display the cached host list, then asynchronously update and re-display it.
83 remoting.updateLocalHostState(); 83 remoting.updateLocalHostState();
84 remoting.hostList.refresh().then(remoting.updateLocalHostState); 84 remoting.hostList.refresh().then(remoting.updateLocalHostState);
85 remoting.butterBar = new remoting.ButterBar(); 85
86 // Butter bar is temporarily disabled.
joedow 2017/04/21 20:39:09 not: Add bug# here to track when this was disabled
Sergey Ulanov 2017/04/21 20:49:48 Done.
87 // remoting.butterBar = new remoting.ButterBar();
86 }; 88 };
87 89
88 /** 90 /**
89 * Fetches local host state and updates the DOM accordingly. 91 * Fetches local host state and updates the DOM accordingly.
90 */ 92 */
91 remoting.updateLocalHostState = function() { 93 remoting.updateLocalHostState = function() {
92 /** 94 /**
93 * @param {remoting.HostController.State} state Host state. 95 * @param {remoting.HostController.State} state Host state.
94 */ 96 */
95 var onHostState = function(state) { 97 var onHostState = function(state) {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 178 }
177 }; 179 };
178 180
179 181
180 remoting.startDesktopRemoting = function() { 182 remoting.startDesktopRemoting = function() {
181 remoting.app = new remoting.DesktopRemoting(); 183 remoting.app = new remoting.DesktopRemoting();
182 remoting.app.start(); 184 remoting.app.start();
183 }; 185 };
184 186
185 window.addEventListener('load', remoting.startDesktopRemotingForTesting, false); 187 window.addEventListener('load', remoting.startDesktopRemotingForTesting, false);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698