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="../metrics.js"> | 11 //<include src="../metrics.js"> |
12 | 12 |
13 //<include src="../../../image_loader/image_loader_client.js"/> | 13 //<include src="../../../../image_loader/image_loader_client.js"/> |
14 | 14 |
15 //<include src="../../../../../../ui/webui/resources/js/cr.js"> | 15 //<include src="../../../../../../../ui/webui/resources/js/cr.js"> |
16 //<include src="../../../../../../ui/webui/resources/js/event_tracker.js"> | 16 //<include src="../../../../../../../ui/webui/resources/js/event_tracker.js"> |
17 //<include src="../../../../../../ui/webui/resources/js/load_time_data.js"> | 17 //<include src="../../../../../../../ui/webui/resources/js/load_time_data.js"> |
18 | 18 |
19 //<include src="../../../../../../ui/webui/resources/js/cr/ui.js"> | 19 //<include src="../../../../../../../ui/webui/resources/js/cr/ui.js"> |
20 //<include src="../../../../../../ui/webui/resources/js/cr/event_target.js"> | 20 //<include src="../../../../../../../ui/webui/resources/js/cr/event_target.js"> |
21 //<include src="../../../../../../ui/webui/resources/js/cr/ui/touch_handler.js"> | 21 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/touch_handler.j
s"> |
22 //<include src="../../../../../../ui/webui/resources/js/cr/ui/array_data_model.j
s"> | 22 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/array_data_mode
l.js"> |
23 //<include src="../../../../../../ui/webui/resources/js/cr/ui/dialogs.js"> | 23 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/dialogs.js"> |
24 //<include src="../../../../../../ui/webui/resources/js/cr/ui/list_item.js"> | 24 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/list_item.js"> |
25 //<include src="../../../../../../ui/webui/resources/js/cr/ui/list_selection_mod
el.js"> | 25 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/list_selection_
model.js"> |
26 //<include src="../../../../../../ui/webui/resources/js/cr/ui/list_single_select
ion_model.js"> | 26 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/list_single_sel
ection_model.js"> |
27 //<include src="../../../../../../ui/webui/resources/js/cr/ui/list_selection_con
troller.js"> | 27 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/list_selection_
controller.js"> |
28 //<include src="../../../../../../ui/webui/resources/js/cr/ui/list.js"> | 28 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/list.js"> |
29 //<include src="../../../../../../ui/webui/resources/js/cr/ui/grid.js"> | 29 //<include src="../../../../../../../ui/webui/resources/js/cr/ui/grid.js"> |
30 | 30 |
31 (function() { | 31 (function() { |
32 // 'strict mode' is invoked for this scope. | 32 // 'strict mode' is invoked for this scope. |
33 | 33 |
| 34 //<include src="../../../common/js/async_util.js"> |
| 35 //<include src="../../../common/js/util.js"> |
| 36 //<include src="../../../common/js/path_util.js"> |
34 //<include src="../file_type.js"> | 37 //<include src="../file_type.js"> |
35 //<include src="../async_util.js"> | |
36 //<include src="../util.js"> | |
37 //<include src="../path_util.js"> | |
38 //<include src="../volume_manager_wrapper.js"> | 38 //<include src="../volume_manager_wrapper.js"> |
39 | 39 |
40 //<include src="../image_editor/image_util.js"/> | 40 //<include src="../image_editor/image_util.js"/> |
41 //<include src="../image_editor/viewport.js"/> | 41 //<include src="../image_editor/viewport.js"/> |
42 //<include src="../image_editor/image_buffer.js"/> | 42 //<include src="../image_editor/image_buffer.js"/> |
43 //<include src="../image_editor/image_view.js"/> | 43 //<include src="../image_editor/image_view.js"/> |
44 //<include src="../image_editor/commands.js"/> | 44 //<include src="../image_editor/commands.js"/> |
45 //<include src="../image_editor/image_editor.js"/> | 45 //<include src="../image_editor/image_editor.js"/> |
46 //<include src="../image_editor/image_transform.js"/> | 46 //<include src="../image_editor/image_transform.js"/> |
47 //<include src="../image_editor/image_adjust.js"/> | 47 //<include src="../image_editor/image_adjust.js"/> |
(...skipping 13 matching lines...) Expand all Loading... |
61 //<include src="slide_mode.js"> | 61 //<include src="slide_mode.js"> |
62 //<include src="ribbon.js"> | 62 //<include src="ribbon.js"> |
63 | 63 |
64 // Exports | 64 // Exports |
65 window.ImageUtil = ImageUtil; | 65 window.ImageUtil = ImageUtil; |
66 window.Gallery = Gallery; | 66 window.Gallery = Gallery; |
67 window.beforeunload = beforeunload; | 67 window.beforeunload = beforeunload; |
68 window.unload = unload; | 68 window.unload = unload; |
69 | 69 |
70 })(); | 70 })(); |
OLD | NEW |