| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 bool isBasicShapePolygonValue() const { return m_classType == BasicShapePoly
gonClass; } | 73 bool isBasicShapePolygonValue() const { return m_classType == BasicShapePoly
gonClass; } |
| 74 bool isBasicShapeInsetValue() const { return m_classType == BasicShapeInsetC
lass; } | 74 bool isBasicShapeInsetValue() const { return m_classType == BasicShapeInsetC
lass; } |
| 75 | 75 |
| 76 bool isBorderImageSliceValue() const { return m_classType == BorderImageSlic
eClass; } | 76 bool isBorderImageSliceValue() const { return m_classType == BorderImageSlic
eClass; } |
| 77 bool isColorValue() const { return m_classType == ColorClass; } | 77 bool isColorValue() const { return m_classType == ColorClass; } |
| 78 bool isCounterValue() const { return m_classType == CounterClass; } | 78 bool isCounterValue() const { return m_classType == CounterClass; } |
| 79 bool isCursorImageValue() const { return m_classType == CursorImageClass; } | 79 bool isCursorImageValue() const { return m_classType == CursorImageClass; } |
| 80 bool isCrossfadeValue() const { return m_classType == CrossfadeClass; } | 80 bool isCrossfadeValue() const { return m_classType == CrossfadeClass; } |
| 81 bool isPaintValue() const { return m_classType == PaintClass; } | 81 bool isPaintValue() const { return m_classType == PaintClass; } |
| 82 bool isFontFeatureValue() const { return m_classType == FontFeatureClass; } | 82 bool isFontFeatureValue() const { return m_classType == FontFeatureClass; } |
| 83 bool isFontFamilyValue() const { return m_classType == FontFamilyClass; } |
| 83 bool isFontFaceSrcValue() const { return m_classType == FontFaceSrcClass; } | 84 bool isFontFaceSrcValue() const { return m_classType == FontFaceSrcClass; } |
| 84 bool isFunctionValue() const { return m_classType == FunctionClass; } | 85 bool isFunctionValue() const { return m_classType == FunctionClass; } |
| 85 bool isCustomIdentValue() const { return m_classType == CustomIdentClass; } | 86 bool isCustomIdentValue() const { return m_classType == CustomIdentClass; } |
| 86 bool isImageGeneratorValue() const { return m_classType >= CrossfadeClass &&
m_classType <= RadialGradientClass; } | 87 bool isImageGeneratorValue() const { return m_classType >= CrossfadeClass &&
m_classType <= RadialGradientClass; } |
| 87 bool isGradientValue() const { return m_classType >= LinearGradientClass &&
m_classType <= RadialGradientClass; } | 88 bool isGradientValue() const { return m_classType >= LinearGradientClass &&
m_classType <= RadialGradientClass; } |
| 88 bool isImageSetValue() const { return m_classType == ImageSetClass; } | 89 bool isImageSetValue() const { return m_classType == ImageSetClass; } |
| 89 bool isImageValue() const { return m_classType == ImageClass; } | 90 bool isImageValue() const { return m_classType == ImageClass; } |
| 90 bool isImplicitInitialValue() const; | 91 bool isImplicitInitialValue() const; |
| 91 bool isInheritedValue() const { return m_classType == InheritedClass; } | 92 bool isInheritedValue() const { return m_classType == InheritedClass; } |
| 92 bool isInitialValue() const { return m_classType == InitialClass; } | 93 bool isInitialValue() const { return m_classType == InitialClass; } |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 RadialGradientClass, | 156 RadialGradientClass, |
| 156 | 157 |
| 157 // Timing function classes. | 158 // Timing function classes. |
| 158 CubicBezierTimingFunctionClass, | 159 CubicBezierTimingFunctionClass, |
| 159 StepsTimingFunctionClass, | 160 StepsTimingFunctionClass, |
| 160 | 161 |
| 161 // Other class types. | 162 // Other class types. |
| 162 BorderImageSliceClass, | 163 BorderImageSliceClass, |
| 163 FontFeatureClass, | 164 FontFeatureClass, |
| 164 FontFaceSrcClass, | 165 FontFaceSrcClass, |
| 166 FontFamilyClass, |
| 165 | 167 |
| 166 InheritedClass, | 168 InheritedClass, |
| 167 InitialClass, | 169 InitialClass, |
| 168 UnsetClass, | 170 UnsetClass, |
| 169 | 171 |
| 170 ReflectClass, | 172 ReflectClass, |
| 171 ShadowClass, | 173 ShadowClass, |
| 172 UnicodeRangeClass, | 174 UnicodeRangeClass, |
| 173 GridTemplateAreasClass, | 175 GridTemplateAreasClass, |
| 174 PathClass, | 176 PathClass, |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 return false; | 274 return false; |
| 273 return first->equals(*second); | 275 return first->equals(*second); |
| 274 } | 276 } |
| 275 | 277 |
| 276 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ | 278 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ |
| 277 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) | 279 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica
te) |
| 278 | 280 |
| 279 } // namespace blink | 281 } // namespace blink |
| 280 | 282 |
| 281 #endif // CSSValue_h | 283 #endif // CSSValue_h |
| OLD | NEW |