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 * taskId: string, | 9 * taskId: string, |
10 * title: string, | 10 * title: string, |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 | 634 |
635 /** | 635 /** |
636 * Requests configuring an existing file system. If not possible, then returns | 636 * Requests configuring an existing file system. If not possible, then returns |
637 * an error via chrome.runtime.lastError. | 637 * an error via chrome.runtime.lastError. |
638 * @param {string} volumeId | 638 * @param {string} volumeId |
639 * @param {function()} callback | 639 * @param {function()} callback |
640 */ | 640 */ |
641 chrome.fileManagerPrivate.configureVolume = function(volumeId, callback) {}; | 641 chrome.fileManagerPrivate.configureVolume = function(volumeId, callback) {}; |
642 | 642 |
643 /** | 643 /** |
644 * Requests fetching list of actions for the specified entry. If not possible, | 644 * Requests fetching list of actions for the specified set of entries. If not |
645 * then returns an error via chrome.runtime.lastError. | 645 * possible, then returns an error via chrome.runtime.lastError. |
646 * @param {!Entry} entry | 646 * @param {!Array<!Entry>} entries |
647 * @param {function((!Array<!EntryAction>|undefined))} callback | 647 * @param {function((!Array<!EntryAction>|undefined))} callback |
648 */ | 648 */ |
649 chrome.fileManagerPrivate.getEntryActions = function(entry, callback) {}; | 649 chrome.fileManagerPrivate.getCustomActions = function(entries, callback) {}; |
650 | 650 |
651 /** | 651 /** |
652 * Executes the action on the specified entry. If not possible, then returns an | 652 * Executes the action on the specified set of entries. If not possible, then |
653 * error via chrome.runtime.lastError. | 653 * returns an error via chrome.runtime.lastError. |
654 * @param {!Entry} entry | 654 * @param {!Array<!Entry>} entries |
655 * @param {string} actionId | 655 * @param {string} actionId |
656 * @param {function()} callback | 656 * @param {function()} callback |
657 */ | 657 */ |
658 chrome.fileManagerPrivate.executeAction = function( | 658 chrome.fileManagerPrivate.executeAction = function( |
659 entry, actionId, callback) {}; | 659 entries, actionId, callback) {}; |
660 | 660 |
661 /** @type {!ChromeEvent} */ | 661 /** @type {!ChromeEvent} */ |
662 chrome.fileManagerPrivate.onMountCompleted; | 662 chrome.fileManagerPrivate.onMountCompleted; |
663 | 663 |
664 /** @type {!ChromeEvent} */ | 664 /** @type {!ChromeEvent} */ |
665 chrome.fileManagerPrivate.onFileTransfersUpdated; | 665 chrome.fileManagerPrivate.onFileTransfersUpdated; |
666 | 666 |
667 /** @type {!ChromeEvent} */ | 667 /** @type {!ChromeEvent} */ |
668 chrome.fileManagerPrivate.onCopyProgress; | 668 chrome.fileManagerPrivate.onCopyProgress; |
669 | 669 |
670 /** @type {!ChromeEvent} */ | 670 /** @type {!ChromeEvent} */ |
671 chrome.fileManagerPrivate.onDirectoryChanged; | 671 chrome.fileManagerPrivate.onDirectoryChanged; |
672 | 672 |
673 /** @type {!ChromeEvent} */ | 673 /** @type {!ChromeEvent} */ |
674 chrome.fileManagerPrivate.onPreferencesChanged; | 674 chrome.fileManagerPrivate.onPreferencesChanged; |
675 | 675 |
676 /** @type {!ChromeEvent} */ | 676 /** @type {!ChromeEvent} */ |
677 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; | 677 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; |
678 | 678 |
679 /** @type {!ChromeEvent} */ | 679 /** @type {!ChromeEvent} */ |
680 chrome.fileManagerPrivate.onDeviceChanged; | 680 chrome.fileManagerPrivate.onDeviceChanged; |
681 | 681 |
682 /** @type {!ChromeEvent} */ | 682 /** @type {!ChromeEvent} */ |
683 chrome.fileManagerPrivate.onDriveSyncError; | 683 chrome.fileManagerPrivate.onDriveSyncError; |
OLD | NEW |