| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 void loadPendingResources(StyleResolverState&); | 193 void loadPendingResources(StyleResolverState&); |
| 194 void adjustComputedStyle(StyleResolverState&, Element*); | 194 void adjustComputedStyle(StyleResolverState&, Element*); |
| 195 | 195 |
| 196 void appendCSSStyleSheet(CSSStyleSheet&); | 196 void appendCSSStyleSheet(CSSStyleSheet&); |
| 197 | 197 |
| 198 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); | 198 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); |
| 199 void matchRuleSet(ElementRuleCollector&, RuleSet*); | 199 void matchRuleSet(ElementRuleCollector&, RuleSet*); |
| 200 void matchUARules(ElementRuleCollector&); | 200 void matchUARules(ElementRuleCollector&); |
| 201 void matchAuthorRules(const Element&, ElementRuleCollector&, bool includeEmp
tyRules); | 201 void matchAuthorRules(const Element&, ElementRuleCollector&, bool includeEmp
tyRules); |
| 202 void matchHostRules(const Element&, ElementRuleCollector&, bool includeEmpty
Rules); | 202 void matchHostRules(const Element&, ElementRuleCollector&, bool includeEmpty
Rules); |
| 203 void matchElementScopeRules(const Element&, ScopedStyleResolver*, ElementRul
eCollector&, bool includeEmptyRules); | 203 void matchElementScopeRules(ScopedStyleResolver&, ElementRuleCollector&, boo
l includeEmptyRules); |
| 204 void matchScopedRules(const Element&, ElementRuleCollector&, bool includeEmp
tyRules); | 204 void matchScopedRules(const Element&, ElementRuleCollector&, bool includeEmp
tyRules); |
| 205 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); | 205 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); |
| 206 void collectFeatures(); | 206 void collectFeatures(); |
| 207 void resetRuleFeatures(); | 207 void resetRuleFeatures(); |
| 208 | 208 |
| 209 void applyMatchedProperties(StyleResolverState&, const MatchResult&); | 209 void applyMatchedProperties(StyleResolverState&, const MatchResult&); |
| 210 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl
ement); | 210 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl
ement); |
| 211 void applyCallbackSelectors(StyleResolverState&); | 211 void applyCallbackSelectors(StyleResolverState&); |
| 212 | 212 |
| 213 template <CSSPropertyPriority priority> | 213 template <CSSPropertyPriority priority> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 | 259 |
| 260 OwnPtr<StyleResolverStats> m_styleResolverStats; | 260 OwnPtr<StyleResolverStats> m_styleResolverStats; |
| 261 | 261 |
| 262 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 262 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
| 263 unsigned m_accessCount; | 263 unsigned m_accessCount; |
| 264 }; | 264 }; |
| 265 | 265 |
| 266 } // namespace blink | 266 } // namespace blink |
| 267 | 267 |
| 268 #endif // StyleResolver_h | 268 #endif // StyleResolver_h |
| OLD | NEW |