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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 //<include src="image_editor/image_editor.js"> | 68 //<include src="image_editor/image_editor.js"> |
69 //<include src="image_editor/image_transform.js"> | 69 //<include src="image_editor/image_transform.js"> |
70 //<include src="image_editor/image_adjust.js"> | 70 //<include src="image_editor/image_adjust.js"> |
71 //<include src="image_editor/filter.js"> | 71 //<include src="image_editor/filter.js"> |
72 //<include src="image_editor/image_encoder.js"> | 72 //<include src="image_editor/image_encoder.js"> |
73 //<include src="image_editor/exif_encoder.js"> | 73 //<include src="image_editor/exif_encoder.js"> |
74 | 74 |
75 //<include src="dimmable_ui_controller.js"> | 75 //<include src="dimmable_ui_controller.js"> |
76 //<include src="entry_list_watcher.js"> | 76 //<include src="entry_list_watcher.js"> |
77 //<include src="error_banner.js"> | 77 //<include src="error_banner.js"> |
78 //<include src="gallery.js"> | |
79 //<include src="gallery_data_model.js"> | 78 //<include src="gallery_data_model.js"> |
80 //<include src="gallery_item.js"> | 79 //<include src="gallery_item.js"> |
81 //<include src="gallery_util.js"> | 80 //<include src="gallery_util.js"> |
82 //<include src="ribbon.js"> | 81 //<include src="ribbon.js"> |
83 //<include src="slide_mode.js"> | 82 //<include src="slide_mode.js"> |
84 //<include src="thumbnail_mode.js"> | 83 //<include src="thumbnail_mode.js"> |
| 84 //<include src="gallery.js"> |
85 | 85 |
86 // Exports | 86 // Exports |
87 window.ImageUtil = ImageUtil; | 87 window.ImageUtil = ImageUtil; |
88 window.ImageUtil.metrics = metrics; | 88 window.ImageUtil.metrics = metrics; |
89 window.Gallery = Gallery; | 89 window.Gallery = Gallery; |
90 | 90 |
91 window.reload = reload; // will be called by the background. | 91 window.reload = reload; // will be called by the background. |
92 window.gallery = gallery; // for debug. | 92 window.gallery = gallery; // for debug. |
93 | 93 |
94 })(); | 94 })(); |
OLD | NEW |