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

Unified 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 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/file_operation_progress_event.js
diff --git a/ui/file_manager/file_manager/common/js/externs.js b/ui/file_manager/externs/file_operation_progress_event.js
similarity index 20%
rename from ui/file_manager/file_manager/common/js/externs.js
rename to ui/file_manager/externs/file_operation_progress_event.js
index 681dbc86644347083c0fcd876e27d60b094336b5..6561d1f23f20bddf291e3a6a2c91d95c2d8baeb0 100644
--- a/ui/file_manager/file_manager/common/js/externs.js
+++ b/ui/file_manager/externs/file_operation_progress_event.js
@@ -1,35 +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}
@@ -40,33 +12,4 @@ var FileOperationProgressEvent = function() {};
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;
+FileOperationProgressEvent.prototype.error;

Powered by Google App Engine
This is Rietveld 408576698