Chromium Code Reviews| 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 | 10 |
| (...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1344 // <include src="../pdf/pdf_scripting_api.js"> | 1344 // <include src="../pdf/pdf_scripting_api.js"> |
| 1345 // <include src="previewarea/preview_area.js"> | 1345 // <include src="previewarea/preview_area.js"> |
| 1346 // <include src="preview_generator.js"> | 1346 // <include src="preview_generator.js"> |
| 1347 | 1347 |
| 1348 // <include src="search/destination_list.js"> | 1348 // <include src="search/destination_list.js"> |
| 1349 // <include src="search/cloud_destination_list.js"> | 1349 // <include src="search/cloud_destination_list.js"> |
| 1350 // <include src="search/recent_destination_list.js"> | 1350 // <include src="search/recent_destination_list.js"> |
| 1351 // <include src="search/destination_list_item.js"> | 1351 // <include src="search/destination_list_item.js"> |
| 1352 // <include src="search/destination_search.js"> | 1352 // <include src="search/destination_search.js"> |
| 1353 // <include src="search/provisional_destination_resolver.js"> | 1353 // <include src="search/provisional_destination_resolver.js"> |
| 1354 | 1354 var printPreview; |
|
dpapad
2017/05/08 20:40:10
Can this be moved inside the anonymous function be
rbpotter
2017/05/08 23:28:20
Done. FYI, This triggered a bunch of new errors fr
| |
| 1355 window.addEventListener('DOMContentLoaded', function() { | 1355 window.addEventListener('DOMContentLoaded', function() { |
| 1356 printPreview = new print_preview.PrintPreview(); | 1356 printPreview = new print_preview.PrintPreview(); |
| 1357 printPreview.initialize(); | 1357 printPreview.initialize(); |
| 1358 }); | 1358 }); |
| OLD | NEW |