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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 destroy(); | 75 destroy(); |
76 } | 76 } |
77 #endif // !ENABLE(OILPAN) | 77 #endif // !ENABLE(OILPAN) |
78 | 78 |
79 // FIXME: There shouldn't be any need for the null parent version. | 79 // FIXME: There shouldn't be any need for the null parent version. |
80 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSStyleSheet* parentShee
t = 0) const; | 80 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSStyleSheet* parentShee
t = 0) const; |
81 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSRule* parentRule) cons
t; | 81 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSRule* parentRule) cons
t; |
82 | 82 |
83 void trace(Visitor*); | 83 void trace(Visitor*); |
84 void traceAfterDispatch(Visitor*) { }; | 84 void traceAfterDispatch(Visitor*) { }; |
85 void finalize(); | 85 void finalizeGarbageCollectedObject(); |
86 | 86 |
87 protected: | 87 protected: |
88 StyleRuleBase(Type type) : m_type(type) { } | 88 StyleRuleBase(Type type) : m_type(type) { } |
89 StyleRuleBase(const StyleRuleBase& o) : m_type(o.m_type) { } | 89 StyleRuleBase(const StyleRuleBase& o) : m_type(o.m_type) { } |
90 | 90 |
91 ~StyleRuleBase() { } | 91 ~StyleRuleBase() { } |
92 | 92 |
93 private: | 93 private: |
94 void destroy(); | 94 void destroy(); |
95 | 95 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); | 287 DEFINE_STYLE_RULE_TYPE_CASTS(FontFace); |
288 DEFINE_STYLE_RULE_TYPE_CASTS(Page); | 288 DEFINE_STYLE_RULE_TYPE_CASTS(Page); |
289 DEFINE_STYLE_RULE_TYPE_CASTS(Media); | 289 DEFINE_STYLE_RULE_TYPE_CASTS(Media); |
290 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); | 290 DEFINE_STYLE_RULE_TYPE_CASTS(Supports); |
291 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); | 291 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport); |
292 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); | 292 DEFINE_STYLE_RULE_TYPE_CASTS(Filter); |
293 | 293 |
294 } // namespace WebCore | 294 } // namespace WebCore |
295 | 295 |
296 #endif // StyleRule_h | 296 #endif // StyleRule_h |
OLD | NEW |