Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: Source/core/css/parser/BisonCSSParser.h

Issue 662243003: Use ::-internal-media-controls* instead of ::-webkit-media-controls* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: introduce PseudoInternalCustomElement Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/mediaControlsAndroid.css ('k') | Source/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/css/mediaControlsAndroid.css ('k') | Source/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698