| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 161 |
| 162 void addFillValue(RefPtrWillBeRawPtr<CSSValue>& lval, PassRefPtrWillBeRawPtr
<CSSValue> rval); | 162 void addFillValue(RefPtrWillBeRawPtr<CSSValue>& lval, PassRefPtrWillBeRawPtr
<CSSValue> rval); |
| 163 | 163 |
| 164 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double&
result); | 164 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double&
result); |
| 165 | 165 |
| 166 // Legacy parsing allows <string>s for animation-name | 166 // Legacy parsing allows <string>s for animation-name |
| 167 bool consumeAnimationShorthand(const StylePropertyShorthand&, bool useLegacy
Parsing, bool important); | 167 bool consumeAnimationShorthand(const StylePropertyShorthand&, bool useLegacy
Parsing, bool important); |
| 168 | 168 |
| 169 bool consumeColumns(bool important); | 169 bool consumeColumns(bool important); |
| 170 | 170 |
| 171 enum TrackSizeRestriction { FixedSizeOnly, AllowAll }; |
| 171 PassRefPtrWillBeRawPtr<CSSValue> parseGridPosition(); | 172 PassRefPtrWillBeRawPtr<CSSValue> parseGridPosition(); |
| 172 bool parseIntegerOrCustomIdentFromGridPosition(RefPtrWillBeRawPtr<CSSPrimiti
veValue>& numericValue, RefPtrWillBeRawPtr<CSSCustomIdentValue>& gridLineName); | 173 bool parseIntegerOrCustomIdentFromGridPosition(RefPtrWillBeRawPtr<CSSPrimiti
veValue>& numericValue, RefPtrWillBeRawPtr<CSSCustomIdentValue>& gridLineName); |
| 173 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); | 174 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); |
| 174 bool parseGridTemplateRowsAndAreas(PassRefPtrWillBeRawPtr<CSSValue>, bool im
portant); | 175 bool parseGridTemplateRowsAndAreas(PassRefPtrWillBeRawPtr<CSSValue>, bool im
portant); |
| 175 bool parseGridTemplateShorthand(bool important); | 176 bool parseGridTemplateShorthand(bool important); |
| 176 bool parseGridShorthand(bool important); | 177 bool parseGridShorthand(bool important); |
| 177 bool parseGridAreaShorthand(bool important); | 178 bool parseGridAreaShorthand(bool important); |
| 178 bool parseGridGapShorthand(bool important); | 179 bool parseGridGapShorthand(bool important); |
| 179 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&); | 180 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&); |
| 180 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); | 181 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); |
| 181 bool parseGridTrackRepeatFunction(CSSValueList&); | 182 bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat); |
| 182 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu
tList); | 183 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu
tList, TrackSizeRestriction = AllowAll); |
| 183 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); | 184 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*,
TrackSizeRestriction = AllowAll); |
| 184 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); | 185 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); |
| 185 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); | 186 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); |
| 186 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames
Value* = nullptr); | 187 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames
Value* = nullptr); |
| 187 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); | 188 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); |
| 188 | 189 |
| 189 PassRefPtrWillBeRawPtr<CSSValue> parseLegacyPosition(); | 190 PassRefPtrWillBeRawPtr<CSSValue> parseLegacyPosition(); |
| 190 PassRefPtrWillBeRawPtr<CSSValue> parseItemPositionOverflowPosition(); | 191 PassRefPtrWillBeRawPtr<CSSValue> parseItemPositionOverflowPosition(); |
| 191 PassRefPtrWillBeRawPtr<CSSValue> parseContentDistributionOverflowPosition(); | 192 PassRefPtrWillBeRawPtr<CSSValue> parseContentDistributionOverflowPosition(); |
| 192 | 193 |
| 193 PassRefPtrWillBeRawPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); | 194 PassRefPtrWillBeRawPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 | 329 |
| 329 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 330 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
| 330 CSSValueID cssValueKeywordID(const CSSParserString&); | 331 CSSValueID cssValueKeywordID(const CSSParserString&); |
| 331 | 332 |
| 332 // TODO(rwlbuis): move to CSSPropertyParser.cpp once CSSParserToken conversion i
s done. | 333 // TODO(rwlbuis): move to CSSPropertyParser.cpp once CSSParserToken conversion i
s done. |
| 333 void completeBorderRadii(RefPtrWillBeRawPtr<CSSPrimitiveValue> radii[4]); | 334 void completeBorderRadii(RefPtrWillBeRawPtr<CSSPrimitiveValue> radii[4]); |
| 334 | 335 |
| 335 } // namespace blink | 336 } // namespace blink |
| 336 | 337 |
| 337 #endif // CSSPropertyParser_h | 338 #endif // CSSPropertyParser_h |
| OLD | NEW |