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 // The include directives are put into Javascript-style comments to prevent | 5 // The include directives are put into Javascript-style comments to prevent |
6 // parsing errors in non-flattened mode. The flattener still sees them. | 6 // parsing errors in non-flattened mode. The flattener still sees them. |
7 // Note that this makes the flattener to comment out the first line of the | 7 // Note that this makes the flattener to comment out the first line of the |
8 // included file but that's all right since any javascript file should start | 8 // included file but that's all right since any javascript file should start |
9 // with a copyright comment anyway. | 9 // with a copyright comment anyway. |
10 | 10 |
11 //<include src="../../../../../../ui/webui/resources/js/cr.js"/> | 11 //<include src="../../../../../../ui/webui/resources/js/cr.js"/> |
| 12 //<include src="../../../../../../ui/webui/resources/js/cr/event_target.js"/> |
| 13 //<include src="../../../../../../ui/webui/resources/js/cr/ui/array_data_model.j
s"/> |
12 //<include src="../../../../../../ui/webui/resources/js/load_time_data.js"/> | 14 //<include src="../../../../../../ui/webui/resources/js/load_time_data.js"/> |
13 //<include src="../../../../../../ui/webui/resources/js/cr/event_target.js"/> | |
14 | 15 |
15 (function() { | 16 (function() { |
16 // 'strict mode' is invoked for this scope. | 17 // 'strict mode' is invoked for this scope. |
17 | 18 |
18 //<include src="../async_util.js"/> | 19 //<include src="../async_util.js"/> |
19 //<include src="../util.js"/> | 20 //<include src="../util.js"/> |
20 //<include src="../path_util.js"/> | 21 //<include src="../path_util.js"/> |
21 //<include src="../file_type.js"/> | 22 //<include src="../file_type.js"/> |
22 //<include src="../volume_manager.js"> | 23 //<include src="../volume_manager.js"> |
23 //<include src="../metadata/metadata_cache.js"/> | 24 //<include src="../metadata/metadata_cache.js"/> |
24 | 25 |
25 //<include src="media_controls.js"/> | 26 //<include src="media_controls.js"/> |
26 //<include src="util.js"/> | 27 //<include src="util.js"/> |
27 //<include src="video_player.js"/> | 28 //<include src="video_player.js"/> |
28 //<include src="player_testapi.js"/> | 29 //<include src="player_testapi.js"/> |
29 | 30 |
30 window.reload = reload; | 31 window.reload = reload; |
31 window.unload = unload; | 32 window.unload = unload; |
32 | 33 |
33 })(); | 34 })(); |
OLD | NEW |