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

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

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. Created 4 years 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/HTMLSelectElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.idl b/third_party/WebKit/Source/core/html/HTMLSelectElement.idl
index e8172317cf074f9aacf094a4f4156e1284fccf6c..9474645b9642786d778f78fa6b372b48300b3f31 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.idl
@@ -23,12 +23,12 @@
interface HTMLSelectElement : HTMLElement {
// TODO(foolip): attribute DOMString autocomplete;
- [CEReactions, Reflect] attribute boolean autofocus;
+ [Measure, CEReactions, Reflect] attribute boolean autofocus;
[CEReactions, Reflect] attribute boolean disabled;
[ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
[CEReactions, Reflect] attribute boolean multiple;
[CEReactions, Reflect] attribute DOMString name;
- [CEReactions, Reflect] attribute boolean required;
+ [Measure, CEReactions, Reflect] attribute boolean required;
[CEReactions] attribute unsigned long size;
readonly attribute DOMString type;
@@ -42,18 +42,18 @@ interface HTMLSelectElement : HTMLElement {
optional (HTMLElement or long)? before = null);
[CEReactions, RaisesException] void remove(); // ChildNode overload
[CEReactions] void remove(long index);
- [CEReactions, RaisesException] setter void (unsigned long index, HTMLOptionElement? option);
+ [Measure, CEReactions, RaisesException] setter void (unsigned long index, HTMLOptionElement? option);
- readonly attribute HTMLCollection selectedOptions;
+ [Measure] readonly attribute HTMLCollection selectedOptions;
attribute long selectedIndex;
attribute DOMString value;
- readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
- readonly attribute DOMString validationMessage;
- boolean checkValidity();
- boolean reportValidity();
- void setCustomValidity(DOMString error);
+ [MeasureAs=ValidationAPI] readonly attribute boolean willValidate;
+ [MeasureAs=ValidationAPI] readonly attribute ValidityState validity;
+ [MeasureAs=ValidationAPI] readonly attribute DOMString validationMessage;
+ [MeasureAs=ValidationAPI] boolean checkValidity();
+ [MeasureAs=ValidationAPI] boolean reportValidity();
+ [MeasureAs=ValidationAPI] void setCustomValidity(DOMString error);
readonly attribute NodeList labels;
};
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLScriptElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLShadowElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698