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

Unified 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, 6 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 | « Source/core/platform/FileChooser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFileChooserParams.h
diff --git a/public/web/WebFileChooserParams.h b/public/web/WebFileChooserParams.h
index b92e39fb792cb9fff0955919b00a1929ceed29c1..c651a11bbdc1dc953a1e31b21e928e99fa3c3e0f 100644
--- a/public/web/WebFileChooserParams.h
+++ b/public/web/WebFileChooserParams.h
@@ -65,18 +65,18 @@ struct WebFileChooserParams {
// before opening a file chooser dialog.
WebVector<WebString> selectedFiles;
// See http://www.w3.org/TR/html-media-capture/ for the semantics of the
- // capture attribute. This string will either be empty (meaning the feature
- // is disabled) or one of the following values:
- // - filesystem (default)
- // - camera
- // - camcorder
- // - microphone
+ // capture attribute. If |useMediaCapture| is true, the media types
+ // indicated in |acceptTypes| should be obtained from the device's
+ // environment using a media capture mechanism. |capture| is deprecated and
+ // provided for compatibility reasons.
WebString capture;
+ bool useMediaCapture;
WebFileChooserParams()
: multiSelect(false)
, directory(false)
, saveAs(false)
+ , useMediaCapture(false)
{
}
};
« 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