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

Side by Side Diff: ui/file_manager/externs/background_window.js

Issue 2642743006: Compile file_manager/common and volume_manager_wrapper in v2 syntax. (Closed)
Patch Set: Format. Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/file_manager/externs/compiled_resources2.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {Window} 7 * @extends {Window}
8 */ 8 */
9 var BackgroundWindow = function() {}; 9 var BackgroundWindow = function() {};
10 10
11 /** 11 /**
12 * @type {FileBrowserBackground} 12 * @type {FileBrowserBackground}
13 */ 13 */
14 BackgroundWindow.prototype.background; 14 BackgroundWindow.prototype.background;
15 15
16 /** 16 /**
17 * @param {Window} window 17 * @param {Window} window
18 */ 18 */
19 BackgroundWindow.prototype.registerDialog = function(window) {}; 19 BackgroundWindow.prototype.registerDialog = function(window) {};
20 20
21 /** 21 /**
22 * @param {Object=} opt_appState App state. 22 * @param {Object=} opt_appState App state.
23 * @param {number=} opt_id Window id. 23 * @param {number=} opt_id Window id.
24 * @param {LaunchType=} opt_type Launch type. Default: ALWAYS_CREATE. 24 * TODO(oka): We intentionally omit optional launchType and callback parameters
25 * @param {function(string)=} opt_callback Completion callback with the App ID. 25 * here because to do so we need to define |LaunchType| in this file, but then
26 * gyp v1 fails due to double definition of |LaunchType|. Since no foreground
27 * scripts set launchType parameter, we can omit them though it's hacky. Let's
28 * add them back after v1 is gone.
26 */ 29 */
27 BackgroundWindow.prototype.launchFileManager = 30 BackgroundWindow.prototype.launchFileManager =
28 function(opt_appState, opt_id, opt_type, opt_callback) {}; 31 function(opt_appState, opt_id) {};
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/externs/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698