| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 bool isReflectValue() const { return m_classType == ReflectClass; } | 85 bool isReflectValue() const { return m_classType == ReflectClass; } |
| 86 bool isShadowValue() const { return m_classType == ShadowClass; } | 86 bool isShadowValue() const { return m_classType == ShadowClass; } |
| 87 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } | 87 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } |
| 88 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } | 88 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } |
| 89 bool isLineBoxContainValue() const { return m_classType == LineBoxContainCla
ss; } | 89 bool isLineBoxContainValue() const { return m_classType == LineBoxContainCla
ss; } |
| 90 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr
easClass; } | 90 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr
easClass; } |
| 91 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass;
} | 91 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass;
} |
| 92 bool isContentDistributionValue() const { return m_classType == CSSContentDi
stributionClass; } | 92 bool isContentDistributionValue() const { return m_classType == CSSContentDi
stributionClass; } |
| 93 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass;
} | 93 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass;
} |
| 94 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass
; } | 94 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass
; } |
| 95 bool isVariableValue() const { return m_classType == VariableClass; } |
| 95 | 96 |
| 96 bool hasFailedOrCanceledSubresources() const; | 97 bool hasFailedOrCanceledSubresources() const; |
| 97 | 98 |
| 98 bool equals(const CSSValue&) const; | 99 bool equals(const CSSValue&) const; |
| 99 | 100 |
| 100 void finalizeGarbageCollectedObject(); | 101 void finalizeGarbageCollectedObject(); |
| 101 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } | 102 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } |
| 102 DECLARE_TRACE(); | 103 DECLARE_TRACE(); |
| 103 | 104 |
| 104 // ~CSSValue should be public, because non-public ~CSSValue causes C2248 | 105 // ~CSSValue should be public, because non-public ~CSSValue causes C2248 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 135 InheritedClass, | 136 InheritedClass, |
| 136 InitialClass, | 137 InitialClass, |
| 137 UnsetClass, | 138 UnsetClass, |
| 138 | 139 |
| 139 ReflectClass, | 140 ReflectClass, |
| 140 ShadowClass, | 141 ShadowClass, |
| 141 UnicodeRangeClass, | 142 UnicodeRangeClass, |
| 142 LineBoxContainClass, | 143 LineBoxContainClass, |
| 143 GridTemplateAreasClass, | 144 GridTemplateAreasClass, |
| 144 PathClass, | 145 PathClass, |
| 146 VariableClass, |
| 145 | 147 |
| 146 // SVG classes. | 148 // SVG classes. |
| 147 CSSSVGDocumentClass, | 149 CSSSVGDocumentClass, |
| 148 | 150 |
| 149 CSSContentDistributionClass, | 151 CSSContentDistributionClass, |
| 150 | 152 |
| 151 // List class types must appear after ValueListClass. | 153 // List class types must appear after ValueListClass. |
| 152 ValueListClass, | 154 ValueListClass, |
| 153 FunctionClass, | 155 FunctionClass, |
| 154 ImageSetClass, | 156 ImageSetClass, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 return false; | 243 return false; |
| 242 return first->equals(*second); | 244 return first->equals(*second); |
| 243 } | 245 } |
| 244 | 246 |
| 245 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ | 247 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ |
| 246 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) | 248 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) |
| 247 | 249 |
| 248 } // namespace blink | 250 } // namespace blink |
| 249 | 251 |
| 250 #endif // CSSValue_h | 252 #endif // CSSValue_h |
| OLD | NEW |