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

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, 8 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 void updateFont(StyleResolverState&); 200 void updateFont(StyleResolverState&);
201 201
202 static AuthorStyleInfo authorStyleInfo(StyleResolverState&); 202 static AuthorStyleInfo authorStyleInfo(StyleResolverState&);
203 203
204 void loadPendingResources(StyleResolverState&); 204 void loadPendingResources(StyleResolverState&);
205 void adjustComputedStyle(StyleResolverState&, Element*); 205 void adjustComputedStyle(StyleResolverState&, Element*);
206 206
207 void appendCSSStyleSheet(CSSStyleSheet&); 207 void appendCSSStyleSheet(CSSStyleSheet&);
208 void addRulesFromSheet(CSSStyleSheet&, TreeScope*, unsigned); 208 void addRulesFromSheet(CSSStyleSheet&, TreeScope*, unsigned);
209 209
210 bool pseudoElementRequired(PseudoId, LayoutObject&);
211
210 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId, unsigned rulesToInclude); 212 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId, unsigned rulesToInclude);
211 void matchRuleSet(ElementRuleCollector&, RuleSet*); 213 void matchRuleSet(ElementRuleCollector&, RuleSet*);
212 void matchUARules(ElementRuleCollector&); 214 void matchUARules(ElementRuleCollector&);
213 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s); 215 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s);
214 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties); 216 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties);
215 void collectFeatures(); 217 void collectFeatures();
216 void resetRuleFeatures(); 218 void resetRuleFeatures();
217 219
218 bool fastRejectSelector(const RuleData&) const; 220 bool fastRejectSelector(const RuleData&) const;
219 221
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 283 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
282 unsigned m_styleResolverStatsSequence; 284 unsigned m_styleResolverStatsSequence;
283 285
284 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 286 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
285 unsigned m_accessCount; 287 unsigned m_accessCount;
286 }; 288 };
287 289
288 } // namespace blink 290 } // namespace blink
289 291
290 #endif // StyleResolver_h 292 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698