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

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

Issue 1172883005: Revert "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, 20 * @type {{appWindow: chrome.app.window.AppWindow, onClose: function(),
21 * onMaximize: function(), onMinimize: function(),
21 * onAppRegionChanged: function(), readonlyDirName: string, 22 * onAppRegionChanged: function(), readonlyDirName: string,
22 * displayStringFunction: function(), loadTimeData: Object, 23 * displayStringFunction: function(), loadTimeData: Object,
23 * curDirEntry: Entry, searchResults: *}} 24 * curDirEntry: Entry, searchResults: *}}
24 * @private 25 * @private
25 * 26 *
26 * TODO(yawano): curDirEntry and searchResults seem not to be used. 27 * TODO(yawano): curDirEntry and searchResults seem not to be used.
27 * Investigate them and remove them if possible. 28 * Investigate them and remove them if possible.
28 */ 29 */
29 this.context_ = { 30 this.context_ = {
30 appWindow: chrome.app.window.current(), 31 appWindow: chrome.app.window.current(),
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 initializePromise.then(reload); 893 initializePromise.then(reload);
893 894
894 /** 895 /**
895 * Enteres the debug mode. 896 * Enteres the debug mode.
896 */ 897 */
897 window.debugMe = function() { 898 window.debugMe = function() {
898 initializePromise.then(function() { 899 initializePromise.then(function() {
899 gallery.debugMe(); 900 gallery.debugMe();
900 }); 901 });
901 }; 902 };
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