summaryrefslogtreecommitdiffstats
path: root/ui/file_manager/gallery/js/gallery_scripts.js
blob: 5e19ca9d7b490d6883171e56b2d89adb320afead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// The include directives are put into Javascript-style comments to prevent
// parsing errors in non-flattened mode. The flattener still sees them.
// Note that this makes the flattener to comment out the first line of the
// included file but that's all right since any javascript file should start
// with a copyright comment anyway.

//<include src="../../file_manager/foreground/js/metrics_base.js">
//<include src="../../file_manager/foreground/js/metrics.js">

//<include src="../../file_manager/common/js/lru_cache.js">
//<include src="../../image_loader/image_loader_client.js">

//<include src="../../../webui/resources/js/cr.js">
//<include src="../../../webui/resources/js/util.js">
//<include src="../../../webui/resources/js/event_tracker.js">
//<include src="../../../webui/resources/js/load_time_data.js">

//<include src="../../../webui/resources/js/cr/ui.js">
//<include src="../../../webui/resources/js/cr/event_target.js">
//<include src="../../../webui/resources/js/cr/ui/touch_handler.js">
//<include src="../../../webui/resources/js/cr/ui/array_data_model.js">
//<include src="../../../webui/resources/js/cr/ui/dialogs.js">
//<include src="../../../webui/resources/js/cr/ui/list_item.js">
//<include src="../../../webui/resources/js/cr/ui/list_selection_model.js">
//<include
//    src="../../../webui/resources/js/cr/ui/list_single_selection_model.js">
//<include src="../../../webui/resources/js/cr/ui/list_selection_controller.js">
//<include src="../../../webui/resources/js/cr/ui/list.js">
//<include src="../../../webui/resources/js/cr/ui/grid.js">

(function() {
// 'strict mode' is invoked for this scope.

//<include src="../../file_manager/common/js/async_util.js">
//<include src="../../file_manager/common/js/file_type.js">
//<include src="../../file_manager/common/js/util.js">
//<include src="../../file_manager/common/js/volume_manager_common.js">
//<include src="../../file_manager/foreground/js/metadata/metadata_cache.js">
//<include src="../../file_manager/foreground/js/metadata/exif_constants.js">
//<include src="../../file_manager/foreground/js/mouse_inactivity_watcher.js">
//<include src="../../file_manager/foreground/js/share_client.js">
//<include src="../../file_manager/foreground/js/thumbnail_loader.js">
//<include
//    src="../../file_manager/foreground/js/ui/file_manager_dialog_base.js">
//<include src="../../file_manager/foreground/js/ui/share_dialog.js">
//<include src="../../file_manager/foreground/js/volume_manager_wrapper.js">

//<include src="image_editor/image_util.js">
//<include src="image_editor/viewport.js">
//<include src="image_editor/image_buffer.js">
//<include src="image_editor/image_view.js">
//<include src="image_editor/commands.js">
//<include src="image_editor/image_editor.js">
//<include src="image_editor/image_transform.js">
//<include src="image_editor/image_adjust.js">
//<include src="image_editor/filter.js">
//<include src="image_editor/image_encoder.js">
//<include src="image_editor/exif_encoder.js">

//<include src="entry_list_watcher.js">
//<include src="error_banner.js">
//<include src="gallery.js">
//<include src="gallery_data_model.js">
//<include src="gallery_item.js">
//<include src="gallery_util.js">
//<include src="mosaic_mode.js">
//<include src="ribbon.js">
//<include src="slide_mode.js">

// Exports
window.ImageUtil = ImageUtil;
window.ImageUtil.metrics = metrics;
window.Gallery = Gallery;
window.util = util;

})();