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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 bool isImageGeneratorValue() const { return m_classType >= CanvasClass && m_
classType <= RadialGradientClass; } | 78 bool isImageGeneratorValue() const { return m_classType >= CanvasClass && m_
classType <= RadialGradientClass; } |
79 bool isGradientValue() const { return m_classType >= LinearGradientClass &&
m_classType <= RadialGradientClass; } | 79 bool isGradientValue() const { return m_classType >= LinearGradientClass &&
m_classType <= RadialGradientClass; } |
80 bool isImageSetValue() const { return m_classType == ImageSetClass; } | 80 bool isImageSetValue() const { return m_classType == ImageSetClass; } |
81 bool isImageValue() const { return m_classType == ImageClass; } | 81 bool isImageValue() const { return m_classType == ImageClass; } |
82 bool isImplicitInitialValue() const; | 82 bool isImplicitInitialValue() const; |
83 bool isInheritedValue() const { return m_classType == InheritedClass; } | 83 bool isInheritedValue() const { return m_classType == InheritedClass; } |
84 bool isInitialValue() const { return m_classType == InitialClass; } | 84 bool isInitialValue() const { return m_classType == InitialClass; } |
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 isLinearTimingFunctionValue() const { return m_classType == LinearTimin
gFunctionClass; } | |
89 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } | 88 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } |
90 bool isCSSTransformValue() const { return m_classType == CSSTransformClass;
} | 89 bool isCSSTransformValue() const { return m_classType == CSSTransformClass;
} |
91 bool isCSSLineBoxContainValue() const { return m_classType == LineBoxContain
Class; } | 90 bool isCSSLineBoxContainValue() const { return m_classType == LineBoxContain
Class; } |
92 bool isCalculationValue() const {return m_classType == CalculationClass; } | 91 bool isCalculationValue() const {return m_classType == CalculationClass; } |
93 bool isCSSFilterValue() const { return m_classType == CSSFilterClass; } | 92 bool isCSSFilterValue() const { return m_classType == CSSFilterClass; } |
94 bool isCSSArrayFunctionValue() const { return m_classType == CSSArrayFunctio
nValueClass; } | 93 bool isCSSArrayFunctionValue() const { return m_classType == CSSArrayFunctio
nValueClass; } |
95 bool isCSSMixFunctionValue() const { return m_classType == CSSMixFunctionVal
ueClass; } | 94 bool isCSSMixFunctionValue() const { return m_classType == CSSMixFunctionVal
ueClass; } |
96 bool isCSSShaderValue() const { return m_classType == CSSShaderClass; } | 95 bool isCSSShaderValue() const { return m_classType == CSSShaderClass; } |
97 bool isVariableValue() const { return m_classType == VariableClass; } | 96 bool isVariableValue() const { return m_classType == VariableClass; } |
98 bool isGridTemplateValue() const { return m_classType == GridTemplateClass;
} | 97 bool isGridTemplateValue() const { return m_classType == GridTemplateClass;
} |
(...skipping 26 matching lines...) Expand all Loading... |
125 CursorImageClass, | 124 CursorImageClass, |
126 | 125 |
127 // Image generator classes. | 126 // Image generator classes. |
128 CanvasClass, | 127 CanvasClass, |
129 CrossfadeClass, | 128 CrossfadeClass, |
130 LinearGradientClass, | 129 LinearGradientClass, |
131 RadialGradientClass, | 130 RadialGradientClass, |
132 | 131 |
133 // Timing function classes. | 132 // Timing function classes. |
134 CubicBezierTimingFunctionClass, | 133 CubicBezierTimingFunctionClass, |
135 LinearTimingFunctionClass, | |
136 StepsTimingFunctionClass, | 134 StepsTimingFunctionClass, |
137 | 135 |
138 // Other class types. | 136 // Other class types. |
139 AspectRatioClass, | 137 AspectRatioClass, |
140 BorderImageSliceClass, | 138 BorderImageSliceClass, |
141 FontFeatureClass, | 139 FontFeatureClass, |
142 FontClass, | 140 FontClass, |
143 FontFaceSrcClass, | 141 FontFaceSrcClass, |
144 FunctionClass, | 142 FunctionClass, |
145 | 143 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 232 |
235 template<typename CSSValueType> | 233 template<typename CSSValueType> |
236 inline bool compareCSSValuePtr(const RefPtr<CSSValueType>& first, const RefPtr<C
SSValueType>& second) | 234 inline bool compareCSSValuePtr(const RefPtr<CSSValueType>& first, const RefPtr<C
SSValueType>& second) |
237 { | 235 { |
238 return first ? second && first->equals(*second) : !second; | 236 return first ? second && first->equals(*second) : !second; |
239 } | 237 } |
240 | 238 |
241 } // namespace WebCore | 239 } // namespace WebCore |
242 | 240 |
243 #endif // CSSValue_h | 241 #endif // CSSValue_h |
OLD | NEW |