OLD | NEW |
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 * This is a type to let closure compiler recognize extended methods to Window | 6 * This is a type to let closure compiler recognize extended methods to Window |
7 * instance at gallery/js/gallery.js. | 7 * instance at gallery/js/gallery.js. |
8 * @constructor | 8 * @constructor |
9 * @extends {Window} | 9 * @extends {Window} |
10 */ | 10 */ |
11 function GalleryWindow() {} | 11 function GalleryWindow() {} |
12 | 12 |
13 /** | 13 /** |
14 * @param {!BackgroundComponents} backgroundComponents Background components. | 14 * @type {Promise} |
15 */ | 15 */ |
16 window.initialize = function(backgroundComponents) {}; | 16 window.initializePromise; |
17 | |
18 /** | |
19 * @param {!Array.<!Entry>} entries Array of entries. | |
20 */ | |
21 window.loadEntries = function(entries) {}; | |
22 | 17 |
23 /** | 18 /** |
24 * This definition is required by | 19 * This definition is required by |
25 * ui/file_manager/file_manager/common/js/util.js. | 20 * ui/file_manager/file_manager/common/js/util.js. |
26 * @type {string} | 21 * @type {string} |
27 */ | 22 */ |
28 Window.prototype.appID; | 23 Window.prototype.appID; |
OLD | NEW |