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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 PassRefPtrWillBeRawPtr<StyleRuleKeyframe> parseKeyframeRule(StyleSheetConten
ts*, const String&); | 82 PassRefPtrWillBeRawPtr<StyleRuleKeyframe> parseKeyframeRule(StyleSheetConten
ts*, const String&); |
83 bool parseSupportsCondition(const String&); | 83 bool parseSupportsCondition(const String&); |
84 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String
&, bool important, const CSSParserContext&); | 84 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String
&, bool important, const CSSParserContext&); |
85 bool parseDeclaration(MutableStylePropertySet*, const String&, CSSParserObse
rver*, StyleSheetContents* contextStyleSheet); | 85 bool parseDeclaration(MutableStylePropertySet*, const String&, CSSParserObse
rver*, StyleSheetContents* contextStyleSheet); |
86 static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> parseInlineStyleDec
laration(const String&, Element*); | 86 static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> parseInlineStyleDec
laration(const String&, Element*); |
87 PassOwnPtr<Vector<double> > parseKeyframeKeyList(const String&); | 87 PassOwnPtr<Vector<double> > parseKeyframeKeyList(const String&); |
88 bool parseAttributeMatchType(CSSSelector::AttributeMatchType&, const String&
); | 88 bool parseAttributeMatchType(CSSSelector::AttributeMatchType&, const String&
); |
89 | 89 |
90 bool parseValue(CSSPropertyID, bool important); | 90 bool parseValue(CSSPropertyID, bool important); |
91 void parseSelector(const String&, CSSSelectorList&); | 91 void parseSelector(const String&, CSSSelectorList&); |
| 92 bool isSelectorAllowedInParsingMode(CSSSelector::PseudoType); |
92 | 93 |
93 CSSParserSelector* createFloatingSelector(); | 94 CSSParserSelector* createFloatingSelector(); |
94 CSSParserSelector* createFloatingSelectorWithTagName(const QualifiedName&); | 95 CSSParserSelector* createFloatingSelectorWithTagName(const QualifiedName&); |
95 PassOwnPtr<CSSParserSelector> sinkFloatingSelector(CSSParserSelector*); | 96 PassOwnPtr<CSSParserSelector> sinkFloatingSelector(CSSParserSelector*); |
96 | 97 |
97 Vector<OwnPtr<CSSParserSelector> >* createFloatingSelectorVector(); | 98 Vector<OwnPtr<CSSParserSelector> >* createFloatingSelectorVector(); |
98 PassOwnPtr<Vector<OwnPtr<CSSParserSelector> > > sinkFloatingSelectorVector(V
ector<OwnPtr<CSSParserSelector> >*); | 99 PassOwnPtr<Vector<OwnPtr<CSSParserSelector> > > sinkFloatingSelectorVector(V
ector<OwnPtr<CSSParserSelector> >*); |
99 | 100 |
100 CSSParserValueList* createFloatingValueList(); | 101 CSSParserValueList* createFloatingValueList(); |
101 PassOwnPtr<CSSParserValueList> sinkFloatingValueList(CSSParserValueList*); | 102 PassOwnPtr<CSSParserValueList> sinkFloatingValueList(CSSParserValueList*); |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 inline int cssyylex(void* yylval, BisonCSSParser* parser) | 303 inline int cssyylex(void* yylval, BisonCSSParser* parser) |
303 { | 304 { |
304 return parser->m_tokenizer.lex(yylval); | 305 return parser->m_tokenizer.lex(yylval); |
305 } | 306 } |
306 | 307 |
307 bool isValidNthToken(const CSSParserString&); | 308 bool isValidNthToken(const CSSParserString&); |
308 | 309 |
309 } // namespace blink | 310 } // namespace blink |
310 | 311 |
311 #endif // BisonCSSParser_h | 312 #endif // BisonCSSParser_h |
OLD | NEW |