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

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

Issue 959643003: [Gallery] Add reload feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 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/gallery.js ('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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 //<include src="gallery_item.js"> 70 //<include src="gallery_item.js">
71 //<include src="gallery_util.js"> 71 //<include src="gallery_util.js">
72 //<include src="mosaic_mode.js"> 72 //<include src="mosaic_mode.js">
73 //<include src="ribbon.js"> 73 //<include src="ribbon.js">
74 //<include src="slide_mode.js"> 74 //<include src="slide_mode.js">
75 75
76 // Exports 76 // Exports
77 window.ImageUtil = ImageUtil; 77 window.ImageUtil = ImageUtil;
78 window.ImageUtil.metrics = metrics; 78 window.ImageUtil.metrics = metrics;
79 window.Gallery = Gallery; 79 window.Gallery = Gallery;
80 window.util = util; 80
81 window.reload = reload; // will be called by the background.
82 window.gallery = gallery; // for debug.
81 83
82 })(); 84 })();
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/gallery.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698