| 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 21 matching lines...) Expand all Loading... |
| 32 // <include src="../../../webui/resources/js/cr/ui/list_selection_controller.js"
> | 32 // <include src="../../../webui/resources/js/cr/ui/list_selection_controller.js"
> |
| 33 // <include src="../../../webui/resources/js/cr/ui/list.js"> | 33 // <include src="../../../webui/resources/js/cr/ui/list.js"> |
| 34 // <include src="../../../webui/resources/js/cr/ui/grid.js"> | 34 // <include src="../../../webui/resources/js/cr/ui/grid.js"> |
| 35 | 35 |
| 36 (function() { | 36 (function() { |
| 37 // 'strict mode' is invoked for this scope. | 37 // 'strict mode' is invoked for this scope. |
| 38 | 38 |
| 39 // Base classes. | 39 // Base classes. |
| 40 // <include src="../../file_manager/foreground/js/metadata/metadata_cache_set.js
"> | 40 // <include src="../../file_manager/foreground/js/metadata/metadata_cache_set.js
"> |
| 41 // <include src="../../file_manager/foreground/js/metadata/metadata_provider.js"
> | 41 // <include src="../../file_manager/foreground/js/metadata/metadata_provider.js"
> |
| 42 // <include src="../../file_manager/foreground/js/metadata/metadata_request.js"> |
| 42 | 43 |
| 43 // <include src="../../file_manager/common/js/async_util.js"> | 44 // <include src="../../file_manager/common/js/async_util.js"> |
| 44 // <include src="../../file_manager/common/js/file_type.js"> | 45 // <include src="../../file_manager/common/js/file_type.js"> |
| 45 // <include src="../../file_manager/common/js/util.js"> | 46 // <include src="../../file_manager/common/js/util.js"> |
| 46 // <include src="../../file_manager/common/js/volume_manager_common.js"> | 47 // <include src="../../file_manager/common/js/volume_manager_common.js"> |
| 47 // <include src="../../file_manager/foreground/js/metadata/content_metadata_prov
ider.js"> | 48 // <include src="../../file_manager/foreground/js/metadata/content_metadata_prov
ider.js"> |
| 48 // <include src="../../file_manager/foreground/js/metadata/exif_constants.js"> | 49 // <include src="../../file_manager/foreground/js/metadata/exif_constants.js"> |
| 49 // <include src="../../file_manager/foreground/js/metadata/external_metadata_pro
vider.js"> | 50 // <include src="../../file_manager/foreground/js/metadata/external_metadata_pro
vider.js"> |
| 50 // <include src="../../file_manager/foreground/js/metadata/file_system_metadata_
provider.js"> | 51 // <include src="../../file_manager/foreground/js/metadata/file_system_metadata_
provider.js"> |
| 51 // <include src="../../file_manager/foreground/js/metadata/metadata_cache_item.j
s"> | 52 // <include src="../../file_manager/foreground/js/metadata/metadata_cache_item.j
s"> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 88 |
| 88 // Exports | 89 // Exports |
| 89 window.ImageUtil = ImageUtil; | 90 window.ImageUtil = ImageUtil; |
| 90 window.ImageUtil.metrics = metrics; | 91 window.ImageUtil.metrics = metrics; |
| 91 window.Gallery = Gallery; | 92 window.Gallery = Gallery; |
| 92 | 93 |
| 93 window.reload = reload; // will be called by the background. | 94 window.reload = reload; // will be called by the background. |
| 94 window.gallery = gallery; // for debug. | 95 window.gallery = gallery; // for debug. |
| 95 | 96 |
| 96 })(); | 97 })(); |
| OLD | NEW |