| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 static bool parseColor(RGBA32& color, const String&, bool strict = false); | 88 static bool parseColor(RGBA32& color, const String&, bool strict = false); |
| 89 static StyleColor colorFromRGBColorString(const String&); | 89 static StyleColor colorFromRGBColorString(const String&); |
| 90 static bool parseSystemColor(RGBA32& color, const String&); | 90 static bool parseSystemColor(RGBA32& color, const String&); |
| 91 bool parseDeclaration(MutableStylePropertySet*, const String&, CSSParserObse
rver*, StyleSheetContents* contextStyleSheet); | 91 bool parseDeclaration(MutableStylePropertySet*, const String&, CSSParserObse
rver*, StyleSheetContents* contextStyleSheet); |
| 92 static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> parseInlineStyleDec
laration(const String&, Element*); | 92 static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> parseInlineStyleDec
laration(const String&, Element*); |
| 93 PassOwnPtr<Vector<double> > parseKeyframeKeyList(const String&); | 93 PassOwnPtr<Vector<double> > parseKeyframeKeyList(const String&); |
| 94 bool parseAttributeMatchType(CSSSelector::AttributeMatchType&, const String&
); | 94 bool parseAttributeMatchType(CSSSelector::AttributeMatchType&, const String&
); |
| 95 | 95 |
| 96 bool parseValue(CSSPropertyID, bool important); | 96 bool parseValue(CSSPropertyID, bool important); |
| 97 void parseSelector(const String&, CSSSelectorList&); | 97 void parseSelector(const String&, CSSSelectorList&); |
| 98 bool isSelectorAllowedInParsingMode(CSSSelector::PseudoType); |
| 98 | 99 |
| 99 CSSParserSelector* createFloatingSelector(); | 100 CSSParserSelector* createFloatingSelector(); |
| 100 CSSParserSelector* createFloatingSelectorWithTagName(const QualifiedName&); | 101 CSSParserSelector* createFloatingSelectorWithTagName(const QualifiedName&); |
| 101 PassOwnPtr<CSSParserSelector> sinkFloatingSelector(CSSParserSelector*); | 102 PassOwnPtr<CSSParserSelector> sinkFloatingSelector(CSSParserSelector*); |
| 102 | 103 |
| 103 Vector<OwnPtr<CSSParserSelector> >* createFloatingSelectorVector(); | 104 Vector<OwnPtr<CSSParserSelector> >* createFloatingSelectorVector(); |
| 104 PassOwnPtr<Vector<OwnPtr<CSSParserSelector> > > sinkFloatingSelectorVector(V
ector<OwnPtr<CSSParserSelector> >*); | 105 PassOwnPtr<Vector<OwnPtr<CSSParserSelector> > > sinkFloatingSelectorVector(V
ector<OwnPtr<CSSParserSelector> >*); |
| 105 | 106 |
| 106 CSSParserValueList* createFloatingValueList(); | 107 CSSParserValueList* createFloatingValueList(); |
| 107 PassOwnPtr<CSSParserValueList> sinkFloatingValueList(CSSParserValueList*); | 108 PassOwnPtr<CSSParserValueList> sinkFloatingValueList(CSSParserValueList*); |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 inline int cssyylex(void* yylval, BisonCSSParser* parser) | 311 inline int cssyylex(void* yylval, BisonCSSParser* parser) |
| 311 { | 312 { |
| 312 return parser->m_tokenizer.lex(yylval); | 313 return parser->m_tokenizer.lex(yylval); |
| 313 } | 314 } |
| 314 | 315 |
| 315 bool isValidNthToken(const CSSParserString&); | 316 bool isValidNthToken(const CSSParserString&); |
| 316 | 317 |
| 317 } // namespace blink | 318 } // namespace blink |
| 318 | 319 |
| 319 #endif // BisonCSSParser_h | 320 #endif // BisonCSSParser_h |
| OLD | NEW |