| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // fileBrowserPrivate API. | 5 // fileBrowserPrivate API. |
| 6 // This is a private API used by the file browser of ChromeOS. | 6 // This is a private API used by the file browser of ChromeOS. |
| 7 [platforms=("chromeos"), | 7 [platforms=("chromeos"), |
| 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_pr
ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_pr
ivate_api_functions.h"] |
| 9 namespace fileBrowserPrivate { | 9 namespace fileBrowserPrivate { |
| 10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 optional SimpleCallback callback); | 801 optional SimpleCallback callback); |
| 802 | 802 |
| 803 // Opens inspector window. | 803 // Opens inspector window. |
| 804 // |type| InspectionType which specifies how to open inspector. | 804 // |type| InspectionType which specifies how to open inspector. |
| 805 static void openInspector(InspectionType type); | 805 static void openInspector(InspectionType type); |
| 806 }; | 806 }; |
| 807 | 807 |
| 808 interface Events { | 808 interface Events { |
| 809 static void onMountCompleted(MountCompletedEvent event); | 809 static void onMountCompleted(MountCompletedEvent event); |
| 810 | 810 |
| 811 static void onFileTransfersUpdated(FileTransferStatus[] event); | 811 static void onFileTransfersUpdated(FileTransferStatus event); |
| 812 | 812 |
| 813 static void onCopyProgress(long copyId, CopyProgressStatus status); | 813 static void onCopyProgress(long copyId, CopyProgressStatus status); |
| 814 | 814 |
| 815 static void onDirectoryChanged(FileWatchEvent event); | 815 static void onDirectoryChanged(FileWatchEvent event); |
| 816 | 816 |
| 817 static void onPreferencesChanged(); | 817 static void onPreferencesChanged(); |
| 818 | 818 |
| 819 static void onDriveConnectionStatusChanged(); | 819 static void onDriveConnectionStatusChanged(); |
| 820 | 820 |
| 821 static void onDeviceChanged(DeviceEvent event); | 821 static void onDeviceChanged(DeviceEvent event); |
| 822 | 822 |
| 823 static void onDriveSyncError(DriveSyncErrorEvent event); | 823 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 824 }; | 824 }; |
| 825 }; | 825 }; |
| OLD | NEW |