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

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

Issue 1151503006: Fix closure compiler error which is caused by crrev.com/1165913003. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 /** 5 /**
6 * Overrided metadata worker's path. 6 * Overrided metadata worker's path.
7 * @type {string} 7 * @type {string}
8 */ 8 */
9 ContentMetadataProvider.WORKER_SCRIPT = '/js/metadata_worker.js'; 9 ContentMetadataProvider.WORKER_SCRIPT = '/js/metadata_worker.js';
10 10
11 /** 11 /**
12 * Gallery for viewing and editing image files. 12 * Gallery for viewing and editing image files.
13 * 13 *
14 * @param {!VolumeManagerWrapper} volumeManager 14 * @param {!VolumeManagerWrapper} volumeManager
15 * @constructor 15 * @constructor
16 * @struct 16 * @struct
17 */ 17 */
18 function Gallery(volumeManager) { 18 function Gallery(volumeManager) {
19 /** 19 /**
20 * @type {{appWindow: chrome.app.window.AppWindow, onClose: function(), 20 * @type {{appWindow: chrome.app.window.AppWindow,
21 * onMaximize: function(), onMinimize: function(),
22 * onAppRegionChanged: function(), readonlyDirName: string, 21 * onAppRegionChanged: function(), readonlyDirName: string,
23 * displayStringFunction: function(), loadTimeData: Object, 22 * displayStringFunction: function(), loadTimeData: Object,
24 * curDirEntry: Entry, searchResults: *}} 23 * curDirEntry: Entry, searchResults: *}}
25 * @private 24 * @private
26 * 25 *
27 * TODO(yawano): curDirEntry and searchResults seem not to be used. 26 * TODO(yawano): curDirEntry and searchResults seem not to be used.
28 * Investigate them and remove them if possible. 27 * Investigate them and remove them if possible.
29 */ 28 */
30 this.context_ = { 29 this.context_ = {
31 appWindow: chrome.app.window.current(), 30 appWindow: chrome.app.window.current(),
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 initializePromise.then(reload); 892 initializePromise.then(reload);
894 893
895 /** 894 /**
896 * Enteres the debug mode. 895 * Enteres the debug mode.
897 */ 896 */
898 window.debugMe = function() { 897 window.debugMe = function() {
899 initializePromise.then(function() { 898 initializePromise.then(function() {
900 gallery.debugMe(); 899 gallery.debugMe();
901 }); 900 });
902 }; 901 };
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