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 // 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="error_util.js"/> | 11 //<include src="error_util.js"/> |
12 | 12 |
13 //<include src="../../../webui/resources/js/cr.js"/> | 13 //<include src="../../../webui/resources/js/cr.js"/> |
14 //<include src="../../../webui/resources/js/load_time_data.js"/> | 14 //<include src="../../../webui/resources/js/load_time_data.js"/> |
15 | 15 |
| 16 //<include src="../../../webui/resources/js/event_tracker.js"/> |
| 17 |
| 18 //<include src="../../../webui/resources/js/cr/ui.js"/> |
| 19 //<include src="../../../webui/resources/js/cr/event_target.js"/> |
| 20 |
| 21 //<include src="../../../webui/resources/js/cr/ui/position_util.js"/> |
| 22 //<include src="../../../webui/resources/js/cr/ui/menu_item.js"/> |
| 23 //<include src="../../../webui/resources/js/cr/ui/menu.js"/> |
| 24 //<include src="../../../webui/resources/js/cr/ui/menu_button.js"/> |
| 25 //<include src="../../../webui/resources/js/cr/ui/context_menu_handler.js"/> |
| 26 |
16 (function() { | 27 (function() { |
17 'use strict'; | 28 'use strict'; |
18 | 29 |
19 //<include src="../../file_manager/common/js/util.js"/> | 30 //<include src="../../file_manager/common/js/util.js"/> |
20 //<include src="../../file_manager/foreground/js/media/media_controls.js"/> | 31 //<include src="../../file_manager/foreground/js/media/media_controls.js"/> |
21 //<include src="../../file_manager/foreground/js/media/mouse_inactivity_watcher.
js"/> | 32 //<include src="../../file_manager/foreground/js/media/mouse_inactivity_watcher.
js"/> |
22 | 33 |
| 34 //<include src="cast/cast_extension_discoverer.js"/> |
| 35 //<include src="cast/load_cast_extension_api.js"/> |
| 36 //<include src="cast/caster.js"/> |
| 37 |
23 //<include src="video_player.js"/> | 38 //<include src="video_player.js"/> |
24 | 39 |
25 window.unload = unload; | 40 window.unload = unload; |
26 | 41 |
27 })(); | 42 })(); |
OLD | NEW |