| 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 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 //<include src="../../../webui/resources/js/cr/ui/list.js"> | 29 //<include src="../../../webui/resources/js/cr/ui/list.js"> |
| 30 //<include src="../../../webui/resources/js/cr/ui/grid.js"> | 30 //<include src="../../../webui/resources/js/cr/ui/grid.js"> |
| 31 | 31 |
| 32 (function() { | 32 (function() { |
| 33 // 'strict mode' is invoked for this scope. | 33 // 'strict mode' is invoked for this scope. |
| 34 | 34 |
| 35 //<include src="../../file_manager/common/js/async_util.js"> | 35 //<include src="../../file_manager/common/js/async_util.js"> |
| 36 //<include src="../../file_manager/common/js/util.js"> | 36 //<include src="../../file_manager/common/js/util.js"> |
| 37 //<include src="../../file_manager/common/js/volume_manager_common.js"> | 37 //<include src="../../file_manager/common/js/volume_manager_common.js"> |
| 38 //<include src="../../file_manager/foreground/js/file_type.js"> | 38 //<include src="../../file_manager/foreground/js/file_type.js"> |
| 39 //<include src="../../file_manager/foreground/js/metadata/metadata_cache.js"> |
| 40 //<include src="../../file_manager/foreground/js/mouse_inactivity_watcher.js"> |
| 41 //<include src="../../file_manager/foreground/js/share_client.js"> |
| 39 //<include src="../../file_manager/foreground/js/thumbnail_loader.js"> | 42 //<include src="../../file_manager/foreground/js/thumbnail_loader.js"> |
| 43 //<include |
| 44 // src="../../file_manager/foreground/js/ui/file_manager_dialog_base.js"> |
| 45 //<include src="../../file_manager/foreground/js/ui/share_dialog.js"> |
| 40 //<include src="../../file_manager/foreground/js/volume_manager_wrapper.js"> | 46 //<include src="../../file_manager/foreground/js/volume_manager_wrapper.js"> |
| 41 | 47 |
| 42 //<include src="image_editor/image_util.js"> | 48 //<include src="image_editor/image_util.js"> |
| 43 //<include src="image_editor/viewport.js"> | 49 //<include src="image_editor/viewport.js"> |
| 44 //<include src="image_editor/image_buffer.js"> | 50 //<include src="image_editor/image_buffer.js"> |
| 45 //<include src="image_editor/image_view.js"> | 51 //<include src="image_editor/image_view.js"> |
| 46 //<include src="image_editor/commands.js"> | 52 //<include src="image_editor/commands.js"> |
| 47 //<include src="image_editor/image_editor.js"> | 53 //<include src="image_editor/image_editor.js"> |
| 48 //<include src="image_editor/image_transform.js"> | 54 //<include src="image_editor/image_transform.js"> |
| 49 //<include src="image_editor/image_adjust.js"> | 55 //<include src="image_editor/image_adjust.js"> |
| 50 //<include src="image_editor/filter.js"> | 56 //<include src="image_editor/filter.js"> |
| 51 //<include src="image_editor/image_encoder.js"> | 57 //<include src="image_editor/image_encoder.js"> |
| 52 //<include src="image_editor/exif_encoder.js"> | 58 //<include src="image_editor/exif_encoder.js"> |
| 53 | 59 |
| 54 //<include src="../../file_manager/foreground/js/metadata/metadata_cache.js"> | |
| 55 //<include src="../../file_manager/foreground/js/mouse_inactivity_watcher.js"> | |
| 56 | |
| 57 //<include src="../../file_manager/foreground/js/ui/file_manager_dialog_base.js"
> | |
| 58 //<include src="../../file_manager/foreground/js/share_client.js"> | |
| 59 //<include src="../../file_manager/foreground/js/share_dialog.js"> | |
| 60 | |
| 61 //<include src="gallery.js"> | 60 //<include src="gallery.js"> |
| 62 //<include src="gallery_item.js"> | 61 //<include src="gallery_item.js"> |
| 63 //<include src="mosaic_mode.js"> | 62 //<include src="mosaic_mode.js"> |
| 64 //<include src="slide_mode.js"> | 63 //<include src="slide_mode.js"> |
| 65 //<include src="ribbon.js"> | 64 //<include src="ribbon.js"> |
| 66 | 65 |
| 67 // Exports | 66 // Exports |
| 68 window.ImageUtil = ImageUtil; | 67 window.ImageUtil = ImageUtil; |
| 69 window.ImageUtil.metrics = metrics; | 68 window.ImageUtil.metrics = metrics; |
| 70 window.Gallery = Gallery; | 69 window.Gallery = Gallery; |
| 71 window.unload = unload; | 70 window.unload = unload; |
| 72 window.util = util; | 71 window.util = util; |
| 73 | 72 |
| 74 })(); | 73 })(); |
| OLD | NEW |