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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.idl

Issue 2735633004: HTML Media Capture: update capture attribute to use string. (Closed)
Patch Set: Do not propagate String(capture) outside Blink Created 3 years, 7 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/Source/core/html/HTMLInputElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.idl b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
index da1ac353ab4652680b30671bcc93d3269a31a725..7a9c7bd865efe47d9b6a0dc0c11f8a123fe00177 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
@@ -103,9 +103,8 @@ interface HTMLInputElement : HTMLElement {
// HTML Media Capture
// https://w3c.github.io/html-media-capture/#the-capture-attribute
- // TODO(mcasas): |capture| is a |CaptureFacingMode| enum in the spec.
- // https://crbug.com/698853
- [Measure, RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture;
+ // Using DOMString as enum cannot be reflected. https://github.com/w3c/html-media-capture/issues/12
+ [Measure, RuntimeEnabled=MediaCapture, Reflect] attribute DOMString capture;
// Non-standard APIs
[Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdirectory;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.cpp ('k') | third_party/WebKit/Source/platform/FileChooser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698