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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheet.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/css/StyleSheet.idl
diff --git a/third_party/WebKit/Source/core/css/StyleSheet.idl b/third_party/WebKit/Source/core/css/StyleSheet.idl
index a9598e97b370bc8a79517575790e8878c0faabaf..6b14edaca194e9986fd04b4ba1eb63638d272672 100644
--- a/third_party/WebKit/Source/core/css/StyleSheet.idl
+++ b/third_party/WebKit/Source/core/css/StyleSheet.idl
@@ -23,13 +23,13 @@
[
SetWrapperReferenceFrom=ownerNode,
] interface StyleSheet {
- readonly attribute DOMString type;
- readonly attribute DOMString? href;
+ [Measure] readonly attribute DOMString type;
+ [Measure] readonly attribute DOMString? href;
// TODO(foolip): ownerNode should be (Element or ProcessingInstruction).
- readonly attribute Node? ownerNode;
- readonly attribute StyleSheet? parentStyleSheet;
- readonly attribute DOMString? title;
+ [Measure] readonly attribute Node? ownerNode;
+ [Measure] readonly attribute StyleSheet? parentStyleSheet;
+ [Measure] readonly attribute DOMString? title;
// TODO(foolip): media should have [PutForwards=mediaText].
- [SameObject] readonly attribute MediaList media;
- attribute boolean disabled;
+ [SameObject, Measure] readonly attribute MediaList media;
+ [Measure] attribute boolean disabled;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/PropertyRegistration.idl ('k') | third_party/WebKit/Source/core/css/StyleSheetList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698