OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } | 91 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } |
92 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } | 92 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } |
93 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr
easClass; } | 93 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr
easClass; } |
94 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass;
} | 94 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass;
} |
95 bool isContentDistributionValue() const { return m_classType == CSSContentDi
stributionClass; } | 95 bool isContentDistributionValue() const { return m_classType == CSSContentDi
stributionClass; } |
96 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass;
} | 96 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass;
} |
97 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass
; } | 97 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass
; } |
98 bool isCustomPropertyDeclaration() const { return m_classType == CustomPrope
rtyDeclarationClass; } | 98 bool isCustomPropertyDeclaration() const { return m_classType == CustomPrope
rtyDeclarationClass; } |
99 bool isVariableReferenceValue() const { return m_classType == VariableRefere
nceClass; } | 99 bool isVariableReferenceValue() const { return m_classType == VariableRefere
nceClass; } |
100 bool isGridAutoRepeatValue() const { return m_classType == GridAutoRepeatCla
ss; } | 100 bool isGridAutoRepeatValue() const { return m_classType == GridAutoRepeatCla
ss; } |
| 101 bool isPendingSubstitutionValue() const { return m_classType == PendingSubst
itutionValueClass; } |
101 | 102 |
102 bool hasFailedOrCanceledSubresources() const; | 103 bool hasFailedOrCanceledSubresources() const; |
103 | 104 |
104 bool equals(const CSSValue&) const; | 105 bool equals(const CSSValue&) const; |
105 | 106 |
106 void finalizeGarbageCollectedObject(); | 107 void finalizeGarbageCollectedObject(); |
107 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } | 108 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } |
108 DECLARE_TRACE(); | 109 DECLARE_TRACE(); |
109 | 110 |
110 // ~CSSValue should be public, because non-public ~CSSValue causes C2248 | 111 // ~CSSValue should be public, because non-public ~CSSValue causes C2248 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 InitialClass, | 157 InitialClass, |
157 UnsetClass, | 158 UnsetClass, |
158 | 159 |
159 ReflectClass, | 160 ReflectClass, |
160 ShadowClass, | 161 ShadowClass, |
161 UnicodeRangeClass, | 162 UnicodeRangeClass, |
162 GridTemplateAreasClass, | 163 GridTemplateAreasClass, |
163 PathClass, | 164 PathClass, |
164 VariableReferenceClass, | 165 VariableReferenceClass, |
165 CustomPropertyDeclarationClass, | 166 CustomPropertyDeclarationClass, |
| 167 PendingSubstitutionValueClass, |
166 | 168 |
167 // SVG classes. | 169 // SVG classes. |
168 CSSSVGDocumentClass, | 170 CSSSVGDocumentClass, |
169 | 171 |
170 CSSContentDistributionClass, | 172 CSSContentDistributionClass, |
171 | 173 |
172 // List class types must appear after ValueListClass. | 174 // List class types must appear after ValueListClass. |
173 ValueListClass, | 175 ValueListClass, |
174 FunctionClass, | 176 FunctionClass, |
175 ImageSetClass, | 177 ImageSetClass, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 return false; | 263 return false; |
262 return first->equals(*second); | 264 return first->equals(*second); |
263 } | 265 } |
264 | 266 |
265 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ | 267 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ |
266 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) | 268 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) |
267 | 269 |
268 } // namespace blink | 270 } // namespace blink |
269 | 271 |
270 #endif // CSSValue_h | 272 #endif // CSSValue_h |
OLD | NEW |