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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 void updateFont(StyleResolverState&); | 186 void updateFont(StyleResolverState&); |
187 | 187 |
188 void loadPendingResources(StyleResolverState&); | 188 void loadPendingResources(StyleResolverState&); |
189 void adjustComputedStyle(StyleResolverState&, Element*); | 189 void adjustComputedStyle(StyleResolverState&, Element*); |
190 | 190 |
191 void appendCSSStyleSheet(CSSStyleSheet&); | 191 void appendCSSStyleSheet(CSSStyleSheet&); |
192 | 192 |
193 void collectPseudoRulesForElement(const Element&, ElementRuleCollector&, Pse
udoId, unsigned rulesToInclude); | 193 void collectPseudoRulesForElement(const Element&, ElementRuleCollector&, Pse
udoId, unsigned rulesToInclude); |
194 void matchRuleSet(ElementRuleCollector&, RuleSet*); | 194 void matchRuleSet(ElementRuleCollector&, RuleSet*); |
195 void matchUARules(ElementRuleCollector&); | 195 void matchUARules(ElementRuleCollector&); |
| 196 void matchScopedRules(const Element&, ElementRuleCollector&); |
196 void matchAuthorRules(const Element&, ElementRuleCollector&); | 197 void matchAuthorRules(const Element&, ElementRuleCollector&); |
| 198 void matchAuthorRulesV0(const Element&, ElementRuleCollector&); |
197 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); | 199 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); |
198 void collectFeatures(); | 200 void collectFeatures(); |
199 void collectTreeBoundaryCrossingRules(const Element&, ElementRuleCollector&)
; | 201 void collectTreeBoundaryCrossingRules(const Element&, ElementRuleCollector&)
; |
200 | 202 |
201 void applyMatchedProperties(StyleResolverState&, const MatchResult&); | 203 void applyMatchedProperties(StyleResolverState&, const MatchResult&); |
202 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl
ement); | 204 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl
ement); |
203 void applyCallbackSelectors(StyleResolverState&); | 205 void applyCallbackSelectors(StyleResolverState&); |
204 | 206 |
205 template <CSSPropertyPriority priority> | 207 template <CSSPropertyPriority priority> |
206 void applyMatchedProperties(StyleResolverState&, const MatchedPropertiesRang
e&, bool important, bool inheritedOnly); | 208 void applyMatchedProperties(StyleResolverState&, const MatchedPropertiesRang
e&, bool important, bool inheritedOnly); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 bool m_needCollectFeatures; | 250 bool m_needCollectFeatures; |
249 bool m_printMediaType; | 251 bool m_printMediaType; |
250 | 252 |
251 unsigned m_styleSharingDepth; | 253 unsigned m_styleSharingDepth; |
252 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth>
m_styleSharingLists; | 254 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth>
m_styleSharingLists; |
253 }; | 255 }; |
254 | 256 |
255 } // namespace blink | 257 } // namespace blink |
256 | 258 |
257 #endif // StyleResolver_h | 259 #endif // StyleResolver_h |
OLD | NEW |