| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 the 'host screen' for Chromoting. | 7 * Functions related to the 'host screen' for Chromoting. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 'use strict'; | 10 'use strict'; |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 262 |
| 263 /** | 263 /** |
| 264 * Callback to show or hide the NAT traversal warning when the policy changes. | 264 * Callback to show or hide the NAT traversal warning when the policy changes. |
| 265 * @param {boolean} enabled True if NAT traversal is enabled. | 265 * @param {boolean} enabled True if NAT traversal is enabled. |
| 266 * @return {void} Nothing. | 266 * @return {void} Nothing. |
| 267 */ | 267 */ |
| 268 function onNatTraversalPolicyChanged_(enabled) { | 268 function onNatTraversalPolicyChanged_(enabled) { |
| 269 var container = document.getElementById('nat-box-container'); | 269 var container = document.getElementById('nat-box-container'); |
| 270 container.hidden = enabled; | 270 container.hidden = enabled; |
| 271 } | 271 } |
| OLD | NEW |