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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); | 215 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); |
216 void matchRuleSet(ElementRuleCollector&, RuleSet*); | 216 void matchRuleSet(ElementRuleCollector&, RuleSet*); |
217 void matchUARules(ElementRuleCollector&); | 217 void matchUARules(ElementRuleCollector&); |
218 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule
s); | 218 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule
s); |
219 void matchAuthorRulesForShadowHost(Element*, ElementRuleCollector&, bool inc
ludeEmptyRules, WillBeHeapVector<RawPtrWillBeMember<ScopedStyleResolver>, 8>& re
solversInShadowTree); | |
220 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); | 219 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); |
221 void collectFeatures(); | 220 void collectFeatures(); |
222 void resetRuleFeatures(); | 221 void resetRuleFeatures(); |
223 | 222 |
224 bool fastRejectSelector(const RuleData&) const; | 223 bool fastRejectSelector(const RuleData&) const; |
225 | 224 |
226 void applyMatchedProperties(StyleResolverState&, const MatchResult&); | 225 void applyMatchedProperties(StyleResolverState&, const MatchResult&); |
227 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl
ement); | 226 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl
ement); |
228 void applyCallbackSelectors(StyleResolverState&); | 227 void applyCallbackSelectors(StyleResolverState&); |
229 | 228 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 296 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
298 unsigned m_styleResolverStatsSequence; | 297 unsigned m_styleResolverStatsSequence; |
299 | 298 |
300 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 299 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
301 unsigned m_accessCount; | 300 unsigned m_accessCount; |
302 }; | 301 }; |
303 | 302 |
304 } // namespace blink | 303 } // namespace blink |
305 | 304 |
306 #endif // StyleResolver_h | 305 #endif // StyleResolver_h |
OLD | NEW |