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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.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/HTMLLinkElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.idl b/third_party/WebKit/Source/core/html/HTMLLinkElement.idl
index 8a98ffe11e87ec3aecb9676949add1957e1608de..5751bf90732b2ada7a32ecb64c3ec1f4e4212298 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.idl
@@ -24,16 +24,16 @@
interface HTMLLinkElement : HTMLElement {
// FIXME: The disabled attribute has been removed from the spec:
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=14703
- [Reflect, Measure] attribute boolean disabled;
+ [Measure, Reflect, Measure] attribute boolean disabled;
[Reflect, URL] attribute DOMString href;
- [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
+ [Measure, CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
[CEReactions, Reflect] attribute DOMString rel;
[CEReactions, PutForwards=value] readonly attribute DOMTokenList relList;
[CEReactions, Reflect] attribute DOMString media;
[CEReactions, Reflect] attribute DOMString hreflang;
[CEReactions, Reflect] attribute DOMString type;
- [Reflect] attribute DOMString as;
- [CEReactions, PutForwards=value] readonly attribute DOMTokenList sizes;
+ [Measure, Reflect] attribute DOMString as;
+ [Measure, CEReactions, PutForwards=value] readonly attribute DOMTokenList sizes;
// obsolete members
// https://html.spec.whatwg.org/#HTMLLinkElement-partial
@@ -43,15 +43,15 @@ interface HTMLLinkElement : HTMLElement {
// HTMLLinkElement implements LinkStyle
// https://dev.w3.org/csswg/cssom/#the-linkstyle-interface
- readonly attribute StyleSheet? sheet;
+ [Measure] readonly attribute StyleSheet? sheet;
// HTML Imports
// https://w3c.github.io/webcomponents/spec/imports/#interface-import
- readonly attribute Document? import;
+ [MeasureAs=HTMLImportsAPI] readonly attribute Document? import;
// Subresource Integrity
// https://w3c.github.io/webappsec-subresource-integrity/#HTMLLinkElement
- [Reflect] attribute DOMString integrity;
+ [Measure, Reflect] attribute DOMString integrity;
// Service workers
// https://w3c.github.io/ServiceWorker/#link-element-interface-extensions
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLegendElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLMapElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698