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 19 matching lines...) Expand all Loading... | |
30 #include "core/css/CSSGradientValue.h" | 30 #include "core/css/CSSGradientValue.h" |
31 #include "core/css/CSSParserMode.h" | 31 #include "core/css/CSSParserMode.h" |
32 #include "core/css/CSSParserValues.h" | 32 #include "core/css/CSSParserValues.h" |
33 #include "core/css/CSSProperty.h" | 33 #include "core/css/CSSProperty.h" |
34 #include "core/css/CSSPropertySourceData.h" | 34 #include "core/css/CSSPropertySourceData.h" |
35 #include "core/css/CSSSelector.h" | 35 #include "core/css/CSSSelector.h" |
36 #include "core/css/CSSTokenizer.h" | 36 #include "core/css/CSSTokenizer.h" |
37 #include "core/css/MediaQuery.h" | 37 #include "core/css/MediaQuery.h" |
38 #include "core/css/StylePropertySet.h" | 38 #include "core/css/StylePropertySet.h" |
39 #include "core/css/parser/CSSParserObserver.h" | 39 #include "core/css/parser/CSSParserObserver.h" |
40 #include "core/rendering/style/GridCoordinate.h" | |
svillar
2014/02/07 12:02:49
I think you don't need this
| |
40 #include "platform/graphics/Color.h" | 41 #include "platform/graphics/Color.h" |
41 #include "wtf/HashSet.h" | 42 #include "wtf/HashSet.h" |
42 #include "wtf/OwnPtr.h" | 43 #include "wtf/OwnPtr.h" |
43 #include "wtf/Vector.h" | 44 #include "wtf/Vector.h" |
44 #include "wtf/text/AtomicString.h" | 45 #include "wtf/text/AtomicString.h" |
45 #include "wtf/text/TextPosition.h" | 46 #include "wtf/text/TextPosition.h" |
46 | 47 |
47 namespace WebCore { | 48 namespace WebCore { |
48 | 49 |
49 class AnimationParseContext; | 50 class AnimationParseContext; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
158 bool parseTransitionShorthand(CSSPropertyID, bool important); | 159 bool parseTransitionShorthand(CSSPropertyID, bool important); |
159 bool parseAnimationShorthand(CSSPropertyID, bool important); | 160 bool parseAnimationShorthand(CSSPropertyID, bool important); |
160 | 161 |
161 PassRefPtr<CSSValue> parseColumnWidth(); | 162 PassRefPtr<CSSValue> parseColumnWidth(); |
162 PassRefPtr<CSSValue> parseColumnCount(); | 163 PassRefPtr<CSSValue> parseColumnCount(); |
163 bool parseColumnsShorthand(bool important); | 164 bool parseColumnsShorthand(bool important); |
164 | 165 |
165 PassRefPtr<CSSValue> parseGridPosition(); | 166 PassRefPtr<CSSValue> parseGridPosition(); |
166 bool parseIntegerOrStringFromGridPosition(RefPtr<CSSPrimitiveValue>& numeric Value, RefPtr<CSSPrimitiveValue>& gridLineName); | 167 bool parseIntegerOrStringFromGridPosition(RefPtr<CSSPrimitiveValue>& numeric Value, RefPtr<CSSPrimitiveValue>& gridLineName); |
167 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); | 168 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); |
169 bool parseGridTemplateShorthand(bool important); | |
170 bool parseGridTemplateRowsAndAreas(bool important); | |
171 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); | |
168 bool parseGridAreaShorthand(bool important); | 172 bool parseGridAreaShorthand(bool important); |
169 bool parseSingleGridAreaLonghand(RefPtr<CSSValue>&); | 173 bool parseSingleGridAreaLonghand(RefPtr<CSSValue>&); |
170 bool parseGridTrackList(CSSPropertyID, bool important); | 174 bool parseGridTrackList(CSSPropertyID, bool important); |
171 bool parseGridTrackRepeatFunction(CSSValueList&); | 175 bool parseGridTrackRepeatFunction(CSSValueList&); |
172 PassRefPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList); | 176 PassRefPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList); |
173 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); | 177 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); |
174 PassRefPtr<CSSValue> parseGridTemplateAreas(); | 178 PassRefPtr<CSSValue> parseGridTemplateAreas(); |
175 void parseGridLineNames(CSSParserValueList* inputList, CSSValueList&); | 179 void parseGridLineNames(CSSParserValueList* inputList, CSSValueList&, bool c oncat = false); |
svillar
2014/02/07 12:02:49
In general I don't like the usage of bools to chan
| |
176 | 180 |
177 bool parseClipShape(CSSPropertyID, bool important); | 181 bool parseClipShape(CSSPropertyID, bool important); |
178 | 182 |
179 bool parseItemPositionOverflowPosition(CSSPropertyID, bool important); | 183 bool parseItemPositionOverflowPosition(CSSPropertyID, bool important); |
180 | 184 |
181 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); | 185 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); |
182 PassRefPtr<CSSPrimitiveValue> parseBasicShape(); | 186 PassRefPtr<CSSPrimitiveValue> parseBasicShape(); |
183 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*); | 187 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*); |
184 | 188 |
185 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ; | 189 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ; |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
629 bool isValidNthToken(const CSSParserString&); | 633 bool isValidNthToken(const CSSParserString&); |
630 | 634 |
631 inline int cssyylex(void* yylval, BisonCSSParser* parser) | 635 inline int cssyylex(void* yylval, BisonCSSParser* parser) |
632 { | 636 { |
633 return parser->m_tokenizer.lex(yylval); | 637 return parser->m_tokenizer.lex(yylval); |
634 } | 638 } |
635 | 639 |
636 } // namespace WebCore | 640 } // namespace WebCore |
637 | 641 |
638 #endif // BisonCSSParser_h | 642 #endif // BisonCSSParser_h |
OLD | NEW |