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