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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 void trace(Visitor*); | 203 void trace(Visitor*); |
204 | 204 |
205 void addTreeBoundaryCrossingScope(ContainerNode& scope); | 205 void addTreeBoundaryCrossingScope(ContainerNode& scope); |
206 | 206 |
207 private: | 207 private: |
208 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl
eRule> >& watchedSelectors); | 208 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl
eRule> >& watchedSelectors); |
209 | 209 |
210 // FIXME: This should probably go away, folded into FontBuilder. | 210 // FIXME: This should probably go away, folded into FontBuilder. |
211 void updateFont(StyleResolverState&); | 211 void updateFont(StyleResolverState&); |
212 | 212 |
| 213 static AuthorStyleInfo authorStyleInfo(StyleResolverState&); |
| 214 |
213 void loadPendingResources(StyleResolverState&); | 215 void loadPendingResources(StyleResolverState&); |
214 void adjustLayoutStyle(StyleResolverState&, Element*); | 216 void adjustLayoutStyle(StyleResolverState&, Element*); |
215 | 217 |
216 void appendCSSStyleSheet(CSSStyleSheet&); | 218 void appendCSSStyleSheet(CSSStyleSheet&); |
217 void addRulesFromSheet(CSSStyleSheet&, TreeScope*, unsigned); | 219 void addRulesFromSheet(CSSStyleSheet&, TreeScope*, unsigned); |
218 | 220 |
219 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); | 221 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); |
220 void matchRuleSet(ElementRuleCollector&, RuleSet*); | 222 void matchRuleSet(ElementRuleCollector&, RuleSet*); |
221 void matchUARules(ElementRuleCollector&); | 223 void matchUARules(ElementRuleCollector&); |
222 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule
s); | 224 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule
s); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 292 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
291 unsigned m_styleResolverStatsSequence; | 293 unsigned m_styleResolverStatsSequence; |
292 | 294 |
293 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 295 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
294 unsigned m_accessCount; | 296 unsigned m_accessCount; |
295 }; | 297 }; |
296 | 298 |
297 } // namespace blink | 299 } // namespace blink |
298 | 300 |
299 #endif // StyleResolver_h | 301 #endif // StyleResolver_h |
OLD | NEW |