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

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

Issue 644883002: Gallery.app: Decrease toolbar hiding timeout seconds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | 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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * Called from the main frame when unloading. 8 * Called from the main frame when unloading.
9 * @param {boolean=} opt_exiting True if the app is exiting. 9 * @param {boolean=} opt_exiting True if the app is exiting.
10 */ 10 */
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 /** 230 /**
231 * Gallery extends cr.EventTarget. 231 * Gallery extends cr.EventTarget.
232 */ 232 */
233 Gallery.prototype.__proto__ = cr.EventTarget.prototype; 233 Gallery.prototype.__proto__ = cr.EventTarget.prototype;
234 234
235 /** 235 /**
236 * Tools fade-out timeout in milliseconds. 236 * Tools fade-out timeout in milliseconds.
237 * @const 237 * @const
238 * @type {number} 238 * @type {number}
239 */ 239 */
240 Gallery.FADE_TIMEOUT = 3000; 240 Gallery.FADE_TIMEOUT = 2000;
241 241
242 /** 242 /**
243 * First time tools fade-out timeout in milliseconds. 243 * First time tools fade-out timeout in milliseconds.
244 * @const 244 * @const
245 * @type {number} 245 * @type {number}
246 */ 246 */
247 Gallery.FIRST_FADE_TIMEOUT = 1000; 247 Gallery.FIRST_FADE_TIMEOUT = 1000;
248 248
249 /** 249 /**
250 * Time until mosaic is initialized in the background. Used to make gallery 250 * Time until mosaic is initialized in the background. Used to make gallery
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 }; 1033 };
1034 1034
1035 /** 1035 /**
1036 * Loads entries. 1036 * Loads entries.
1037 * @param {!Array.<Entry>} entries Array of entries. 1037 * @param {!Array.<Entry>} entries Array of entries.
1038 * @param {!Array.<Entry>} selectedEntries Array of selected entries. 1038 * @param {!Array.<Entry>} selectedEntries Array of selected entries.
1039 */ 1039 */
1040 window.loadEntries = function(entries, selectedEntries) { 1040 window.loadEntries = function(entries, selectedEntries) {
1041 gallery.load(entries, selectedEntries); 1041 gallery.load(entries, selectedEntries);
1042 }; 1042 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698