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 * Modal dialog for print destination's advanced settings. | 9 * Modal dialog for print destination's advanced settings. |
10 * @param {!print_preview.PrintTicketStore} printTicketStore Contains the | 10 * @param {!print_preview.PrintTicketStore} printTicketStore Contains the |
(...skipping 17 matching lines...) Expand all Loading... |
28 this.metrics_ = new print_preview.PrintSettingsUiMetricsContext(); | 28 this.metrics_ = new print_preview.PrintSettingsUiMetricsContext(); |
29 | 29 |
30 /** @private {!print_preview.SearchBox} */ | 30 /** @private {!print_preview.SearchBox} */ |
31 this.searchBox_ = new print_preview.SearchBox( | 31 this.searchBox_ = new print_preview.SearchBox( |
32 loadTimeData.getString('advancedSettingsSearchBoxPlaceholder')); | 32 loadTimeData.getString('advancedSettingsSearchBoxPlaceholder')); |
33 this.addChild(this.searchBox_); | 33 this.addChild(this.searchBox_); |
34 | 34 |
35 /** @private {print_preview.Destination} */ | 35 /** @private {print_preview.Destination} */ |
36 this.destination_ = null; | 36 this.destination_ = null; |
37 | 37 |
38 /** @private {!Array.<!print_preview.AdvancedSettingsItem>} */ | 38 /** @private {!Array<!print_preview.AdvancedSettingsItem>} */ |
39 this.items_ = []; | 39 this.items_ = []; |
40 }; | 40 }; |
41 | 41 |
42 /** | 42 /** |
43 * CSS classes used by the component. | 43 * CSS classes used by the component. |
44 * @enum {string} | 44 * @enum {string} |
45 * @private | 45 * @private |
46 */ | 46 */ |
47 AdvancedSettings.Classes_ = { | 47 AdvancedSettings.Classes_ = { |
48 EXTRA_PADDING: 'advanced-settings-item-extra-padding' | 48 EXTRA_PADDING: 'advanced-settings-item-extra-padding' |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 224 |
225 this.printTicketStore_.vendorItems.updateValue(values); | 225 this.printTicketStore_.vendorItems.updateValue(values); |
226 } | 226 } |
227 }; | 227 }; |
228 | 228 |
229 // Export | 229 // Export |
230 return { | 230 return { |
231 AdvancedSettings: AdvancedSettings | 231 AdvancedSettings: AdvancedSettings |
232 }; | 232 }; |
233 }); | 233 }); |
OLD | NEW |