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

Unified Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.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/HTMLObjectElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.idl b/third_party/WebKit/Source/core/html/HTMLObjectElement.idl
index d4b3b6ae9fe5563e6466a3ceb2aadaf6b87524ab..8faa6795d177c3429f46bfbc30d2762ac905e720 100644
--- a/third_party/WebKit/Source/core/html/HTMLObjectElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.idl
@@ -27,39 +27,39 @@
Custom=LegacyCallAsFunction,
OverrideBuiltins,
] interface HTMLObjectElement : HTMLElement {
- [CEReactions, Reflect, URL] attribute DOMString data;
- [CEReactions, Reflect] attribute DOMString type;
+ [MeasureAs=ObjectAPI, CEReactions, Reflect, URL] attribute DOMString data;
+ [MeasureAs=ObjectAPI, CEReactions, Reflect] attribute DOMString type;
// TODO(foolip): attribute boolean typeMustMatch;
- [CEReactions, Reflect] attribute DOMString name;
- [CEReactions, Reflect] attribute DOMString useMap;
- [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
- [CEReactions, Reflect] attribute DOMString width;
- [CEReactions, Reflect] attribute DOMString height;
- [CheckSecurity=ReturnValue] readonly attribute Document? contentDocument;
+ [MeasureAs=ObjectAPI, CEReactions, Reflect] attribute DOMString name;
+ [MeasureAs=ObjectAPI, CEReactions, Reflect] attribute DOMString useMap;
+ [MeasureAs=ObjectAPI, ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
+ [MeasureAs=ObjectAPI, CEReactions, Reflect] attribute DOMString width;
+ [MeasureAs=ObjectAPI, CEReactions, Reflect] attribute DOMString height;
+ [MeasureAs=ObjectAPI, CheckSecurity=ReturnValue] readonly attribute Document? contentDocument;
// TODO(shanmuga.m): The spec uses the WindowProxy type for this attribute.
- readonly attribute Window? contentWindow;
- [CheckSecurity=ReturnValue, RaisesException] Document? getSVGDocument();
+ [MeasureAs=ObjectAPI] readonly attribute Window? contentWindow;
+ [MeasureAs=ObjectAPI, CheckSecurity=ReturnValue, RaisesException] Document? getSVGDocument();
- 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);
// obsolete members
// https://html.spec.whatwg.org/#HTMLObjectElement-partial
- [CEReactions, Reflect] attribute DOMString align;
- [CEReactions, Reflect] attribute DOMString archive;
- [CEReactions, Reflect] attribute DOMString code;
- [CEReactions, Reflect] attribute boolean declare;
- [CEReactions, Reflect] attribute unsigned long hspace;
- [CEReactions, Reflect] attribute DOMString standby;
- [CEReactions, Reflect] attribute unsigned long vspace;
- [CEReactions, Reflect, URL] attribute DOMString codeBase;
- [CEReactions, Reflect] attribute DOMString codeType;
+ [Measure, CEReactions, Reflect] attribute DOMString align;
+ [Measure, CEReactions, Reflect] attribute DOMString archive;
+ [Measure, CEReactions, Reflect] attribute DOMString code;
+ [Measure, CEReactions, Reflect] attribute boolean declare;
+ [Measure, CEReactions, Reflect] attribute unsigned long hspace;
+ [Measure, CEReactions, Reflect] attribute DOMString standby;
+ [Measure, CEReactions, Reflect] attribute unsigned long vspace;
+ [Measure, CEReactions, Reflect, URL] attribute DOMString codeBase;
+ [Measure, CEReactions, Reflect] attribute DOMString codeType;
- [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString border;
+ [Measure, CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString border;
// TODO(foolip): These getters and setters are not in the spec.
[Custom, NotEnumerable] getter Node (DOMString name);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOListElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLOptGroupElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698