| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 bool parseBorderImageQuad(Units, RefPtrWillBeRawPtr<CSSPrimitiveValue>&); | 354 bool parseBorderImageQuad(Units, RefPtrWillBeRawPtr<CSSPrimitiveValue>&); |
| 355 int colorIntFromValue(CSSParserValue*); | 355 int colorIntFromValue(CSSParserValue*); |
| 356 bool isCalculation(CSSParserValue*); | 356 bool isCalculation(CSSParserValue*); |
| 357 | 357 |
| 358 bool buildBorderImageParseContext(CSSPropertyID, BorderImageParseContext&); | 358 bool buildBorderImageParseContext(CSSPropertyID, BorderImageParseContext&); |
| 359 | 359 |
| 360 bool parseDeprecatedGradientColorStop(CSSParserValue*, CSSGradientColorStop&
); | 360 bool parseDeprecatedGradientColorStop(CSSParserValue*, CSSGradientColorStop&
); |
| 361 | 361 |
| 362 void commitBorderImageProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu
e>, bool important); | 362 void commitBorderImageProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu
e>, bool important); |
| 363 | 363 |
| 364 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapPoints(); |
| 365 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapDestination(); |
| 366 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapCoordinate(); |
| 367 PassRefPtrWillBeRawPtr<CSSValue> parseScrollSnapPosition(); |
| 368 |
| 364 private: | 369 private: |
| 365 // Inputs: | 370 // Inputs: |
| 366 CSSParserValueList* m_valueList; | 371 CSSParserValueList* m_valueList; |
| 367 const CSSParserContext& m_context; | 372 const CSSParserContext& m_context; |
| 368 | 373 |
| 369 // Outputs: | 374 // Outputs: |
| 370 WillBeHeapVector<CSSProperty, 256>& m_parsedProperties; | 375 WillBeHeapVector<CSSProperty, 256>& m_parsedProperties; |
| 371 StyleRule::Type m_ruleType; | 376 StyleRule::Type m_ruleType; |
| 372 | 377 |
| 373 // Locals during parsing: | 378 // Locals during parsing: |
| 374 int m_inParseShorthand; | 379 int m_inParseShorthand; |
| 375 CSSPropertyID m_currentShorthand; | 380 CSSPropertyID m_currentShorthand; |
| 376 bool m_implicitShorthand; | 381 bool m_implicitShorthand; |
| 377 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 382 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
| 378 }; | 383 }; |
| 379 | 384 |
| 380 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 385 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
| 381 CSSPropertyID cssPropertyID(const String&); | 386 CSSPropertyID cssPropertyID(const String&); |
| 382 CSSValueID cssValueKeywordID(const CSSParserString&); | 387 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 383 | 388 |
| 384 } // namespace blink | 389 } // namespace blink |
| 385 | 390 |
| 386 #endif // CSSPropertyParser_h | 391 #endif // CSSPropertyParser_h |
| OLD | NEW |