| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve
d. | 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve
d. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 344 |
| 345 bool validCalculationUnit(CSSParserValue*, Units, ReleaseParsedCalcValueCond
ition releaseCalc = DoNotReleaseParsedCalcValue); | 345 bool validCalculationUnit(CSSParserValue*, Units, ReleaseParsedCalcValueCond
ition releaseCalc = DoNotReleaseParsedCalcValue); |
| 346 | 346 |
| 347 bool shouldAcceptUnitLessValues(CSSParserValue*, Units, CSSParserMode); | 347 bool shouldAcceptUnitLessValues(CSSParserValue*, Units, CSSParserMode); |
| 348 | 348 |
| 349 inline bool validUnit(CSSParserValue* value, Units unitflags, ReleaseParsedC
alcValueCondition releaseCalc = DoNotReleaseParsedCalcValue) { return validUnit(
value, unitflags, m_context.mode(), releaseCalc); } | 349 inline bool validUnit(CSSParserValue* value, Units unitflags, ReleaseParsedC
alcValueCondition releaseCalc = DoNotReleaseParsedCalcValue) { return validUnit(
value, unitflags, m_context.mode(), releaseCalc); } |
| 350 bool validUnit(CSSParserValue*, Units, CSSParserMode, ReleaseParsedCalcValue
Condition releaseCalc = DoNotReleaseParsedCalcValue); | 350 bool validUnit(CSSParserValue*, Units, CSSParserMode, ReleaseParsedCalcValue
Condition releaseCalc = DoNotReleaseParsedCalcValue); |
| 351 | 351 |
| 352 bool parseBorderImageQuad(Units, RefPtrWillBeRawPtr<CSSPrimitiveValue>&); | 352 bool parseBorderImageQuad(Units, RefPtrWillBeRawPtr<CSSPrimitiveValue>&); |
| 353 int colorIntFromValue(CSSParserValue*); | 353 int colorIntFromValue(CSSParserValue*); |
| 354 bool isCalculation(CSSParserValue*); | |
| 355 | 354 |
| 356 bool buildBorderImageParseContext(CSSPropertyID, BorderImageParseContext&); | 355 bool buildBorderImageParseContext(CSSPropertyID, BorderImageParseContext&); |
| 357 | 356 |
| 358 bool parseDeprecatedGradientColorStop(CSSParserValue*, CSSGradientColorStop&
); | 357 bool parseDeprecatedGradientColorStop(CSSParserValue*, CSSGradientColorStop&
); |
| 359 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseDeprecatedGradientStopColor(c
onst CSSParserValue*); | 358 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseDeprecatedGradientStopColor(c
onst CSSParserValue*); |
| 360 | 359 |
| 361 void commitBorderImageProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu
e>, bool important); | 360 void commitBorderImageProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu
e>, bool important); |
| 362 | 361 |
| 363 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapPoints(); | 362 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapPoints(); |
| 364 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapDestination(); | 363 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapDestination(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 380 bool m_implicitShorthand; | 379 bool m_implicitShorthand; |
| 381 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 380 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
| 382 }; | 381 }; |
| 383 | 382 |
| 384 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 383 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
| 385 CSSValueID cssValueKeywordID(const CSSParserString&); | 384 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 386 | 385 |
| 387 } // namespace blink | 386 } // namespace blink |
| 388 | 387 |
| 389 #endif // CSSPropertyParser_h | 388 #endif // CSSPropertyParser_h |
| OLD | NEW |