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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
754 // |callback| | 754 // |callback| |
755 static void installWebstoreItem(DOMString item_id, | 755 static void installWebstoreItem(DOMString item_id, |
756 SimpleCallback callback); | 756 SimpleCallback callback); |
757 | 757 |
758 // Obtains a list of profiles that are logged-in. | 758 // Obtains a list of profiles that are logged-in. |
759 static void getProfiles(GetProfilesCallback callback); | 759 static void getProfiles(GetProfilesCallback callback); |
760 | 760 |
761 // Moves the window to other user's desktop. | 761 // Moves the window to other user's desktop. |
762 static void visitDesktop(DOMString profileId, | 762 static void visitDesktop(DOMString profileId, |
763 optional SimpleCallback callback); | 763 optional SimpleCallback callback); |
764 | |
765 // Open inspector window. | |
766 static void openInspector(DOMString option); | |
hirono
2014/05/23 04:50:08
Why don't you use enum instead of string?
fukino
2014/05/23 06:16:28
Done.
| |
764 }; | 767 }; |
765 | 768 |
766 interface Events { | 769 interface Events { |
767 static void onMountCompleted(MountCompletedEvent event); | 770 static void onMountCompleted(MountCompletedEvent event); |
768 | 771 |
769 static void onFileTransfersUpdated(FileTransferStatus[] event); | 772 static void onFileTransfersUpdated(FileTransferStatus[] event); |
770 | 773 |
771 static void onCopyProgress(long copyId, CopyProgressStatus status); | 774 static void onCopyProgress(long copyId, CopyProgressStatus status); |
772 | 775 |
773 static void onDirectoryChanged(FileWatchEvent event); | 776 static void onDirectoryChanged(FileWatchEvent event); |
774 | 777 |
775 static void onPreferencesChanged(); | 778 static void onPreferencesChanged(); |
776 | 779 |
777 static void onDriveConnectionStatusChanged(); | 780 static void onDriveConnectionStatusChanged(); |
778 | 781 |
779 static void onDeviceChanged(DeviceEvent event); | 782 static void onDeviceChanged(DeviceEvent event); |
780 | 783 |
781 static void onDriveSyncError(DriveSyncErrorEvent event); | 784 static void onDriveSyncError(DriveSyncErrorEvent event); |
782 | 785 |
783 // Dispatched when a profile is added. | 786 // Dispatched when a profile is added. |
784 static void onProfileAdded(); | 787 static void onProfileAdded(); |
785 | 788 |
786 // Dispatched when any window moves another desktop. | 789 // Dispatched when any window moves another desktop. |
787 // TODO(hirono): Add information which window is moved. | 790 // TODO(hirono): Add information which window is moved. |
788 static void onDesktopChanged(); | 791 static void onDesktopChanged(); |
789 }; | 792 }; |
790 }; | 793 }; |
OLD | NEW |