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