Index: chrome/common/extensions/api/file_system.idl |
diff --git a/chrome/common/extensions/api/file_system.idl b/chrome/common/extensions/api/file_system.idl |
index 51a93a6c39f3cea39c6afa53db43e625276a93b2..7f0fd28eb3b28dec03a0a6661171ca999578eb83 100644 |
--- a/chrome/common/extensions/api/file_system.idl |
+++ b/chrome/common/extensions/api/file_system.idl |
@@ -22,6 +22,23 @@ namespace fileSystem { |
// The suggested file name that will be presented to the user as the |
// default name to read or write. This is optional. |
DOMString? suggestedName; |
+ |
+ // The optional list of accepted mime-types for this file opener, grouped |
+ // by type. |
+ // |
+ // For example, ['image/*', 'application/json,.jso'] would display two type |
+ // options - one accepting images - and the other accepting json files and |
benwells
2012/07/24 06:01:27
Collapse the above two paragraphs into one.
thorogood
2012/07/25 05:02:59
Done.
|
+ // those with the extension 'jso'. |
+ // |
+ // This field is optional. However, it is an error to not specify this |
+ // field (or pass an empty array) but pass acceptsAllTypes as false. |
+ DOMString[]? accepts; |
+ |
+ // Whether to accept all file types, in addition to the options specified |
+ // in the accepts argument. |
+ // |
+ // The default is true. |
benwells
2012/07/24 06:01:27
Ditto
thorogood
2012/07/25 05:02:59
Done.
|
+ boolean? acceptsAllTypes; |
}; |
callback GetDisplayPathCallback = void (DOMString displayPath); |
callback FileEntryCallback = void ([instanceOf=FileEntry] object fileEntry); |