| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // TODO(rltoscano): Move data/* into print_preview.data namespace | 5 // TODO(rltoscano): Move data/* into print_preview.data namespace |
| 6 | 6 |
| 7 <include src="component.js"> | 7 <include src="component.js"> |
| 8 <include src="print_preview_focus_manager.js"> | 8 <include src="print_preview_focus_manager.js"> |
| 9 | 9 |
| 10 cr.define('print_preview', function() { | 10 cr.define('print_preview', function() { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 this.printTicketStore_.selectionOnly, | 162 this.printTicketStore_.selectionOnly, |
| 163 this.printTicketStore_.headerFooter); | 163 this.printTicketStore_.headerFooter); |
| 164 this.addChild(this.otherOptionsSettings_); | 164 this.addChild(this.otherOptionsSettings_); |
| 165 | 165 |
| 166 /** | 166 /** |
| 167 * Component that renders the advanced options button. | 167 * Component that renders the advanced options button. |
| 168 * @type {!print_preview.AdvancedOptionsSettings} | 168 * @type {!print_preview.AdvancedOptionsSettings} |
| 169 * @private | 169 * @private |
| 170 */ | 170 */ |
| 171 this.advancedOptionsSettings_ = new print_preview.AdvancedOptionsSettings( | 171 this.advancedOptionsSettings_ = new print_preview.AdvancedOptionsSettings( |
| 172 this.destinationStore_); | 172 this.printTicketStore_.vendorItems, this.destinationStore_); |
| 173 this.addChild(this.advancedOptionsSettings_); | 173 this.addChild(this.advancedOptionsSettings_); |
| 174 | 174 |
| 175 /** | 175 /** |
| 176 * Component used to search for print destinations. | 176 * Component used to search for print destinations. |
| 177 * @type {!print_preview.AdvancedSettings} | 177 * @type {!print_preview.AdvancedSettings} |
| 178 * @private | 178 * @private |
| 179 */ | 179 */ |
| 180 this.advancedSettings_ = new print_preview.AdvancedSettings( | 180 this.advancedSettings_ = new print_preview.AdvancedSettings( |
| 181 this.printTicketStore_); | 181 this.printTicketStore_); |
| 182 this.addChild(this.advancedSettings_); | 182 this.addChild(this.advancedSettings_); |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1301 <include src="search/cloud_destination_list.js"> | 1301 <include src="search/cloud_destination_list.js"> |
| 1302 <include src="search/recent_destination_list.js"> | 1302 <include src="search/recent_destination_list.js"> |
| 1303 <include src="search/destination_list_item.js"> | 1303 <include src="search/destination_list_item.js"> |
| 1304 <include src="search/destination_search.js"> | 1304 <include src="search/destination_search.js"> |
| 1305 <include src="search/fedex_tos.js"> | 1305 <include src="search/fedex_tos.js"> |
| 1306 | 1306 |
| 1307 window.addEventListener('DOMContentLoaded', function() { | 1307 window.addEventListener('DOMContentLoaded', function() { |
| 1308 printPreview = new print_preview.PrintPreview(); | 1308 printPreview = new print_preview.PrintPreview(); |
| 1309 printPreview.initialize(); | 1309 printPreview.initialize(); |
| 1310 }); | 1310 }); |
| OLD | NEW |