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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // https://html.spec.whatwg.org/#HTMLInputElement-partial 96 // https://html.spec.whatwg.org/#HTMLInputElement-partial
97 [CEReactions, Reflect] attribute DOMString align; 97 [CEReactions, Reflect] attribute DOMString align;
98 [CEReactions, Reflect] attribute DOMString useMap; 98 [CEReactions, Reflect] attribute DOMString useMap;
99 99
100 // HTML autocapitalize proposal 100 // HTML autocapitalize proposal
101 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal .md 101 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal .md
102 [Measure] attribute DOMString autocapitalize; 102 [Measure] attribute DOMString autocapitalize;
103 103
104 // HTML Media Capture 104 // HTML Media Capture
105 // https://w3c.github.io/html-media-capture/#the-capture-attribute 105 // https://w3c.github.io/html-media-capture/#the-capture-attribute
106 // TODO(mcasas): |capture| is a |CaptureFacingMode| enum in the spec. 106 // Using DOMString as enum cannot be reflected. https://github.com/w3c/html- media-capture/issues/12
107 // https://crbug.com/698853 107 [Measure, RuntimeEnabled=MediaCapture, Reflect] attribute DOMString capture;
108 [Measure, RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture;
109 108
110 // Non-standard APIs 109 // Non-standard APIs
111 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory; 110 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory;
112 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; 111 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental;
113 }; 112 };
OLDNEW
« 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