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

Unified Diff: third_party/WebKit/Source/core/html/HTMLButtonElement.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/HTMLButtonElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLButtonElement.idl b/third_party/WebKit/Source/core/html/HTMLButtonElement.idl
index b357e682e28654c59ff25636a3f3aedd7359b02f..2d4d248191e93f1e9c469f632d3904a0a656b2a4 100644
--- a/third_party/WebKit/Source/core/html/HTMLButtonElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLButtonElement.idl
@@ -21,7 +21,7 @@
// https://html.spec.whatwg.org/#the-button-element
interface HTMLButtonElement : HTMLElement {
- [CEReactions, Reflect] attribute boolean autofocus;
+ [Measure, CEReactions, Reflect] attribute boolean autofocus;
[CEReactions, Reflect] attribute boolean disabled;
[ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
[CEReactions] attribute DOMString formAction;
@@ -34,12 +34,12 @@ interface HTMLButtonElement : HTMLElement {
[CEReactions, Reflect] attribute DOMString value;
// FIXME: attribute HTMLMenuElement? menu;
- 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/HTMLBodyElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698