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

Unified Diff: content/public/common/file_chooser_params.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: 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 c189785370bdcd3b2e6f426798a079e350256724..9fdfe4a78ff53dfb56667e0d6482ab1346d5c108 100644
--- a/content/public/common/file_chooser_params.h
+++ b/content/public/common/file_chooser_params.h
@@ -53,9 +53,9 @@ struct CONTENT_EXPORT FileChooserParams {
bool need_local_path;
#if defined(OS_ANDROID)
- // See http://www.w3.org/TR/html-media-capture for more information.
- // If true, the data should be obtained using the device's camera/mic/etc.
- bool capture;
+ // See https://w3c.github.io/html-media-capture/#dom-htmlinputelement-capture
+ // for more information.
+ base::string16 capture;
#endif
// If non-empty, represents the URL of the requestor if the request was

Powered by Google App Engine
This is Rietveld 408576698