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

Side by Side Diff: public/web/WebFileChooserParams.h

Issue 15015006: HTML Media Capture: Update implementation, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor fix Created 7 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 unified diff | Download patch
« no previous file with comments | « Source/core/platform/FileChooser.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2010, 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // it contains only lower-cased MIME type strings and file extensions. 58 // it contains only lower-cased MIME type strings and file extensions.
59 WebVector<WebString> acceptTypes; 59 WebVector<WebString> acceptTypes;
60 // |selectedFiles| has filenames which a file upload control already selecte d. 60 // |selectedFiles| has filenames which a file upload control already selecte d.
61 // A WebViewClient implementation may ask a user to select 61 // A WebViewClient implementation may ask a user to select
62 // - removing a file from the selected files, 62 // - removing a file from the selected files,
63 // - appending other files, or 63 // - appending other files, or
64 // - replacing with other files 64 // - replacing with other files
65 // before opening a file chooser dialog. 65 // before opening a file chooser dialog.
66 WebVector<WebString> selectedFiles; 66 WebVector<WebString> selectedFiles;
67 // See http://www.w3.org/TR/html-media-capture/ for the semantics of the 67 // See http://www.w3.org/TR/html-media-capture/ for the semantics of the
68 // capture attribute. This string will either be empty (meaning the feature 68 // capture attribute. If |useMediaCapture| is true, the media types
69 // is disabled) or one of the following values: 69 // indicated in |acceptTypes| should be obtained from the device's
70 // - filesystem (default) 70 // environment using a media capture mechanism. |capture| is deprecated and
71 // - camera 71 // provided for compatibility reasons.
72 // - camcorder
73 // - microphone
74 WebString capture; 72 WebString capture;
73 bool useMediaCapture;
75 74
76 WebFileChooserParams() 75 WebFileChooserParams()
77 : multiSelect(false) 76 : multiSelect(false)
78 , directory(false) 77 , directory(false)
79 , saveAs(false) 78 , saveAs(false)
79 , useMediaCapture(false)
80 { 80 {
81 } 81 }
82 }; 82 };
83 83
84 } // namespace WebKit 84 } // namespace WebKit
85 85
86 #endif 86 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/FileChooser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698