| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 bool isReflectValue() const { return m_classType == ReflectClass; } | 118 bool isReflectValue() const { return m_classType == ReflectClass; } |
| 119 bool isShadowValue() const { return m_classType == ShadowClass; } | 119 bool isShadowValue() const { return m_classType == ShadowClass; } |
| 120 bool isStringValue() const { return m_classType == StringClass; } | 120 bool isStringValue() const { return m_classType == StringClass; } |
| 121 bool isURIValue() const { return m_classType == URIClass; } | 121 bool isURIValue() const { return m_classType == URIClass; } |
| 122 bool isCubicBezierTimingFunctionValue() const { | 122 bool isCubicBezierTimingFunctionValue() const { |
| 123 return m_classType == CubicBezierTimingFunctionClass; | 123 return m_classType == CubicBezierTimingFunctionClass; |
| 124 } | 124 } |
| 125 bool isStepsTimingFunctionValue() const { | 125 bool isStepsTimingFunctionValue() const { |
| 126 return m_classType == StepsTimingFunctionClass; | 126 return m_classType == StepsTimingFunctionClass; |
| 127 } | 127 } |
| 128 bool isFramesTimingFunctionValue() const { |
| 129 return m_classType == FramesTimingFunctionClass; |
| 130 } |
| 128 bool isGridTemplateAreasValue() const { | 131 bool isGridTemplateAreasValue() const { |
| 129 return m_classType == GridTemplateAreasClass; | 132 return m_classType == GridTemplateAreasClass; |
| 130 } | 133 } |
| 131 bool isContentDistributionValue() const { | 134 bool isContentDistributionValue() const { |
| 132 return m_classType == CSSContentDistributionClass; | 135 return m_classType == CSSContentDistributionClass; |
| 133 } | 136 } |
| 134 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass; } | 137 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass; } |
| 135 bool isGridLineNamesValue() const { | 138 bool isGridLineNamesValue() const { |
| 136 return m_classType == GridLineNamesClass; | 139 return m_classType == GridLineNamesClass; |
| 137 } | 140 } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 193 |
| 191 // Image generator classes. | 194 // Image generator classes. |
| 192 CrossfadeClass, | 195 CrossfadeClass, |
| 193 PaintClass, | 196 PaintClass, |
| 194 LinearGradientClass, | 197 LinearGradientClass, |
| 195 RadialGradientClass, | 198 RadialGradientClass, |
| 196 | 199 |
| 197 // Timing function classes. | 200 // Timing function classes. |
| 198 CubicBezierTimingFunctionClass, | 201 CubicBezierTimingFunctionClass, |
| 199 StepsTimingFunctionClass, | 202 StepsTimingFunctionClass, |
| 203 FramesTimingFunctionClass, |
| 200 | 204 |
| 201 // Other class types. | 205 // Other class types. |
| 202 BorderImageSliceClass, | 206 BorderImageSliceClass, |
| 203 FontFeatureClass, | 207 FontFeatureClass, |
| 204 FontFaceSrcClass, | 208 FontFaceSrcClass, |
| 205 FontFamilyClass, | 209 FontFamilyClass, |
| 206 FontVariationClass, | 210 FontVariationClass, |
| 207 | 211 |
| 208 InheritedClass, | 212 InheritedClass, |
| 209 InitialClass, | 213 InitialClass, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 return true; | 278 return true; |
| 275 } | 279 } |
| 276 | 280 |
| 277 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ | 281 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ |
| 278 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, \ | 282 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, \ |
| 279 value.predicate) | 283 value.predicate) |
| 280 | 284 |
| 281 } // namespace blink | 285 } // namespace blink |
| 282 | 286 |
| 283 #endif // CSSValue_h | 287 #endif // CSSValue_h |
| OLD | NEW |