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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
778 | 778 |
779 // Requests to share drive files. | 779 // Requests to share drive files. |
780 // |url| URL of a file to be shared. | 780 // |url| URL of a file to be shared. |
781 // |shareType| Type of access that is getting granted. | 781 // |shareType| Type of access that is getting granted. |
782 static void requestDriveShare(DOMString url, | 782 static void requestDriveShare(DOMString url, |
783 DriveShareType shareType, | 783 DriveShareType shareType, |
784 SimpleCallback callback); | 784 SimpleCallback callback); |
785 | 785 |
786 // Requests to install a webstore item. | 786 // Requests to install a webstore item. |
787 // |item_id| The id of the item to install. | 787 // |item_id| The id of the item to install. |
788 // |callback| | 788 // |callback| |
hirono
2014/08/01 09:58:08
Please add comment for silentInstallation.
yoshiki
2014/08/01 11:46:41
Done.
| |
789 static void installWebstoreItem(DOMString item_id, | 789 static void installWebstoreItem(DOMString itemId, |
790 boolean silentInstallation, | |
790 SimpleCallback callback); | 791 SimpleCallback callback); |
791 | 792 |
792 // Obtains a list of profiles that are logged-in. | 793 // Obtains a list of profiles that are logged-in. |
793 static void getProfiles(GetProfilesCallback callback); | 794 static void getProfiles(GetProfilesCallback callback); |
794 | 795 |
795 // Moves the window to other user's desktop. | 796 // Moves the window to other user's desktop. |
796 static void visitDesktop(DOMString profileId, | 797 static void visitDesktop(DOMString profileId, |
797 optional SimpleCallback callback); | 798 optional SimpleCallback callback); |
798 | 799 |
799 // Opens inspector window. | 800 // Opens inspector window. |
(...skipping 19 matching lines...) Expand all Loading... | |
819 static void onDriveSyncError(DriveSyncErrorEvent event); | 820 static void onDriveSyncError(DriveSyncErrorEvent event); |
820 | 821 |
821 // Dispatched when a profile is added. | 822 // Dispatched when a profile is added. |
822 static void onProfileAdded(); | 823 static void onProfileAdded(); |
823 | 824 |
824 // Dispatched when any window moves another desktop. | 825 // Dispatched when any window moves another desktop. |
825 // TODO(hirono): Add information which window is moved. | 826 // TODO(hirono): Add information which window is moved. |
826 static void onDesktopChanged(); | 827 static void onDesktopChanged(); |
827 }; | 828 }; |
828 }; | 829 }; |
OLD | NEW |