OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |