| 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 * TabSwitcherView is an implementation of View that handles tab switching. | 6 * TabSwitcherView is an implementation of View that handles tab switching. |
| 7 * | 7 * |
| 8 * It is comprised of many views (tabs), only one of which is visible at a | 8 * It is comprised of many views (tabs), only one of which is visible at a |
| 9 * time. | 9 * time. |
| 10 * | 10 * |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 this.contentView.show(isSelected); | 141 this.contentView.show(isSelected); |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 /** | 144 /** |
| 145 * Returns the DOM node that is used to select the tab. | 145 * Returns the DOM node that is used to select the tab. |
| 146 */ | 146 */ |
| 147 TabEntry.prototype.getTabHandleNode = function() { | 147 TabEntry.prototype.getTabHandleNode = function() { |
| 148 return $(this.id); | 148 return $(this.id); |
| 149 }; | 149 }; |
| 150 | 150 |
| OLD | NEW |