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

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

Issue 778003003: List marker pseudo elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/html.css ('k') | Source/core/css/parser/CSSSelectorParser.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSSelectorParser_h 5 #ifndef CSSSelectorParser_h
6 #define CSSSelectorParser_h 6 #define CSSSelectorParser_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/parser/CSSParserTokenRange.h" 9 #include "core/css/parser/CSSParserTokenRange.h"
10 #include "core/css/parser/CSSParserValues.h" 10 #include "core/css/parser/CSSParserValues.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 CSSSelector::Relation consumeCombinator(CSSParserTokenRange&); 49 CSSSelector::Relation consumeCombinator(CSSParserTokenRange&);
50 CSSSelector::Match consumeAttributeMatch(CSSParserTokenRange&); 50 CSSSelector::Match consumeAttributeMatch(CSSParserTokenRange&);
51 CSSSelector::AttributeMatchType consumeAttributeFlags(CSSParserTokenRange&); 51 CSSSelector::AttributeMatchType consumeAttributeFlags(CSSParserTokenRange&);
52 52
53 QualifiedName determineNameInNamespace(const AtomicString& prefix, const Ato micString& localName); 53 QualifiedName determineNameInNamespace(const AtomicString& prefix, const Ato micString& localName);
54 void prependTypeSelectorIfNeeded(const AtomicString& namespacePrefix, const AtomicString& elementName, CSSParserSelector*); 54 void prependTypeSelectorIfNeeded(const AtomicString& namespacePrefix, const AtomicString& elementName, CSSParserSelector*);
55 void rewriteSpecifiersWithElementNameForCustomPseudoElement(const QualifiedN ame& tag, CSSParserSelector*, bool tagIsImplicit); 55 void rewriteSpecifiersWithElementNameForCustomPseudoElement(const QualifiedN ame& tag, CSSParserSelector*, bool tagIsImplicit);
56 void rewriteSpecifiersWithElementNameForContentPseudoElement(const Qualified Name& tag, CSSParserSelector*, bool tagIsImplicit); 56 void rewriteSpecifiersWithElementNameForContentPseudoElement(const Qualified Name& tag, CSSParserSelector*, bool tagIsImplicit);
57 static PassOwnPtr<CSSParserSelector> addSimpleSelectorToCompound(PassOwnPtr< CSSParserSelector> compoundSelector, PassOwnPtr<CSSParserSelector> simpleSelecto r); 57 static PassOwnPtr<CSSParserSelector> addSimpleSelectorToCompound(PassOwnPtr< CSSParserSelector> compoundSelector, PassOwnPtr<CSSParserSelector> simpleSelecto r);
58 58
59 bool selectorIsAllowedInParsingMode(CSSSelector::PseudoType) const;
60
59 const CSSParserContext& m_context; 61 const CSSParserContext& m_context;
60 AtomicString m_defaultNamespace; 62 AtomicString m_defaultNamespace;
61 StyleSheetContents* m_styleSheet; // FIXME: Should be const 63 StyleSheetContents* m_styleSheet; // FIXME: Should be const
62 64
63 bool m_failedParsing; 65 bool m_failedParsing;
64 }; 66 };
65 67
66 } // namespace 68 } // namespace
67 69
68 #endif // CSSSelectorParser_h 70 #endif // CSSSelectorParser_h
OLDNEW
« no previous file with comments | « Source/core/css/html.css ('k') | Source/core/css/parser/CSSSelectorParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698