| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 * The TreeStatusViewerApp encapsulates the application's global state, | 6 * The TreeStatusViewerApp encapsulates the application's global state, |
| 7 * and controls its subviews. | 7 * and controls its subviews. |
| 8 * | 8 * |
| 9 * @constructor | 9 * @constructor |
| 10 */ | 10 */ |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 * @param {boolean} visible | 193 * @param {boolean} visible |
| 194 */ | 194 */ |
| 195 TreeStatusViewerApp.prototype.ShowViewContentAndTabArea = | 195 TreeStatusViewerApp.prototype.ShowViewContentAndTabArea = |
| 196 function(viewName, visible) { | 196 function(viewName, visible) { |
| 197 DomUtil.DisplayNode(document.getElementById(viewName + "_container"), | 197 DomUtil.DisplayNode(document.getElementById(viewName + "_container"), |
| 198 visible); | 198 visible); |
| 199 | 199 |
| 200 var badgeClass = visible ? "viewBadge_selected" : "viewBadge"; | 200 var badgeClass = visible ? "viewBadge_selected" : "viewBadge"; |
| 201 document.getElementById(viewName + "_badge").className = badgeClass; | 201 document.getElementById(viewName + "_badge").className = badgeClass; |
| 202 } | 202 } |
| OLD | NEW |