Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: chrome/browser/resources/print_preview/settings/settings_section.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698