| 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, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 | 301 |
| 302 CSSBasicShape* getShapeValue() const { return m_primitiveUnitType != CSS_SHA
PE ? 0 : m_value.shape; } | 302 CSSBasicShape* getShapeValue() const { return m_primitiveUnitType != CSS_SHA
PE ? 0 : m_value.shape; } |
| 303 | 303 |
| 304 CSSCalcValue* cssCalcValue() const { return m_primitiveUnitType != CSS_CALC
? 0 : m_value.calc; } | 304 CSSCalcValue* cssCalcValue() const { return m_primitiveUnitType != CSS_CALC
? 0 : m_value.calc; } |
| 305 | 305 |
| 306 CSSPropertyID getPropertyID() const { return m_primitiveUnitType == CSS_PROP
ERTY_ID ? m_value.propertyID : CSSPropertyInvalid; } | 306 CSSPropertyID getPropertyID() const { return m_primitiveUnitType == CSS_PROP
ERTY_ID ? m_value.propertyID : CSSPropertyInvalid; } |
| 307 CSSValueID getValueID() const { return m_primitiveUnitType == CSS_VALUE_ID ?
m_value.valueID : CSSValueInvalid; } | 307 CSSValueID getValueID() const { return m_primitiveUnitType == CSS_VALUE_ID ?
m_value.valueID : CSSValueInvalid; } |
| 308 | 308 |
| 309 template<typename T> inline operator T() const; // Defined in CSSPrimitiveVa
lueMappings.h | 309 template<typename T> inline operator T() const; // Defined in CSSPrimitiveVa
lueMappings.h |
| 310 | 310 |
| 311 String customCssText(CssTextFormattingFlags = QuoteCSSStringIfNeeded) const; | 311 String customCSSText(CSSTextFormattingFlags = QuoteCSSStringIfNeeded) const; |
| 312 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; | 312 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; |
| 313 bool hasVariableReference() const; | 313 bool hasVariableReference() const; |
| 314 | 314 |
| 315 bool isQuirkValue() { return m_isQuirkValue; } | 315 bool isQuirkValue() { return m_isQuirkValue; } |
| 316 | 316 |
| 317 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; | 317 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; |
| 318 | 318 |
| 319 Length viewportPercentageLength(); | 319 Length viewportPercentageLength(); |
| 320 | 320 |
| 321 PassRefPtr<CSSPrimitiveValue> cloneForCSSOM() const; | 321 PassRefPtr<CSSPrimitiveValue> cloneForCSSOM() const; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 CSSBasicShape* shape; | 383 CSSBasicShape* shape; |
| 384 CSSCalcValue* calc; | 384 CSSCalcValue* calc; |
| 385 } m_value; | 385 } m_value; |
| 386 }; | 386 }; |
| 387 | 387 |
| 388 DEFINE_CSS_VALUE_TYPE_CASTS(PrimitiveValue); | 388 DEFINE_CSS_VALUE_TYPE_CASTS(PrimitiveValue); |
| 389 | 389 |
| 390 } // namespace WebCore | 390 } // namespace WebCore |
| 391 | 391 |
| 392 #endif // CSSPrimitiveValue_h | 392 #endif // CSSPrimitiveValue_h |
| OLD | NEW |