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

Side by Side Diff: Source/core/css/resolver/StyleResolver.h

Issue 778003003: List marker pseudo elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // FIXME: This should probably go away, folded into FontBuilder. 205 // FIXME: This should probably go away, folded into FontBuilder.
206 void updateFont(StyleResolverState&); 206 void updateFont(StyleResolverState&);
207 207
208 void loadPendingResources(StyleResolverState&); 208 void loadPendingResources(StyleResolverState&);
209 void adjustRenderStyle(StyleResolverState&, Element*); 209 void adjustRenderStyle(StyleResolverState&, Element*);
210 210
211 void appendCSSStyleSheet(CSSStyleSheet&); 211 void appendCSSStyleSheet(CSSStyleSheet&);
212 void addRulesFromSheet(CSSStyleSheet&, TreeScope*, unsigned); 212 void addRulesFromSheet(CSSStyleSheet&, TreeScope*, unsigned);
213 void processScopedRules(const RuleSet& authorRules, CSSStyleSheet*, unsigned sheetIndex, ContainerNode& scope); 213 void processScopedRules(const RuleSet& authorRules, CSSStyleSheet*, unsigned sheetIndex, ContainerNode& scope);
214 214
215 bool pseudoElementRequired(PseudoId, RenderObject&);
216
215 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId, unsigned rulesToInclude); 217 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId, unsigned rulesToInclude);
216 void matchRuleSet(ElementRuleCollector&, RuleSet*); 218 void matchRuleSet(ElementRuleCollector&, RuleSet*);
217 void matchUARules(ElementRuleCollector&); 219 void matchUARules(ElementRuleCollector&);
218 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s); 220 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s);
219 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties); 221 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties);
220 void collectFeatures(); 222 void collectFeatures();
221 void resetRuleFeatures(); 223 void resetRuleFeatures();
222 224
223 bool fastRejectSelector(const RuleData&) const; 225 bool fastRejectSelector(const RuleData&) const;
224 226
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 298 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
297 unsigned m_styleResolverStatsSequence; 299 unsigned m_styleResolverStatsSequence;
298 300
299 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 301 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
300 unsigned m_accessCount; 302 unsigned m_accessCount;
301 }; 303 };
302 304
303 } // namespace blink 305 } // namespace blink
304 306
305 #endif // StyleResolver_h 307 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698