| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 KURL completeURL(const String& url) const; | 81 KURL completeURL(const String& url) const; |
| 82 | 82 |
| 83 void addProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool implicit = false)
; | 83 void addProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool implicit = false)
; |
| 84 void rollbackLastProperties(int num); | 84 void rollbackLastProperties(int num); |
| 85 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>)
; | 85 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>)
; |
| 86 | 86 |
| 87 PassRefPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ident, CSSParse
rValue*); | 87 PassRefPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ident, CSSParse
rValue*); |
| 88 | 88 |
| 89 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&); | 89 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&); |
| 90 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties); | 90 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties); |
| 91 PassRefPtr<CSSValue> parseQuotes(); | |
| 92 | 91 |
| 93 PassRefPtr<CSSValue> parseAttr(CSSParserValueList* args); | 92 PassRefPtr<CSSValue> parseAttr(CSSParserValueList* args); |
| 94 | 93 |
| 95 PassRefPtr<CSSValue> parseBackgroundColor(); | 94 PassRefPtr<CSSValue> parseBackgroundColor(); |
| 96 | 95 |
| 97 bool parseFillImage(CSSParserValueList*, RefPtr<CSSValue>&); | 96 bool parseFillImage(CSSParserValueList*, RefPtr<CSSValue>&); |
| 98 | 97 |
| 99 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1,
XFillPosition = 2, YFillPosition = 4 }; | 98 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1,
XFillPosition = 2, YFillPosition = 4 }; |
| 100 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe
yword = 1 }; | 99 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe
yword = 1 }; |
| 101 PassRefPtr<CSSPrimitiveValue> parseFillPositionComponent(CSSParserValueList*
, unsigned& cumulativeFlags, FillPositionFlag& individualFlag, FillPositionParsi
ngMode = ResolveValuesAsPercent); | 100 PassRefPtr<CSSPrimitiveValue> parseFillPositionComponent(CSSParserValueList*
, unsigned& cumulativeFlags, FillPositionFlag& individualFlag, FillPositionParsi
ngMode = ResolveValuesAsPercent); |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 CSSPropertyID cssPropertyID(const CSSParserString&); | 339 CSSPropertyID cssPropertyID(const CSSParserString&); |
| 341 CSSPropertyID cssPropertyID(const String&); | 340 CSSPropertyID cssPropertyID(const String&); |
| 342 CSSValueID cssValueKeywordID(const CSSParserString&); | 341 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 343 | 342 |
| 344 bool isKeywordPropertyID(CSSPropertyID); | 343 bool isKeywordPropertyID(CSSPropertyID); |
| 345 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); | 344 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); |
| 346 | 345 |
| 347 } // namespace blink | 346 } // namespace blink |
| 348 | 347 |
| 349 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_ | 348 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_ |
| OLD | NEW |