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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class CSSRule; | 32 class CSSRule; |
33 class CSSStyleRule; | 33 class CSSStyleRule; |
34 class CSSStyleSheet; | 34 class CSSStyleSheet; |
35 class MutableStylePropertySet; | 35 class MutableStylePropertySet; |
36 class StylePropertySet; | 36 class StylePropertySet; |
37 | 37 |
38 class StyleRuleBase : public RefCountedWillBeGarbageCollectedFinalized<StyleRule
Base> { | 38 class StyleRuleBase : public RefCountedWillBeGarbageCollectedFinalized<StyleRule
Base> { |
39 DECLARE_GC_INFO; | |
40 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 39 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
41 public: | 40 public: |
42 enum Type { | 41 enum Type { |
43 Unknown, // Not used. | 42 Unknown, // Not used. |
44 Style, | 43 Style, |
45 Charset, // Not used. These are internally strings owned by the style sh
eet. | 44 Charset, // Not used. These are internally strings owned by the style sh
eet. |
46 Import, | 45 Import, |
47 Media, | 46 Media, |
48 FontFace, | 47 FontFace, |
49 Page, | 48 Page, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); | 287 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); |
289 DEFINE_STYLE_RULE_TYPE_CASTS(Page); | 288 DEFINE_STYLE_RULE_TYPE_CASTS(Page); |
290 DEFINE_STYLE_RULE_TYPE_CASTS(Media); | 289 DEFINE_STYLE_RULE_TYPE_CASTS(Media); |
291 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); | 290 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); |
292 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); | 291 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); |
293 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); | 292 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); |
294 | 293 |
295 } // namespace WebCore | 294 } // namespace WebCore |
296 | 295 |
297 #endif // StyleRule_h | 296 #endif // StyleRule_h |
OLD | NEW |