Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Side by Side Diff: ui/file_manager/gallery/js/gallery_scripts.js

Issue 2607453002: Files.app: Compile file_manager/foreground/js/metadata in v2 syntax. (Closed)
Patch Set: Re-rebase (PS4 had unrelated changes.) Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/file_manager/gallery/js/compiled_resources.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 })();
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/compiled_resources.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698