diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-25 15:09:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-25 15:09:11 +0200 |
| commit | a89b2ebb8e192c5e8cea21079bda2ee2c0c7dddd (patch) | |
| tree | b7abd9f49ae1d4d2e426a5883bfccd42b8e2ee12 /Source/WebKit/chromium/public/WebFileChooserParams.h | |
| parent | 8d473cf9743f1d30a16a27114e93bd5af5648d23 (diff) | |
| download | qtwebkit-a89b2ebb8e192c5e8cea21079bda2ee2c0c7dddd.tar.gz | |
Imported WebKit commit eb5c1b8fe4d4b1b90b5137433fc58a91da0e6878 (http://svn.webkit.org/repository/webkit/trunk@118516)
Diffstat (limited to 'Source/WebKit/chromium/public/WebFileChooserParams.h')
| -rw-r--r-- | Source/WebKit/chromium/public/WebFileChooserParams.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/WebKit/chromium/public/WebFileChooserParams.h b/Source/WebKit/chromium/public/WebFileChooserParams.h index 31e37b55e..90dee7036 100644 --- a/Source/WebKit/chromium/public/WebFileChooserParams.h +++ b/Source/WebKit/chromium/public/WebFileChooserParams.h @@ -50,11 +50,14 @@ struct WebFileChooserParams { // |initialValue| is a filename which the dialog should select by default. // It can be an empty string. WebString initialValue; - // This contains MIME type strings such as "audio/*" "text/plain". - // The dialog may restrict selectable files to the specified MIME types. + // This contains MIME type strings such as "audio/*" "text/plain" or file + // extensions beginning with a period (.) such as ".mp3" ".txt". + // The dialog may restrict selectable files to files with the specified MIME + // types or file extensions. // This list comes from an 'accept' attribute value of an INPUT element, and - // it contains only lower-cased MIME type strings of which format is valid. - WebVector<WebString> acceptMIMETypes; + // it contains only lower-cased MIME type strings and file extensions. + WebVector<WebString> acceptTypes; + WebVector<WebString> acceptMIMETypes; // FIXME: Remove this once https://chromiumcodereview.appspot.com/10414085 lands. // |selectedFiles| has filenames which a file upload control already selected. // A WebViewClient implementation may ask a user to select // - removing a file from the selected files, |
