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

Unified Diff: third_party/WebKit/Source/core/css/CSSRule.idl

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge 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/CSSRule.idl
diff --git a/third_party/WebKit/Source/core/css/CSSRule.idl b/third_party/WebKit/Source/core/css/CSSRule.idl
index 23bc3a75ce63a9649be91108ec78ef7e93fb6171..b21d58b6a804d28c8a4eeda77e9da463eb6f2956 100644
--- a/third_party/WebKit/Source/core/css/CSSRule.idl
+++ b/third_party/WebKit/Source/core/css/CSSRule.idl
@@ -23,32 +23,32 @@
[
DependentLifetime,
] interface CSSRule {
- const unsigned short STYLE_RULE = 1;
- const unsigned short CHARSET_RULE = 2;
- const unsigned short IMPORT_RULE = 3;
- const unsigned short MEDIA_RULE = 4;
- const unsigned short FONT_FACE_RULE = 5;
- const unsigned short PAGE_RULE = 6;
+ [Measure] const unsigned short STYLE_RULE = 1;
+ [Measure] const unsigned short CHARSET_RULE = 2;
+ [Measure] const unsigned short IMPORT_RULE = 3;
+ [Measure] const unsigned short MEDIA_RULE = 4;
+ [Measure] const unsigned short FONT_FACE_RULE = 5;
+ [Measure] const unsigned short PAGE_RULE = 6;
// TODO(foolip): Implement CSSMarginRule.
// const unsigned short MARGIN_RULE = 9;
- const unsigned short NAMESPACE_RULE = 10;
- readonly attribute unsigned short type;
- attribute DOMString cssText;
- readonly attribute CSSRule? parentRule;
- readonly attribute CSSStyleSheet? parentStyleSheet;
+ [Measure] const unsigned short NAMESPACE_RULE = 10;
+ [Measure] readonly attribute unsigned short type;
+ [Measure] attribute DOMString cssText;
+ [Measure] readonly attribute CSSRule? parentRule;
+ [Measure] readonly attribute CSSStyleSheet? parentStyleSheet;
// CSS Animations
// https://dev.w3.org/csswg/css-animations/#interface-cssrule
- const unsigned short KEYFRAMES_RULE = 7;
- const unsigned short KEYFRAME_RULE = 8;
+ [Measure] const unsigned short KEYFRAMES_RULE = 7;
+ [Measure] const unsigned short KEYFRAME_RULE = 8;
// CSS Conditional Rules
// https://dev.w3.org/csswg/css-conditional/#extentions-to-cssrule-interface
- const unsigned short SUPPORTS_RULE = 12;
+ [Measure] const unsigned short SUPPORTS_RULE = 12;
// CSS Device Adaptation
// https://dev.w3.org/csswg/css-device-adapt/#css-rule-interface
- [RuntimeEnabled=CSSViewport] const unsigned short VIEWPORT_RULE = 15;
+ [RuntimeEnabled=CSSViewport, Measure] const unsigned short VIEWPORT_RULE = 15;
// Non-standard APIs
const unsigned short WEBKIT_KEYFRAMES_RULE = 7;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPageRule.idl ('k') | third_party/WebKit/Source/core/css/CSSRuleList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698