OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 * Functions related to controlling the modal UI state of the app. UI states | 7 * Functions related to controlling the modal UI state of the app. UI states |
8 * are expressed as HTML attributes with a dotted hierarchy. For example, the | 8 * are expressed as HTML attributes with a dotted hierarchy. For example, the |
9 * string 'host.shared' will match any elements with an associated attribute | 9 * string 'host.shared' will match any elements with an associated attribute |
10 * of 'host' or 'host.shared', showing those elements and hiding all others. | 10 * of 'host' or 'host.shared', showing those elements and hiding all others. |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 } | 279 } |
280 | 280 |
281 /** | 281 /** |
282 * @param {string} tag | 282 * @param {string} tag |
283 */ | 283 */ |
284 remoting.showSetupProcessingMessage = function(tag) { | 284 remoting.showSetupProcessingMessage = function(tag) { |
285 var messageDiv = document.getElementById('host-setup-processing-message'); | 285 var messageDiv = document.getElementById('host-setup-processing-message'); |
286 l10n.localizeElementFromTag(messageDiv, tag); | 286 l10n.localizeElementFromTag(messageDiv, tag); |
287 remoting.setMode(remoting.AppMode.HOST_SETUP_PROCESSING); | 287 remoting.setMode(remoting.AppMode.HOST_SETUP_PROCESSING); |
288 } | 288 } |
OLD | NEW |