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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 bool isImageValue() const { return m_classType == ImageClass; } | 84 bool isImageValue() const { return m_classType == ImageClass; } |
85 bool isImplicitInitialValue() const; | 85 bool isImplicitInitialValue() const; |
86 bool isInheritedValue() const { return m_classType == InheritedClass; } | 86 bool isInheritedValue() const { return m_classType == InheritedClass; } |
87 bool isInitialValue() const { return m_classType == InitialClass; } | 87 bool isInitialValue() const { return m_classType == InitialClass; } |
88 bool isLinearGradientValue() const { return m_classType == LinearGradientCla
ss; } | 88 bool isLinearGradientValue() const { return m_classType == LinearGradientCla
ss; } |
89 bool isRadialGradientValue() const { return m_classType == RadialGradientCla
ss; } | 89 bool isRadialGradientValue() const { return m_classType == RadialGradientCla
ss; } |
90 bool isReflectValue() const { return m_classType == ReflectClass; } | 90 bool isReflectValue() const { return m_classType == ReflectClass; } |
91 bool isShadowValue() const { return m_classType == ShadowClass; } | 91 bool isShadowValue() const { return m_classType == ShadowClass; } |
92 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } | 92 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB
ezierTimingFunctionClass; } |
93 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } | 93 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF
unctionClass; } |
| 94 bool isTextCloneCSSValue() const { return m_isTextClone; } |
94 bool isTransformValue() const { return m_classType == CSSTransformClass; } | 95 bool isTransformValue() const { return m_classType == CSSTransformClass; } |
95 bool isLineBoxContainValue() const { return m_classType == LineBoxContainCla
ss; } | 96 bool isLineBoxContainValue() const { return m_classType == LineBoxContainCla
ss; } |
96 bool isCalcValue() const {return m_classType == CalculationClass; } | 97 bool isCalcValue() const {return m_classType == CalculationClass; } |
97 bool isFilterValue() const { return m_classType == CSSFilterClass; } | 98 bool isFilterValue() const { return m_classType == CSSFilterClass; } |
98 bool isArrayFunctionValue() const { return m_classType == CSSArrayFunctionVa
lueClass; } | 99 bool isArrayFunctionValue() const { return m_classType == CSSArrayFunctionVa
lueClass; } |
99 bool isMixFunctionValue() const { return m_classType == CSSMixFunctionValueC
lass; } | 100 bool isMixFunctionValue() const { return m_classType == CSSMixFunctionValueC
lass; } |
100 bool isShaderValue() const { return m_classType == CSSShaderClass; } | 101 bool isShaderValue() const { return m_classType == CSSShaderClass; } |
101 bool isVariableValue() const { return m_classType == VariableClass; } | 102 bool isVariableValue() const { return m_classType == VariableClass; } |
102 bool isGridTemplateValue() const { return m_classType == GridTemplateClass;
} | 103 bool isGridTemplateValue() const { return m_classType == GridTemplateClass;
} |
103 bool isSVGColor() const { return m_classType == SVGColorClass || m_classType
== SVGPaintClass; } | 104 bool isSVGColor() const { return m_classType == SVGColorClass || m_classType
== SVGPaintClass; } |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 { \ | 253 { \ |
253 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->is##ValueTypeName()); \ | 254 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->is##ValueTypeName()); \ |
254 return static_cast<CSS##ValueTypeName*>(value); \ | 255 return static_cast<CSS##ValueTypeName*>(value); \ |
255 } \ | 256 } \ |
256 void toCSS##ValueTypeName(const CSS##ValueTypeName*); \ | 257 void toCSS##ValueTypeName(const CSS##ValueTypeName*); \ |
257 void toCSS##ValueTypeName(const CSS##ValueTypeName&) | 258 void toCSS##ValueTypeName(const CSS##ValueTypeName&) |
258 | 259 |
259 } // namespace WebCore | 260 } // namespace WebCore |
260 | 261 |
261 #endif // CSSValue_h | 262 #endif // CSSValue_h |
OLD | NEW |