| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 | 297 |
| 298 CSSBasicShape* getShapeValue() const { return m_primitiveUnitType != CSS_SHA
PE ? 0 : m_value.shape; } | 298 CSSBasicShape* getShapeValue() const { return m_primitiveUnitType != CSS_SHA
PE ? 0 : m_value.shape; } |
| 299 | 299 |
| 300 CSSCalcValue* cssCalcValue() const { return m_primitiveUnitType != CSS_CALC
? 0 : m_value.calc; } | 300 CSSCalcValue* cssCalcValue() const { return m_primitiveUnitType != CSS_CALC
? 0 : m_value.calc; } |
| 301 | 301 |
| 302 CSSPropertyID getPropertyID() const { return m_primitiveUnitType == CSS_PROP
ERTY_ID ? m_value.propertyID : CSSPropertyInvalid; } | 302 CSSPropertyID getPropertyID() const { return m_primitiveUnitType == CSS_PROP
ERTY_ID ? m_value.propertyID : CSSPropertyInvalid; } |
| 303 CSSValueID getValueID() const { return m_primitiveUnitType == CSS_VALUE_ID ?
m_value.valueID : CSSValueInvalid; } | 303 CSSValueID getValueID() const { return m_primitiveUnitType == CSS_VALUE_ID ?
m_value.valueID : CSSValueInvalid; } |
| 304 | 304 |
| 305 template<typename T> inline operator T() const; // Defined in CSSPrimitiveVa
lueMappings.h | 305 template<typename T> inline operator T() const; // Defined in CSSPrimitiveVa
lueMappings.h |
| 306 | 306 |
| 307 String customCssText() const; | 307 String customCssText(CssTextFormattingFlags = QuoteCSSStringIfNeeded) const; |
| 308 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; | 308 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; |
| 309 bool hasVariableReference() const; | 309 bool hasVariableReference() const; |
| 310 | 310 |
| 311 bool isQuirkValue() { return m_isQuirkValue; } | 311 bool isQuirkValue() { return m_isQuirkValue; } |
| 312 | 312 |
| 313 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; | 313 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; |
| 314 | 314 |
| 315 Length viewportPercentageLength(); | 315 Length viewportPercentageLength(); |
| 316 | 316 |
| 317 PassRefPtr<CSSPrimitiveValue> cloneForCSSOM() const; | 317 PassRefPtr<CSSPrimitiveValue> cloneForCSSOM() const; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->isPrimitiveValue()); | 387 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->isPrimitiveValue()); |
| 388 return static_cast<const CSSPrimitiveValue*>(value); | 388 return static_cast<const CSSPrimitiveValue*>(value); |
| 389 } | 389 } |
| 390 | 390 |
| 391 // Catch unneeded cast. | 391 // Catch unneeded cast. |
| 392 void toCSSPrimitiveValue(const CSSPrimitiveValue*); | 392 void toCSSPrimitiveValue(const CSSPrimitiveValue*); |
| 393 | 393 |
| 394 } // namespace WebCore | 394 } // namespace WebCore |
| 395 | 395 |
| 396 #endif // CSSPrimitiveValue_h | 396 #endif // CSSPrimitiveValue_h |
| OLD | NEW |