| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 void parse4ValuesFillPosition(CSSParserValueList*, RefPtr<CSSValue>&, RefPtr
<CSSValue>&, PassRefPtr<CSSPrimitiveValue>, PassRefPtr<CSSPrimitiveValue>); | 107 void parse4ValuesFillPosition(CSSParserValueList*, RefPtr<CSSValue>&, RefPtr
<CSSValue>&, PassRefPtr<CSSPrimitiveValue>, PassRefPtr<CSSPrimitiveValue>); |
| 108 | 108 |
| 109 void parseFillRepeat(RefPtr<CSSValue>&, RefPtr<CSSValue>&); | 109 void parseFillRepeat(RefPtr<CSSValue>&, RefPtr<CSSValue>&); |
| 110 PassRefPtr<CSSValue> parseFillSize(CSSPropertyID, bool &allowComma); | 110 PassRefPtr<CSSValue> parseFillSize(CSSPropertyID, bool &allowComma); |
| 111 | 111 |
| 112 bool parseFillProperty(CSSPropertyID propId, CSSPropertyID& propId1, CSSProp
ertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&); | 112 bool parseFillProperty(CSSPropertyID propId, CSSPropertyID& propId1, CSSProp
ertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&); |
| 113 bool parseFillShorthand(CSSPropertyID, const CSSPropertyID* properties, int
numProperties); | 113 bool parseFillShorthand(CSSPropertyID, const CSSPropertyID* properties, int
numProperties); |
| 114 | 114 |
| 115 void addFillValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval); | 115 void addFillValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval); |
| 116 | 116 |
| 117 PassRefPtr<CSSValue> parseAnimationDelay(); | |
| 118 PassRefPtr<CSSValue> parseAnimationDirection(); | |
| 119 PassRefPtr<CSSValue> parseAnimationDuration(); | |
| 120 PassRefPtr<CSSValue> parseAnimationFillMode(); | |
| 121 PassRefPtr<CSSValue> parseAnimationIterationCount(); | |
| 122 PassRefPtr<CSSValue> parseAnimationName(); | |
| 123 PassRefPtr<CSSValue> parseAnimationPlayState(); | |
| 124 PassRefPtr<CSSValue> parseAnimationProperty(); | |
| 125 PassRefPtr<CSSValue> parseAnimationTimingFunction(); | |
| 126 | |
| 127 bool parseWebkitTransformOriginShorthand(); | 117 bool parseWebkitTransformOriginShorthand(); |
| 128 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double&
result); | |
| 129 PassRefPtr<CSSValue> parseAnimationProperty(CSSPropertyID); | |
| 130 PassRefPtr<CSSValueList> parseAnimationPropertyList(CSSPropertyID); | |
| 131 bool parseTransitionShorthand(CSSPropertyID); | |
| 132 bool parseAnimationShorthand(CSSPropertyID); | |
| 133 | 118 |
| 134 bool parseClipShape(CSSPropertyID); | 119 bool parseClipShape(CSSPropertyID); |
| 135 | 120 |
| 136 bool parseItemPositionOverflowPosition(CSSPropertyID); | 121 bool parseItemPositionOverflowPosition(CSSPropertyID); |
| 137 | 122 |
| 138 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); | 123 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); |
| 139 PassRefPtr<CSSValue> parseBasicShapeAndOrBox(); | 124 PassRefPtr<CSSValue> parseBasicShapeAndOrBox(); |
| 140 PassRefPtr<CSSPrimitiveValue> parseBasicShape(); | 125 PassRefPtr<CSSPrimitiveValue> parseBasicShape(); |
| 141 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*); | 126 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*); |
| 142 | 127 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 172 PassRefPtr<CSSValue> parseAspectRatio(); | 157 PassRefPtr<CSSValue> parseAspectRatio(); |
| 173 | 158 |
| 174 bool parseFlex(CSSParserValueList* args); | 159 bool parseFlex(CSSParserValueList* args); |
| 175 | 160 |
| 176 PassRefPtr<CSSValue> parseObjectPosition(); | 161 PassRefPtr<CSSValue> parseObjectPosition(); |
| 177 | 162 |
| 178 bool parseLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient
Repeat repeating); | 163 bool parseLinearGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient
Repeat repeating); |
| 179 bool parseRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient
Repeat repeating); | 164 bool parseRadialGradient(CSSParserValueList*, RefPtr<CSSValue>&, CSSGradient
Repeat repeating); |
| 180 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex
pectComma); | 165 bool parseGradientColorStops(CSSParserValueList*, CSSGradientValue*, bool ex
pectComma); |
| 181 | 166 |
| 182 PassRefPtr<CSSValue> parseWillChange(); | |
| 183 | |
| 184 PassRefPtr<CSSValueList> parseFilter(); | 167 PassRefPtr<CSSValueList> parseFilter(); |
| 185 PassRefPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParserValueList*,
CSSFilterValue::FilterOperationType); | 168 PassRefPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParserValueList*,
CSSFilterValue::FilterOperationType); |
| 186 | 169 |
| 187 PassRefPtr<CSSValueList> parseTransformOrigin(); | 170 PassRefPtr<CSSValueList> parseTransformOrigin(); |
| 188 PassRefPtr<CSSValueList> parseTransform(CSSPropertyID); | 171 PassRefPtr<CSSValueList> parseTransform(CSSPropertyID); |
| 189 PassRefPtr<CSSValue> parseTransformValue(CSSPropertyID, CSSParserValue*); | 172 PassRefPtr<CSSValue> parseTransformValue(CSSPropertyID, CSSParserValue*); |
| 190 | 173 |
| 191 bool parseTextEmphasisStyle(); | 174 bool parseTextEmphasisStyle(); |
| 192 | 175 |
| 193 PassRefPtr<CSSValue> parseTouchAction(); | 176 PassRefPtr<CSSValue> parseTouchAction(); |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 CSSPropertyID cssPropertyID(const CSSParserString&); | 300 CSSPropertyID cssPropertyID(const CSSParserString&); |
| 318 CSSPropertyID cssPropertyID(const String&); | 301 CSSPropertyID cssPropertyID(const String&); |
| 319 CSSValueID cssValueKeywordID(const CSSParserString&); | 302 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 320 | 303 |
| 321 bool isKeywordPropertyID(CSSPropertyID); | 304 bool isKeywordPropertyID(CSSPropertyID); |
| 322 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); | 305 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo
ntext&); |
| 323 | 306 |
| 324 } // namespace blink | 307 } // namespace blink |
| 325 | 308 |
| 326 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_ | 309 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_ |
| OLD | NEW |