| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ide
nt, CSSParserValue*); | 117 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ide
nt, CSSParserValue*); |
| 118 | 118 |
| 119 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor
tant); | 119 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor
tant); |
| 120 bool parseShorthand(CSSPropertyID, bool important); | 120 bool parseShorthand(CSSPropertyID, bool important); |
| 121 bool consumeShorthandGreedily(const StylePropertyShorthand&, bool important)
; | 121 bool consumeShorthandGreedily(const StylePropertyShorthand&, bool important)
; |
| 122 bool consume4Values(const StylePropertyShorthand&, bool important); | 122 bool consume4Values(const StylePropertyShorthand&, bool important); |
| 123 | 123 |
| 124 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor
tant); | 124 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor
tant); |
| 125 PassRefPtrWillBeRawPtr<CSSValueList> parseContent(); | 125 PassRefPtrWillBeRawPtr<CSSValueList> parseContent(); |
| 126 PassRefPtrWillBeRawPtr<CSSValue> parseContain(); |
| 126 | 127 |
| 127 PassRefPtrWillBeRawPtr<CSSValue> parseAttr(CSSParserValueList* args); | 128 PassRefPtrWillBeRawPtr<CSSValue> parseAttr(CSSParserValueList* args); |
| 128 | 129 |
| 129 bool parseFillImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&); | 130 bool parseFillImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&); |
| 130 | 131 |
| 131 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1,
XFillPosition = 2, YFillPosition = 4 }; | 132 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1,
XFillPosition = 2, YFillPosition = 4 }; |
| 132 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe
yword = 1 }; | 133 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe
yword = 1 }; |
| 133 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseFillPositionComponent(CSSPars
erValueList*, unsigned& cumulativeFlags, FillPositionFlag& individualFlag, FillP
ositionParsingMode = ResolveValuesAsPercent, Units = FUnknown); | 134 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseFillPositionComponent(CSSPars
erValueList*, unsigned& cumulativeFlags, FillPositionFlag& individualFlag, FillP
ositionParsingMode = ResolveValuesAsPercent, Units = FUnknown); |
| 134 PassRefPtrWillBeRawPtr<CSSValue> parseFillPositionX(CSSParserValueList*); | 135 PassRefPtrWillBeRawPtr<CSSValue> parseFillPositionX(CSSParserValueList*); |
| 135 PassRefPtrWillBeRawPtr<CSSValue> parseFillPositionY(CSSParserValueList*); | 136 PassRefPtrWillBeRawPtr<CSSValue> parseFillPositionY(CSSParserValueList*); |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 bool m_implicitShorthand; | 333 bool m_implicitShorthand; |
| 333 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 334 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
| 334 }; | 335 }; |
| 335 | 336 |
| 336 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 337 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
| 337 CSSValueID cssValueKeywordID(const CSSParserString&); | 338 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 338 | 339 |
| 339 } // namespace blink | 340 } // namespace blink |
| 340 | 341 |
| 341 #endif // CSSPropertyParser_h | 342 #endif // CSSPropertyParser_h |
| OLD | NEW |