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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 bool consumeGridItemPositionShorthand(CSSPropertyID, bool important); | 118 bool consumeGridItemPositionShorthand(CSSPropertyID, bool important); |
119 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateColumns(bool important); | 119 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateColumns(bool important); |
120 bool parseGridTemplateRowsAndAreasAndColumns(bool important); | 120 bool parseGridTemplateRowsAndAreasAndColumns(bool important); |
121 bool parseGridTemplateShorthand(bool important); | 121 bool parseGridTemplateShorthand(bool important); |
122 bool parseGridShorthand(bool important); | 122 bool parseGridShorthand(bool important); |
123 bool consumeGridAreaShorthand(bool important); | 123 bool consumeGridAreaShorthand(bool important); |
124 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); | 124 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); |
125 bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat); | 125 bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat); |
126 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu
tList, TrackSizeRestriction = AllowAll); | 126 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu
tList, TrackSizeRestriction = AllowAll); |
127 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*,
TrackSizeRestriction = AllowAll); | 127 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*,
TrackSizeRestriction = AllowAll); |
128 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); | |
129 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); | |
130 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames
Value* = nullptr); | 128 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames
Value* = nullptr); |
131 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); | 129 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); |
132 | 130 |
133 bool consumeFont(bool important); | 131 bool consumeFont(bool important); |
134 bool consumeSystemFont(bool important); | 132 bool consumeSystemFont(bool important); |
135 | 133 |
136 bool consumeBorderSpacing(bool important); | 134 bool consumeBorderSpacing(bool important); |
137 | 135 |
138 // CSS3 Parsing Routines (for properties specific to CSS3) | 136 // CSS3 Parsing Routines (for properties specific to CSS3) |
139 bool consumeBorderImage(CSSPropertyID, bool important); | 137 bool consumeBorderImage(CSSPropertyID, bool important); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 WillBeHeapVector<CSSProperty, 256>* m_parsedProperties; | 190 WillBeHeapVector<CSSProperty, 256>* m_parsedProperties; |
193 | 191 |
194 // Locals during parsing: | 192 // Locals during parsing: |
195 int m_inParseShorthand; | 193 int m_inParseShorthand; |
196 CSSPropertyID m_currentShorthand; | 194 CSSPropertyID m_currentShorthand; |
197 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; | 195 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; |
198 }; | 196 }; |
199 | 197 |
200 // TODO(rob.buis): should move to CSSPropertyParser after conversion. | 198 // TODO(rob.buis): should move to CSSPropertyParser after conversion. |
201 bool allTracksAreFixedSized(CSSValueList&); | 199 bool allTracksAreFixedSized(CSSValueList&); |
| 200 bool parseGridTemplateAreasRow(const String&, NamedGridAreaMap&, const size_t, s
ize_t&); |
202 | 201 |
203 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); | 202 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); |
204 CSSValueID cssValueKeywordID(const CSSParserString&); | 203 CSSValueID cssValueKeywordID(const CSSParserString&); |
205 | 204 |
206 } // namespace blink | 205 } // namespace blink |
207 | 206 |
208 #endif // CSSPropertyParser_h | 207 #endif // CSSPropertyParser_h |
OLD | NEW |