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

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

Issue 2606653002: Files app: Move common/js/externs.js to externs/*. (Closed)
Patch Set: --similarity=20 Created 3 years, 12 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.
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 /**
8 * @constructor
9 * @extends {Window}
10 */
11 var BackgroundWindow = function() {};
12
13 /**
14 * @type {FileBrowserBackground}
15 */
16 BackgroundWindow.prototype.background;
17
18 /**
19 * @param {Window} window
20 */
21 BackgroundWindow.prototype.registerDialog = function(window) {};
22
23 /**
24 * @param {Object=} opt_appState App state.
25 * @param {number=} opt_id Window id.
26 * @param {LaunchType=} opt_type Launch type. Default: ALWAYS_CREATE.
27 * @param {function(string)=} opt_callback Completion callback with the App ID.
28 */
29 BackgroundWindow.prototype.launchFileManager =
30 function(opt_appState, opt_id, opt_type, opt_callback) {};
31
32
33 /** 5 /**
34 * @constructor 6 * @constructor
35 * @extends {Event} 7 * @extends {Event}
36 */ 8 */
37 var FileOperationProgressEvent = function() {}; 9 var FileOperationProgressEvent = function() {};
38 10
39 /** @type {fileOperationUtil.EventRouter.EventType} */ 11 /** @type {fileOperationUtil.EventRouter.EventType} */
40 FileOperationProgressEvent.prototype.reason; 12 FileOperationProgressEvent.prototype.reason;
41 13
42 /** @type {(fileOperationUtil.Error|undefined)} */ 14 /** @type {(fileOperationUtil.Error|undefined)} */
43 FileOperationProgressEvent.prototype.error; 15 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

Powered by Google App Engine
This is Rietveld 408576698