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

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

Issue 2606653002: Files app: Move common/js/externs.js to externs/*. (Closed)
Patch Set: 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/externs/background_window.js b/ui/file_manager/externs/background_window.js
new file mode 100644
index 0000000000000000000000000000000000000000..e6e8322b79471ca937faf093abdae9c0c88bf319
--- /dev/null
+++ b/ui/file_manager/externs/background_window.js
@@ -0,0 +1,28 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
oka 2016/12/26 08:13:05 nit: You may want to set similarity=20 or somethin
fukino 2016/12/26 08:28:15 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @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) {};
« 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