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 25 matching lines...) Expand all Loading... |
36 class CSSBasicShapeInset; | 36 class CSSBasicShapeInset; |
37 class CSSFunctionValue; | 37 class CSSFunctionValue; |
38 class CSSGradientValue; | 38 class CSSGradientValue; |
39 class CSSGridLineNamesValue; | 39 class CSSGridLineNamesValue; |
40 struct CSSParserString; | 40 struct CSSParserString; |
41 struct CSSParserValue; | 41 struct CSSParserValue; |
42 class CSSParserValueList; | 42 class CSSParserValueList; |
43 class CSSPrimitiveValue; | 43 class CSSPrimitiveValue; |
44 class CSSProperty; | 44 class CSSProperty; |
45 class CSSQuadValue; | 45 class CSSQuadValue; |
| 46 class CSSShadowValue; |
46 class CSSValue; | 47 class CSSValue; |
47 class CSSValueList; | 48 class CSSValueList; |
48 class StylePropertyShorthand; | 49 class StylePropertyShorthand; |
49 | 50 |
50 // Inputs: PropertyID, isImportant bool, CSSParserValueList. | 51 // Inputs: PropertyID, isImportant bool, CSSParserValueList. |
51 // Outputs: Vector of CSSProperties | 52 // Outputs: Vector of CSSProperties |
52 | 53 |
53 class CSSPropertyParser { | 54 class CSSPropertyParser { |
54 STACK_ALLOCATED(); | 55 STACK_ALLOCATED(); |
55 public: | 56 public: |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 PassRefPtrWillBeRawPtr<CSSValueList> parseFontFaceSrc(); | 203 PassRefPtrWillBeRawPtr<CSSValueList> parseFontFaceSrc(); |
203 PassRefPtrWillBeRawPtr<CSSValueList> parseFontFaceUnicodeRange(); | 204 PassRefPtrWillBeRawPtr<CSSValueList> parseFontFaceUnicodeRange(); |
204 | 205 |
205 bool parseSVGValue(CSSPropertyID propId, bool important); | 206 bool parseSVGValue(CSSPropertyID propId, bool important); |
206 PassRefPtrWillBeRawPtr<CSSValue> parseSVGStrokeDasharray(); | 207 PassRefPtrWillBeRawPtr<CSSValue> parseSVGStrokeDasharray(); |
207 | 208 |
208 PassRefPtrWillBeRawPtr<CSSValue> parsePaintOrder() const; | 209 PassRefPtrWillBeRawPtr<CSSValue> parsePaintOrder() const; |
209 | 210 |
210 // CSS3 Parsing Routines (for properties specific to CSS3) | 211 // CSS3 Parsing Routines (for properties specific to CSS3) |
211 PassRefPtrWillBeRawPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPro
pertyID); | 212 PassRefPtrWillBeRawPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPro
pertyID); |
| 213 PassRefPtrWillBeRawPtr<CSSShadowValue> parseSingleShadow(CSSParserValueList*
, bool allowInset, bool allowSpread); |
212 bool parseBorderImageShorthand(CSSPropertyID, bool important); | 214 bool parseBorderImageShorthand(CSSPropertyID, bool important); |
213 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID); | 215 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID); |
214 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&); | 216 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&); |
215 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS
liceValue>&); | 217 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS
liceValue>&); |
216 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&); | 218 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&); |
217 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&); | 219 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&); |
218 bool parseBorderRadius(CSSPropertyID, bool important); | 220 bool parseBorderRadius(CSSPropertyID, bool important); |
219 | 221 |
220 PassRefPtrWillBeRawPtr<CSSValue> parseReflect(); | 222 PassRefPtrWillBeRawPtr<CSSValue> parseReflect(); |
221 | 223 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 bool m_implicitShorthand; | 378 bool m_implicitShorthand; |
377 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 379 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
378 }; | 380 }; |
379 | 381 |
380 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 382 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
381 CSSValueID cssValueKeywordID(const CSSParserString&); | 383 CSSValueID cssValueKeywordID(const CSSParserString&); |
382 | 384 |
383 } // namespace blink | 385 } // namespace blink |
384 | 386 |
385 #endif // CSSPropertyParser_h | 387 #endif // CSSPropertyParser_h |
OLD | NEW |