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 var localStrings = new LocalStrings(templateData); | 7 var localStrings = new LocalStrings(templateData); |
8 | 8 |
9 <include src="component.js"/> | 9 <include src="component.js"/> |
10 <include src="print_preview_focus_manager.js"/> | 10 <include src="print_preview_focus_manager.js"/> |
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1204 | 1204 |
1205 // Export | 1205 // Export |
1206 return { | 1206 return { |
1207 PrintPreview: PrintPreview | 1207 PrintPreview: PrintPreview |
1208 }; | 1208 }; |
1209 }); | 1209 }); |
1210 | 1210 |
1211 // Pull in all other scripts in a single shot. | 1211 // Pull in all other scripts in a single shot. |
1212 <include src="common/overlay.js"/> | 1212 <include src="common/overlay.js"/> |
1213 <include src="common/search_box.js"/> | 1213 <include src="common/search_box.js"/> |
| 1214 <include src="common/search_bubble.js"/> |
1214 | 1215 |
1215 <include src="data/page_number_set.js"/> | 1216 <include src="data/page_number_set.js"/> |
1216 <include src="data/destination.js"/> | 1217 <include src="data/destination.js"/> |
1217 <include src="data/local_parsers.js"/> | 1218 <include src="data/local_parsers.js"/> |
1218 <include src="data/cloud_parsers.js"/> | 1219 <include src="data/cloud_parsers.js"/> |
1219 <include src="data/destination_store.js"/> | 1220 <include src="data/destination_store.js"/> |
1220 <include src="data/margins.js"/> | 1221 <include src="data/margins.js"/> |
1221 <include src="data/document_info.js"/> | 1222 <include src="data/document_info.js"/> |
1222 <include src="data/printable_area.js"/> | 1223 <include src="data/printable_area.js"/> |
1223 <include src="data/measurement_system.js"/> | 1224 <include src="data/measurement_system.js"/> |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1276 <include src="search/cloud_destination_list.js"/> | 1277 <include src="search/cloud_destination_list.js"/> |
1277 <include src="search/recent_destination_list.js"/> | 1278 <include src="search/recent_destination_list.js"/> |
1278 <include src="search/destination_list_item.js"/> | 1279 <include src="search/destination_list_item.js"/> |
1279 <include src="search/destination_search.js"/> | 1280 <include src="search/destination_search.js"/> |
1280 <include src="search/fedex_tos.js"/> | 1281 <include src="search/fedex_tos.js"/> |
1281 | 1282 |
1282 window.addEventListener('DOMContentLoaded', function() { | 1283 window.addEventListener('DOMContentLoaded', function() { |
1283 printPreview = new print_preview.PrintPreview(); | 1284 printPreview = new print_preview.PrintPreview(); |
1284 printPreview.initialize(); | 1285 printPreview.initialize(); |
1285 }); | 1286 }); |
OLD | NEW |