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

Unified Diff: content/public/common/file_chooser_params.h

Issue 10414085: Modified the pepper file chooser API to support filtering files by extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/file_chooser_params.h
diff --git a/content/public/common/file_chooser_params.h b/content/public/common/file_chooser_params.h
index 7807cbd2334f8be67607c3f15e70fd31b8cc9bed..ef64a95e5c5cbd343b796c2b7acadefcc32a6023 100644
--- a/content/public/common/file_chooser_params.h
+++ b/content/public/common/file_chooser_params.h
@@ -43,8 +43,8 @@ struct CONTENT_EXPORT FileChooserParams {
// Default file name to select in the dialog.
FilePath default_file_name;
- // A list of valid lower-cased MIME types specified in an input element. It is
- // used to restrict selectable files to such types.
+ // A list of valid lower-cased MIME types or file extensions specified in an
+ // input element. It is used to restrict selectable files to such types.
std::vector<string16> accept_types;
};
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698