OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 /** @fileoverview Externs generated from namespace: fileManagerPrivate */ | 5 /** @fileoverview Externs generated from namespace: fileManagerPrivate */ |
6 | 6 |
7 /** | 7 /** |
8 * @typedef {{ | 8 * @typedef {{ |
9 * scale1xUrl: string, | |
10 * scale2xUrl: string | |
11 * }} | |
12 */ | |
13 var ImageSet; | |
14 | |
15 /** | |
16 * @typedef {{ | |
17 * taskId: string, | 9 * taskId: string, |
18 * title: string, | 10 * title: string, |
19 * iconUrl: string, | 11 * iconUrl: string, |
20 * isDefault: boolean | 12 * isDefault: boolean |
21 * }} | 13 * }} |
22 */ | 14 */ |
23 var FileTask; | 15 var FileTask; |
24 | 16 |
25 /** | 17 /** |
26 * @typedef {{ | 18 * @typedef {{ |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 | 522 |
531 /** | 523 /** |
532 * Obtains a list of profiles that are logged-in. | 524 * Obtains a list of profiles that are logged-in. |
533 * @param {Function} callback |profiles| List of profile information. | 525 * @param {Function} callback |profiles| List of profile information. |
534 * |runningProfile| ID of the profile that runs the application instance. | 526 * |runningProfile| ID of the profile that runs the application instance. |
535 * |showingProfile| ID of the profile that shows the application window. | 527 * |showingProfile| ID of the profile that shows the application window. |
536 */ | 528 */ |
537 chrome.fileManagerPrivate.getProfiles = function(callback) {}; | 529 chrome.fileManagerPrivate.getProfiles = function(callback) {}; |
538 | 530 |
539 /** | 531 /** |
540 * Moves the window to other user's desktop. | |
541 * @param {string} profileId | |
542 * @param {Function=} callback Callback that does not take arguments. | |
543 */ | |
544 chrome.fileManagerPrivate.visitDesktop = function(profileId, callback) {}; | |
545 | |
546 /** | |
547 * Opens inspector window. |type| InspectionType which specifies how to open | 532 * Opens inspector window. |type| InspectionType which specifies how to open |
548 * inspector. | 533 * inspector. |
549 * @param {string} type | 534 * @param {string} type |
550 */ | 535 */ |
551 chrome.fileManagerPrivate.openInspector = function(type) {}; | 536 chrome.fileManagerPrivate.openInspector = function(type) {}; |
552 | 537 |
553 /** | 538 /** |
554 * Gets the MIME type of a file. | 539 * Gets the MIME type of a file. |
555 * @param {string} fileUrl File url. | 540 * @param {string} fileUrl File url. |
556 * @param {function(string)} callback Callback that MIME type of the file is | 541 * @param {function(string)} callback Callback that MIME type of the file is |
(...skipping 17 matching lines...) Expand all Loading... |
574 chrome.fileManagerPrivate.onPreferencesChanged; | 559 chrome.fileManagerPrivate.onPreferencesChanged; |
575 | 560 |
576 /** @type {!ChromeEvent} */ | 561 /** @type {!ChromeEvent} */ |
577 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; | 562 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; |
578 | 563 |
579 /** @type {!ChromeEvent} */ | 564 /** @type {!ChromeEvent} */ |
580 chrome.fileManagerPrivate.onDeviceChanged; | 565 chrome.fileManagerPrivate.onDeviceChanged; |
581 | 566 |
582 /** @type {!ChromeEvent} */ | 567 /** @type {!ChromeEvent} */ |
583 chrome.fileManagerPrivate.onDriveSyncError; | 568 chrome.fileManagerPrivate.onDriveSyncError; |
OLD | NEW |