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="../../file_manager/foreground/js/metrics.js"> |
12 | 12 |
13 //<include src="../../../webui/resources/js/cr.js"/> | 13 //<include src="../../image_loader/image_loader_client.js"/> |
14 //<include src="../../../webui/resources/js/load_time_data.js"/> | 14 |
| 15 //<include src="../../../webui/resources/js/cr.js"> |
| 16 //<include src="../../../webui/resources/js/event_tracker.js"> |
| 17 //<include src="../../../webui/resources/js/load_time_data.js"> |
| 18 |
| 19 //<include src="../../../webui/resources/js/cr/ui.js"> |
| 20 //<include src="../../../webui/resources/js/cr/event_target.js"> |
| 21 //<include src="../../../webui/resources/js/cr/ui/touch_handler.js"> |
| 22 //<include src="../../../webui/resources/js/cr/ui/array_data_model.js"> |
| 23 //<include src="../../../webui/resources/js/cr/ui/dialogs.js"> |
| 24 //<include src="../../../webui/resources/js/cr/ui/list_item.js"> |
| 25 //<include src="../../../webui/resources/js/cr/ui/list_selection_model.js"> |
| 26 //<include |
| 27 // src="../../../webui/resources/js/cr/ui/list_single_selection_model.js"> |
| 28 //<include src="../../../webui/resources/js/cr/ui/list_selection_controller.js"> |
| 29 //<include src="../../../webui/resources/js/cr/ui/list.js"> |
| 30 //<include src="../../../webui/resources/js/cr/ui/grid.js"> |
15 | 31 |
16 (function() { | 32 (function() { |
17 'use strict'; | 33 // 'strict mode' is invoked for this scope. |
18 | 34 |
19 //<include src="gallery.js"/> | 35 //<include src="../../file_manager/common/js/async_util.js"> |
| 36 //<include src="../../file_manager/common/js/util.js"> |
| 37 //<include src="../../file_manager/common/js/path_util.js"> |
| 38 //<include src="../../file_manager/foreground/js/file_type.js"> |
| 39 //<include src="../../file_manager/foreground/js/volume_manager_wrapper.js"> |
| 40 |
| 41 //<include src="image_editor/image_util.js"/> |
| 42 //<include src="image_editor/viewport.js"/> |
| 43 //<include src="image_editor/image_buffer.js"/> |
| 44 //<include src="image_editor/image_view.js"/> |
| 45 //<include src="image_editor/commands.js"/> |
| 46 //<include src="image_editor/image_editor.js"/> |
| 47 //<include src="image_editor/image_transform.js"/> |
| 48 //<include src="image_editor/image_adjust.js"/> |
| 49 //<include src="image_editor/filter.js"/> |
| 50 //<include src="image_editor/image_encoder.js"/> |
| 51 //<include src="image_editor/exif_encoder.js"/> |
| 52 |
| 53 //<include src="../../file_manager/foreground/js/media/media_controls.js"/> |
| 54 //<include src="../../file_manager/foreground/js/media/media_util.js"/> |
| 55 //<include src="../../file_manager/foreground/js/media/util.js"/> |
| 56 //<include src="../../file_manager/foreground/js/metadata/metadata_cache.js"/> |
| 57 |
| 58 //<include src="gallery.js"> |
| 59 //<include src="gallery_item.js"> |
| 60 //<include src="mosaic_mode.js"> |
| 61 //<include src="slide_mode.js"> |
| 62 //<include src="ribbon.js"> |
| 63 |
| 64 // Exports |
| 65 window.ImageUtil = ImageUtil; |
| 66 window.ImageUtil.metrics = metrics; |
| 67 window.Gallery = Gallery; |
| 68 window.unload = unload; |
| 69 window.util = util; |
| 70 |
20 })(); | 71 })(); |
OLD | NEW |