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

Unified Diff: third_party/WebKit/public/web/WebFileChooserParams.h

Issue 2735633004: HTML Media Capture: update capture attribute to use string. (Closed)
Patch Set: Fix for android webview Created 3 years, 8 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
Index: third_party/WebKit/public/web/WebFileChooserParams.h
diff --git a/third_party/WebKit/public/web/WebFileChooserParams.h b/third_party/WebKit/public/web/WebFileChooserParams.h
index 06c2c915e287a1f7b1e127aea39b1b73ea3a1c3e..24d0dbc795891f3849ba30a5ad67e702f721b63e 100644
--- a/third_party/WebKit/public/web/WebFileChooserParams.h
+++ b/third_party/WebKit/public/web/WebFileChooserParams.h
@@ -63,13 +63,8 @@ struct WebFileChooserParams {
// - replacing with other files
// before opening a file chooser dialog.
WebVector<WebString> selected_files;
- // See http://www.w3.org/TR/html-media-capture/ for the semantics of the
- // 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.
+ // https://w3c.github.io/html-media-capture/#dom-htmlinputelement-capture.
WebString capture;
- bool use_media_capture;
// Whether WebFileChooserCompletion needs local paths or not. If the result
// of file chooser is handled by the implementation of
// WebFileChooserCompletion that can handle files without local paths,
@@ -83,7 +78,6 @@ struct WebFileChooserParams {
: multi_select(false),
directory(false),
save_as(false),
- use_media_capture(false),
need_local_path(true) {}
};

Powered by Google App Engine
This is Rietveld 408576698