summaryrefslogtreecommitdiffstats
path: root/ppapi/c/dev/ppb_file_chooser_dev.h
diff options
context:
space:
mode:
authordumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 19:51:29 +0000
committerdumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 19:51:29 +0000
commit6ea5a9865aa2afee7ef9eeb34e49102046abe4a8 (patch)
treee29b590e2717e64427b59fefaf7656e349bf27f6 /ppapi/c/dev/ppb_file_chooser_dev.h
parent5457ddcce3a246db5b32ca8d76075b90505bb9c8 (diff)
downloadchromium_src-6ea5a9865aa2afee7ef9eeb34e49102046abe4a8.zip
chromium_src-6ea5a9865aa2afee7ef9eeb34e49102046abe4a8.tar.gz
chromium_src-6ea5a9865aa2afee7ef9eeb34e49102046abe4a8.tar.bz2
Update some comments.
BUG=none TEST=none Review URL: http://codereview.chromium.org/5096002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/dev/ppb_file_chooser_dev.h')
-rw-r--r--ppapi/c/dev/ppb_file_chooser_dev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ppapi/c/dev/ppb_file_chooser_dev.h b/ppapi/c/dev/ppb_file_chooser_dev.h
index c1cef4e..cc2bafe 100644
--- a/ppapi/c/dev/ppb_file_chooser_dev.h
+++ b/ppapi/c/dev/ppb_file_chooser_dev.h
@@ -35,6 +35,13 @@ struct PPB_FileChooser_Dev {
// associated with a particular instance, so that it may be positioned on the
// screen relative to the tab containing the instance. Returns 0 if passed
// an invalid instance.
+ //
+ // A PPB_FileChooser_Dev instance can be used to select a single file
+ // (PP_FILECHOOSERMODE_OPEN) or multiple files
+ // (PP_FILECHOOSERMODE_OPENMULTIPLE). Unlike the HTML5 <input type="file">
+ // tag, a PPB_FileChooser_Dev instance cannot be used to select a directory.
+ // In order to get the list of files in a directory, the
+ // PPB_DirectoryReader_Dev interface must be used.
PP_Resource (*Create)(PP_Instance instance,
const struct PP_FileChooserOptions_Dev* options);