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

Side by Side Diff: ui/file_manager/externs/background_window.js

Issue 2606653002: Files app: Move common/js/externs.js to externs/*. (Closed)
Patch Set: --similarity=20 Created 3 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
oka 2016/12/26 10:14:59 Belated, but did we decide not to use @externs?
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 // TODO(yawano): Move all externs under ui/file_manager/externs.
6
7 /** 5 /**
8 * @constructor 6 * @constructor
9 * @extends {Window} 7 * @extends {Window}
10 */ 8 */
11 var BackgroundWindow = function() {}; 9 var BackgroundWindow = function() {};
12 10
13 /** 11 /**
14 * @type {FileBrowserBackground} 12 * @type {FileBrowserBackground}
15 */ 13 */
16 BackgroundWindow.prototype.background; 14 BackgroundWindow.prototype.background;
17 15
18 /** 16 /**
19 * @param {Window} window 17 * @param {Window} window
20 */ 18 */
21 BackgroundWindow.prototype.registerDialog = function(window) {}; 19 BackgroundWindow.prototype.registerDialog = function(window) {};
22 20
23 /** 21 /**
24 * @param {Object=} opt_appState App state. 22 * @param {Object=} opt_appState App state.
25 * @param {number=} opt_id Window id. 23 * @param {number=} opt_id Window id.
26 * @param {LaunchType=} opt_type Launch type. Default: ALWAYS_CREATE. 24 * @param {LaunchType=} opt_type Launch type. Default: ALWAYS_CREATE.
27 * @param {function(string)=} opt_callback Completion callback with the App ID. 25 * @param {function(string)=} opt_callback Completion callback with the App ID.
28 */ 26 */
29 BackgroundWindow.prototype.launchFileManager = 27 BackgroundWindow.prototype.launchFileManager =
30 function(opt_appState, opt_id, opt_type, opt_callback) {}; 28 function(opt_appState, opt_id, opt_type, opt_callback) {};
31
32
33 /**
34 * @constructor
35 * @extends {Event}
36 */
37 var FileOperationProgressEvent = function() {};
38
39 /** @type {fileOperationUtil.EventRouter.EventType} */
40 FileOperationProgressEvent.prototype.reason;
41
42 /** @type {(fileOperationUtil.Error|undefined)} */
43 FileOperationProgressEvent.prototype.error;
44
45
46 /**
47 * @constructor
48 * @extends {Event}
49 */
50 var EntriesChangedEvent = function() {};
51
52 /** @type {util.EntryChangedKind} */
53 EntriesChangedEvent.prototype.kind;
54
55 /** @type {Array<!Entry>} */
56 EntriesChangedEvent.prototype.entries;
57
58 /**
59 * @constructor
60 * @extends {Event}
61 * @struct
62 */
63 var DirectoryChangeEvent = function() {};
64
65 /** @type {DirectoryEntry} */
66 DirectoryChangeEvent.prototype.previousDirEntry;
67
68 /** @type {DirectoryEntry|FakeEntry} */
69 DirectoryChangeEvent.prototype.newDirEntry;
70
71 /** @type {boolean} */
72 DirectoryChangeEvent.prototype.volumeChanged;
OLDNEW
« no previous file with comments | « ui/file_manager/compiled_resources2.gyp ('k') | ui/file_manager/externs/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698