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

Side by Side Diff: sky/engine/core/css/parser/BisonCSSParser.h

Issue 800083003: Remove hasSyntacticallyValidCSSHeader. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 PassOwnPtr<MediaQuery> sinkFloatingMediaQuery(MediaQuery*); 152 PassOwnPtr<MediaQuery> sinkFloatingMediaQuery(MediaQuery*);
153 153
154 Vector<RefPtr<StyleKeyframe> >* createFloatingKeyframeVector(); 154 Vector<RefPtr<StyleKeyframe> >* createFloatingKeyframeVector();
155 PassOwnPtr<Vector<RefPtr<StyleKeyframe> > > sinkFloatingKeyframeVector(Vecto r<RefPtr<StyleKeyframe> >*); 155 PassOwnPtr<Vector<RefPtr<StyleKeyframe> > > sinkFloatingKeyframeVector(Vecto r<RefPtr<StyleKeyframe> >*);
156 156
157 CSSParserSelector* rewriteSpecifiersWithElementName(const AtomicString& name spacePrefix, const AtomicString& elementName, CSSParserSelector*, bool isNamespa cePlaceholder = false); 157 CSSParserSelector* rewriteSpecifiersWithElementName(const AtomicString& name spacePrefix, const AtomicString& elementName, CSSParserSelector*, bool isNamespa cePlaceholder = false);
158 CSSParserSelector* rewriteSpecifiersWithNamespaceIfNeeded(CSSParserSelector* ); 158 CSSParserSelector* rewriteSpecifiersWithNamespaceIfNeeded(CSSParserSelector* );
159 CSSParserSelector* rewriteSpecifiers(CSSParserSelector*, CSSParserSelector*) ; 159 CSSParserSelector* rewriteSpecifiers(CSSParserSelector*, CSSParserSelector*) ;
160 CSSParserSelector* rewriteSpecifiersForShadowDistributed(CSSParserSelector* specifiers, CSSParserSelector* distributedPseudoElementSelector); 160 CSSParserSelector* rewriteSpecifiersForShadowDistributed(CSSParserSelector* specifiers, CSSParserSelector* distributedPseudoElementSelector);
161 161
162 void invalidBlockHit(); 162 void invalidBlockHit() { }
163 163
164 Vector<OwnPtr<CSSParserSelector> >* reusableSelectorVector() { return &m_reu sableSelectorVector; } 164 Vector<OwnPtr<CSSParserSelector> >* reusableSelectorVector() { return &m_reu sableSelectorVector; }
165 165
166 void clearProperties(); 166 void clearProperties();
167 167
168 PassRefPtr<ImmutableStylePropertySet> createStylePropertySet(); 168 PassRefPtr<ImmutableStylePropertySet> createStylePropertySet();
169 169
170 CSSParserContext m_context; 170 CSSParserContext m_context;
171 171
172 bool m_important; 172 bool m_important;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 inline int cssyylex(void* yylval, BisonCSSParser* parser) 277 inline int cssyylex(void* yylval, BisonCSSParser* parser)
278 { 278 {
279 return parser->m_tokenizer.lex(yylval); 279 return parser->m_tokenizer.lex(yylval);
280 } 280 }
281 281
282 bool isValidNthToken(const CSSParserString&); 282 bool isValidNthToken(const CSSParserString&);
283 283
284 } // namespace blink 284 } // namespace blink
285 285
286 #endif // SKY_ENGINE_CORE_CSS_PARSER_BISONCSSPARSER_H_ 286 #endif // SKY_ENGINE_CORE_CSS_PARSER_BISONCSSPARSER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/StyleSheetContents.cpp ('k') | sky/engine/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698