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

Unified Diff: Source/core/css/CSSRule.h

Issue 1154753006: Remove CSSRule.UNKNOWN_RULE and CSSUnknownRule interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 5 years, 6 months 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSRule.h
diff --git a/Source/core/css/CSSRule.h b/Source/core/css/CSSRule.h
index 2007261867d27966afc063add6217d068fd3756b..26e851d65935cbaaa14fbbb8d997056e21d669f6 100644
--- a/Source/core/css/CSSRule.h
+++ b/Source/core/css/CSSRule.h
@@ -41,19 +41,15 @@ public:
virtual ~CSSRule() { }
enum Type {
- UNKNOWN_RULE,
- STYLE_RULE,
- CHARSET_RULE,
- IMPORT_RULE,
- MEDIA_RULE,
- FONT_FACE_RULE,
- PAGE_RULE,
- // 7 was VARIABLES_RULE; we now match other browsers with 7 as
- // KEYFRAMES_RULE:
- // <https://bugs.webkit.org/show_bug.cgi?id=71293>.
- KEYFRAMES_RULE,
+ STYLE_RULE = 1,
+ CHARSET_RULE = 2,
+ IMPORT_RULE = 3,
+ MEDIA_RULE = 4,
+ FONT_FACE_RULE = 5,
+ PAGE_RULE = 6,
+ KEYFRAMES_RULE = 7,
WEBKIT_KEYFRAMES_RULE = KEYFRAMES_RULE,
- KEYFRAME_RULE,
+ KEYFRAME_RULE = 8,
WEBKIT_KEYFRAME_RULE = KEYFRAME_RULE,
SUPPORTS_RULE = 12,
VIEWPORT_RULE = 15,
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698