OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) | 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) |
4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple Inc. All rights reserved. | 4 * Copyright (C) 2002, 2006, 2008, 2012, 2013 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 class CSSRule; | 32 class CSSRule; |
33 class CSSStyleSheet; | 33 class CSSStyleSheet; |
34 class MutableStylePropertySet; | 34 class MutableStylePropertySet; |
35 class StylePropertySet; | 35 class StylePropertySet; |
36 | 36 |
37 class StyleRuleBase : public RefCountedWillBeGarbageCollectedFinalized<StyleRule
Base> { | 37 class StyleRuleBase : public RefCountedWillBeGarbageCollectedFinalized<StyleRule
Base> { |
38 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 38 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
39 public: | 39 public: |
40 enum Type { | 40 enum Type { |
| 41 Unknown, |
41 Style, | 42 Style, |
42 Import, | 43 Import, |
43 Media, | 44 Media, |
44 FontFace, | 45 FontFace, |
45 Page, | 46 Page, |
46 Keyframes, | 47 Keyframes, |
47 Keyframe, | 48 Keyframe, |
48 Namespace, | 49 Namespace, |
49 Supports, | 50 Supports, |
50 Viewport, | 51 Viewport, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 DEFINE_TYPE_CASTS(StyleRule, StyleRuleBase, rule, rule->isStyleRule(), rule.isSt
yleRule()); | 259 DEFINE_TYPE_CASTS(StyleRule, StyleRuleBase, rule, rule->isStyleRule(), rule.isSt
yleRule()); |
259 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); | 260 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); |
260 DEFINE_STYLE_RULE_TYPE_CASTS(Page); | 261 DEFINE_STYLE_RULE_TYPE_CASTS(Page); |
261 DEFINE_STYLE_RULE_TYPE_CASTS(Media); | 262 DEFINE_STYLE_RULE_TYPE_CASTS(Media); |
262 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); | 263 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); |
263 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); | 264 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); |
264 | 265 |
265 } // namespace blink | 266 } // namespace blink |
266 | 267 |
267 #endif // StyleRule_h | 268 #endif // StyleRule_h |
OLD | NEW |