Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7835)

Unified Diff: chrome/common/extensions/api/file_system.idl

Issue 10696188: Adds the optional suggestedName to the chooseFile fileSystem API call. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7d9928eb7456edceb02499f1f9987ba1c4a8c938..f147956ed697095af985426daa972aa4606e0a22 100644
--- a/chrome/common/extensions/api/file_system.idl
+++ b/chrome/common/extensions/api/file_system.idl
@@ -18,6 +18,10 @@ namespace fileSystem {
//
// The default is 'openFile'.
DOMString? type;
+
+ // The suggested file name that will be presented to the user as the
+ // default name to read or write. This is optional.
+ DOMString? suggestedName;
};
callback GetDisplayPathCallback = void (DOMString displayPath);
callback FileEntryCallback = void ([instanceOf=fileEntry] object fileEntry);

Powered by Google App Engine
This is Rietveld 408576698