Chromium Code Reviews| Index: chrome/common/extensions/api/file_system_provider.idl |
| diff --git a/chrome/common/extensions/api/file_system_provider.idl b/chrome/common/extensions/api/file_system_provider.idl |
| index 0b589617243fe5d7862ad3ceaa4d8b06f691329d..353c891485b6990814d83fd3a3864f5f4ab9e170 100644 |
| --- a/chrome/common/extensions/api/file_system_provider.idl |
| +++ b/chrome/common/extensions/api/file_system_provider.idl |
| @@ -44,7 +44,7 @@ namespace fileSystemProvider { |
| // Source of the file system data. |
| enum FileSystemSource { |
| // The file system is handling a file, eg. an archive file obtained via the |
| - // <code>OnLaunched</code> event and the <code>file_handlers</code> manifest |
| + // <code>onLaunched</code> event and the <code>file_handlers</code> manifest |
| // entry. |
| FILE, |
| @@ -647,6 +647,22 @@ namespace fileSystemProvider { |
| ProviderSuccessCallback successCallback, |
| ProviderErrorCallback errorCallback); |
| + // Raised when showing a configuration dialog for <code>fileSystemId</code> |
| + // is requested. If it's not supported, then this event must not be handled. |
| + [maxListeners=1] static void onConfigureDialogRequested( |
| + ConfigureRequestedOptions options, |
|
benwells
2015/04/15 01:13:42
Where is ConfigureRequestedOptions defined?
mtomasz
2015/04/15 03:34:27
Sorry, I uploaded an incorrect patch. Done.
|
| + ProviderSuccessCallback successCallback, |
| + ProviderErrorCallback errorCallback); |
| + |
| + // Raised when showing a dialog for mounting a new file system is requested. |
| + // If the extension/app is a file handler, then this event shouldn't be |
| + // handled. Instead <code>onLaunched</code> should be handled in order to |
| + // mount new file systems without showing an unnecessary UI. |
| + [maxListeners=1] static void onAddDialogRequested( |
| + ConfigureRequestedOptions options, |
| + ProviderSuccessCallback successCallback, |
| + ProviderErrorCallback errorCallback); |
| + |
| // Raised when setting a new directory watcher is requested. If an error |
| // occurs, then <code>errorCallback</code> must be called. |
| [maxListeners=1, nodoc] static void onAddWatcherRequested( |