| OLD | NEW |
| 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 cr.define('print_preview', function() { | 5 cr.define('print_preview', function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Base class for print option section components. | 9 * Base class for print option section components. |
| 10 * @constructor | 10 * @constructor |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 /** | 109 /** |
| 110 * @return {boolean} Whether this section should be displayed or not. | 110 * @return {boolean} Whether this section should be displayed or not. |
| 111 * @protected | 111 * @protected |
| 112 */ | 112 */ |
| 113 isSectionVisibleInternal: function() { | 113 isSectionVisibleInternal: function() { |
| 114 return this.isAvailable() && !this.collapseContent_; | 114 return this.isAvailable() && !this.collapseContent_; |
| 115 } | 115 } |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 // Export | 118 // Export |
| 119 return { | 119 return {SettingsSection: SettingsSection}; |
| 120 SettingsSection: SettingsSection | |
| 121 }; | |
| 122 }); | 120 }); |
| OLD | NEW |