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

Unified Diff: ui/file_manager/file_manager/common/js/externs.js

Issue 691273004: Add missing type comments for file_manager_commands.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/common/js/externs.js
diff --git a/ui/file_manager/file_manager/common/js/externs.js b/ui/file_manager/file_manager/common/js/externs.js
index d5f375ee4e382ba80edcbf0a4c9dd6753f8aa25b..a96c5116c6516596b79a67249dccc29b70c439fc 100644
--- a/ui/file_manager/file_manager/common/js/externs.js
+++ b/ui/file_manager/file_manager/common/js/externs.js
@@ -18,6 +18,15 @@ BackgroundWindow.prototype.background;
*/
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

Powered by Google App Engine
This is Rietveld 408576698