Chromium Code Reviews| Index: ui/file_manager/externs/background_window.js |
| diff --git a/ui/file_manager/file_manager/common/js/externs.js b/ui/file_manager/externs/background_window.js |
| similarity index 38% |
| copy from ui/file_manager/file_manager/common/js/externs.js |
| copy to ui/file_manager/externs/background_window.js |
| index 681dbc86644347083c0fcd876e27d60b094336b5..e6e8322b79471ca937faf093abdae9c0c88bf319 100644 |
| --- a/ui/file_manager/file_manager/common/js/externs.js |
| +++ b/ui/file_manager/externs/background_window.js |
| @@ -1,9 +1,7 @@ |
| -// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
oka
2016/12/26 10:14:59
Belated, but did we decide not to use @externs?
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -// TODO(yawano): Move all externs under ui/file_manager/externs. |
| - |
| /** |
| * @constructor |
| * @extends {Window} |
| @@ -27,46 +25,4 @@ BackgroundWindow.prototype.registerDialog = function(window) {}; |
| * @param {function(string)=} opt_callback Completion callback with the App ID. |
| */ |
| BackgroundWindow.prototype.launchFileManager = |
| - function(opt_appState, opt_id, opt_type, opt_callback) {}; |
| - |
| - |
| -/** |
| - * @constructor |
| - * @extends {Event} |
| - */ |
| -var FileOperationProgressEvent = function() {}; |
| - |
| -/** @type {fileOperationUtil.EventRouter.EventType} */ |
| -FileOperationProgressEvent.prototype.reason; |
| - |
| -/** @type {(fileOperationUtil.Error|undefined)} */ |
| -FileOperationProgressEvent.prototype.error; |
| - |
| - |
| -/** |
| - * @constructor |
| - * @extends {Event} |
| - */ |
| -var EntriesChangedEvent = function() {}; |
| - |
| -/** @type {util.EntryChangedKind} */ |
| -EntriesChangedEvent.prototype.kind; |
| - |
| -/** @type {Array<!Entry>} */ |
| -EntriesChangedEvent.prototype.entries; |
| - |
| -/** |
| - * @constructor |
| - * @extends {Event} |
| - * @struct |
| - */ |
| -var DirectoryChangeEvent = function() {}; |
| - |
| -/** @type {DirectoryEntry} */ |
| -DirectoryChangeEvent.prototype.previousDirEntry; |
| - |
| -/** @type {DirectoryEntry|FakeEntry} */ |
| -DirectoryChangeEvent.prototype.newDirEntry; |
| - |
| -/** @type {boolean} */ |
| -DirectoryChangeEvent.prototype.volumeChanged; |
| + function(opt_appState, opt_id, opt_type, opt_callback) {}; |