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

Unified 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 4 years 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {};
« 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