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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 bool isShadowValue() const { return m_classType == ShadowClass; } | 96 bool isShadowValue() const { return m_classType == ShadowClass; } |
97 bool isStringValue() const { return m_classType == StringClass; } | 97 bool isStringValue() const { return m_classType == StringClass; } |
98 bool isURIValue() const { return m_classType == URIClass; } | 98 bool isURIValue() const { return m_classType == URIClass; } |
99 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } | 99 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } |
100 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } | 100 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } |
101 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr
easClass; } | 101 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr
easClass; } |
102 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass;
} | 102 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass;
} |
103 bool isContentDistributionValue() const { return m_classType == CSSContentDi
stributionClass; } | 103 bool isContentDistributionValue() const { return m_classType == CSSContentDi
stributionClass; } |
104 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass;
} | 104 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass;
} |
105 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass
; } | 105 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass
; } |
| 106 bool isCustomPropertyDeclaration() const { return m_classType == CustomPrope
rtyDeclarationClass; } |
| 107 bool isVariableReferenceValue() const { return m_classType == VariableRefere
nceClass; } |
106 | 108 |
107 bool hasFailedOrCanceledSubresources() const; | 109 bool hasFailedOrCanceledSubresources() const; |
108 | 110 |
109 bool equals(const CSSValue&) const; | 111 bool equals(const CSSValue&) const; |
110 | 112 |
111 void finalizeGarbageCollectedObject(); | 113 void finalizeGarbageCollectedObject(); |
112 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } | 114 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } |
113 DECLARE_TRACE(); | 115 DECLARE_TRACE(); |
114 | 116 |
115 // ~CSSValue should be public, because non-public ~CSSValue causes C2248 | 117 // ~CSSValue should be public, because non-public ~CSSValue causes C2248 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 159 |
158 InheritedClass, | 160 InheritedClass, |
159 InitialClass, | 161 InitialClass, |
160 UnsetClass, | 162 UnsetClass, |
161 | 163 |
162 ReflectClass, | 164 ReflectClass, |
163 ShadowClass, | 165 ShadowClass, |
164 UnicodeRangeClass, | 166 UnicodeRangeClass, |
165 GridTemplateAreasClass, | 167 GridTemplateAreasClass, |
166 PathClass, | 168 PathClass, |
| 169 VariableReferenceClass, |
| 170 CustomPropertyDeclarationClass, |
167 | 171 |
168 // SVG classes. | 172 // SVG classes. |
169 CSSSVGDocumentClass, | 173 CSSSVGDocumentClass, |
170 | 174 |
171 CSSContentDistributionClass, | 175 CSSContentDistributionClass, |
172 | 176 |
173 // List class types must appear after ValueListClass. | 177 // List class types must appear after ValueListClass. |
174 ValueListClass, | 178 ValueListClass, |
175 FunctionClass, | 179 FunctionClass, |
176 ImageSetClass, | 180 ImageSetClass, |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 return false; | 265 return false; |
262 return first->equals(*second); | 266 return first->equals(*second); |
263 } | 267 } |
264 | 268 |
265 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ | 269 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ |
266 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) | 270 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) |
267 | 271 |
268 } // namespace blink | 272 } // namespace blink |
269 | 273 |
270 #endif // CSSValue_h | 274 #endif // CSSValue_h |
OLD | NEW |