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

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

Issue 816603002: Gallery: Register unload handler to 'pagehide' event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 //<include src="gallery_item.js"> 64 //<include src="gallery_item.js">
65 //<include src="error_banner.js"> 65 //<include src="error_banner.js">
66 //<include src="mosaic_mode.js"> 66 //<include src="mosaic_mode.js">
67 //<include src="slide_mode.js"> 67 //<include src="slide_mode.js">
68 //<include src="ribbon.js"> 68 //<include src="ribbon.js">
69 69
70 // Exports 70 // Exports
71 window.ImageUtil = ImageUtil; 71 window.ImageUtil = ImageUtil;
72 window.ImageUtil.metrics = metrics; 72 window.ImageUtil.metrics = metrics;
73 window.Gallery = Gallery; 73 window.Gallery = Gallery;
74 window.unload = unload;
75 window.util = util; 74 window.util = util;
76 75
77 })(); 76 })();
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