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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 CSSParserFunction* createFloatingFunction(); | 304 CSSParserFunction* createFloatingFunction(); |
305 CSSParserFunction* createFloatingFunction(const CSSParserString& name, PassO
wnPtr<CSSParserValueList> args); | 305 CSSParserFunction* createFloatingFunction(const CSSParserString& name, PassO
wnPtr<CSSParserValueList> args); |
306 PassOwnPtr<CSSParserFunction> sinkFloatingFunction(CSSParserFunction*); | 306 PassOwnPtr<CSSParserFunction> sinkFloatingFunction(CSSParserFunction*); |
307 | 307 |
308 CSSParserValue& sinkFloatingValue(CSSParserValue&); | 308 CSSParserValue& sinkFloatingValue(CSSParserValue&); |
309 | 309 |
310 MediaQuerySet* createMediaQuerySet(); | 310 MediaQuerySet* createMediaQuerySet(); |
311 StyleRuleBase* createImportRule(const CSSParserString&, MediaQuerySet*); | 311 StyleRuleBase* createImportRule(const CSSParserString&, MediaQuerySet*); |
312 StyleKeyframe* createKeyframe(CSSParserValueList*); | 312 StyleKeyframe* createKeyframe(CSSParserValueList*); |
313 StyleRuleKeyframes* createKeyframesRule(const String&, PassOwnPtr<Vector<Ref
Ptr<StyleKeyframe> > >); | 313 StyleRuleKeyframes* createKeyframesRule(const String&, PassOwnPtr<Vector<Ref
Ptr<StyleKeyframe> > >, bool isPrefixed); |
314 | 314 |
315 typedef Vector<RefPtr<StyleRuleBase> > RuleList; | 315 typedef Vector<RefPtr<StyleRuleBase> > RuleList; |
316 StyleRuleBase* createMediaRule(MediaQuerySet*, RuleList*); | 316 StyleRuleBase* createMediaRule(MediaQuerySet*, RuleList*); |
317 RuleList* createRuleList(); | 317 RuleList* createRuleList(); |
318 StyleRuleBase* createStyleRule(Vector<OwnPtr<CSSParserSelector> >* selectors
); | 318 StyleRuleBase* createStyleRule(Vector<OwnPtr<CSSParserSelector> >* selectors
); |
319 StyleRuleBase* createFontFaceRule(); | 319 StyleRuleBase* createFontFaceRule(); |
320 StyleRuleBase* createPageRule(PassOwnPtr<CSSParserSelector> pageSelector); | 320 StyleRuleBase* createPageRule(PassOwnPtr<CSSParserSelector> pageSelector); |
321 StyleRuleBase* createRegionRule(Vector<OwnPtr<CSSParserSelector> >* regionSe
lector, RuleList* rules); | 321 StyleRuleBase* createRegionRule(Vector<OwnPtr<CSSParserSelector> >* regionSe
lector, RuleList* rules); |
322 StyleRuleBase* createMarginAtRule(CSSSelector::MarginBoxType); | 322 StyleRuleBase* createMarginAtRule(CSSSelector::MarginBoxType); |
323 StyleRuleBase* createSupportsRule(bool conditionIsSupported, RuleList*); | 323 StyleRuleBase* createSupportsRule(bool conditionIsSupported, RuleList*); |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 } | 757 } |
758 | 758 |
759 inline int cssyylex(void* yylval, CSSParser* parser) | 759 inline int cssyylex(void* yylval, CSSParser* parser) |
760 { | 760 { |
761 return parser->lex(yylval); | 761 return parser->lex(yylval); |
762 } | 762 } |
763 | 763 |
764 } // namespace WebCore | 764 } // namespace WebCore |
765 | 765 |
766 #endif // CSSParser_h | 766 #endif // CSSParser_h |
OLD | NEW |