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

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

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 years, 10 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 * Toggles visibility of the specified printing options sections. 9 * Toggles visibility of the specified printing options sections.
10 * @param {!print_preview.DestinationStore} destinationStore To listen for 10 * @param {!print_preview.DestinationStore} destinationStore To listen for
11 * destination changes. 11 * destination changes.
12 * @param {!Array.<print_preview.SettingsSection>} settingsSections Sections 12 * @param {!Array<print_preview.SettingsSection>} settingsSections Sections
13 * to toggle by this component. 13 * to toggle by this component.
14 * @constructor 14 * @constructor
15 * @extends {print_preview.Component} 15 * @extends {print_preview.Component}
16 */ 16 */
17 function MoreSettings(destinationStore, settingsSections) { 17 function MoreSettings(destinationStore, settingsSections) {
18 print_preview.Component.call(this); 18 print_preview.Component.call(this);
19 19
20 /** @private {!print_preview.DestinationStore} */ 20 /** @private {!print_preview.DestinationStore} */
21 this.destinationStore_ = destinationStore; 21 this.destinationStore_ = destinationStore;
22 22
23 /** @private {!Array.<print_preview.SettingsSection>} */ 23 /** @private {!Array<print_preview.SettingsSection>} */
24 this.settingsSections_ = settingsSections; 24 this.settingsSections_ = settingsSections;
25 25
26 /** @private {MoreSettings.SettingsToShow} */ 26 /** @private {MoreSettings.SettingsToShow} */
27 this.settingsToShow_ = MoreSettings.SettingsToShow.MOST_POPULAR; 27 this.settingsToShow_ = MoreSettings.SettingsToShow.MOST_POPULAR;
28 28
29 /** @private {boolean} */ 29 /** @private {boolean} */
30 this.capabilitiesReady_ = false; 30 this.capabilitiesReady_ = false;
31 31
32 /** @private {boolean} */ 32 /** @private {boolean} */
33 this.firstDestinationReady_ = false; 33 this.firstDestinationReady_ = false;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 section.setCollapseContent(collapseContent, noAnimation); 163 section.setCollapseContent(collapseContent, noAnimation);
164 }); 164 });
165 } 165 }
166 }; 166 };
167 167
168 // Export 168 // Export
169 return { 169 return {
170 MoreSettings: MoreSettings 170 MoreSettings: MoreSettings
171 }; 171 };
172 }); 172 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698