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

Unified Diff: ui/file_manager/externs/directory_change_event.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
Index: ui/file_manager/externs/directory_change_event.js
diff --git a/ui/file_manager/file_manager/common/js/externs.js b/ui/file_manager/externs/directory_change_event.js
similarity index 22%
copy from ui/file_manager/file_manager/common/js/externs.js
copy to ui/file_manager/externs/directory_change_event.js
index 681dbc86644347083c0fcd876e27d60b094336b5..d406268908dde8ba39e772bdb90eb4f66f3994f5 100644
--- a/ui/file_manager/file_manager/common/js/externs.js
+++ b/ui/file_manager/externs/directory_change_event.js
@@ -1,60 +1,7 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// 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}
- */
-var BackgroundWindow = function() {};
-
-/**
- * @type {FileBrowserBackground}
- */
-BackgroundWindow.prototype.background;
-
-/**
- * @param {Window} window
- */
-BackgroundWindow.prototype.registerDialog = function(window) {};
-
-/**
- * @param {Object=} opt_appState App state.
- * @param {number=} opt_id Window id.
- * @param {LaunchType=} opt_type Launch type. Default: ALWAYS_CREATE.
- * @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}
@@ -69,4 +16,4 @@ DirectoryChangeEvent.prototype.previousDirEntry;
DirectoryChangeEvent.prototype.newDirEntry;
/** @type {boolean} */
-DirectoryChangeEvent.prototype.volumeChanged;
+DirectoryChangeEvent.prototype.volumeChanged;

Powered by Google App Engine
This is Rietveld 408576698