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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 virtual void fontsNeedUpdate(CSSFontSelector*) OVERRIDE; | 235 virtual void fontsNeedUpdate(CSSFontSelector*) OVERRIDE; |
236 | 236 |
237 private: | 237 private: |
238 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl
eRule> >& watchedSelectors); | 238 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl
eRule> >& watchedSelectors); |
239 | 239 |
240 void addTreeBoundaryCrossingRules(const WillBeHeapVector<MinimalRuleData>&,
ContainerNode* scope); | 240 void addTreeBoundaryCrossingRules(const WillBeHeapVector<MinimalRuleData>&,
ContainerNode* scope); |
241 | 241 |
242 // FIXME: This should probably go away, folded into FontBuilder. | 242 // FIXME: This should probably go away, folded into FontBuilder. |
243 void updateFont(StyleResolverState&); | 243 void updateFont(StyleResolverState&); |
244 | 244 |
| 245 void loadPendingResources(StyleResolverState&); |
| 246 |
245 void appendCSSStyleSheet(CSSStyleSheet*); | 247 void appendCSSStyleSheet(CSSStyleSheet*); |
246 | 248 |
247 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); | 249 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId,
unsigned rulesToInclude); |
248 void matchUARules(ElementRuleCollector&, RuleSet*); | 250 void matchUARules(ElementRuleCollector&, RuleSet*); |
249 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule
s); | 251 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule
s); |
250 void matchAuthorRulesForShadowHost(Element*, ElementRuleCollector&, bool inc
ludeEmptyRules, Vector<ScopedStyleResolver*, 8>& resolvers, Vector<ScopedStyleRe
solver*, 8>& resolversInShadowTree); | 252 void matchAuthorRulesForShadowHost(Element*, ElementRuleCollector&, bool inc
ludeEmptyRules, Vector<ScopedStyleResolver*, 8>& resolvers, Vector<ScopedStyleRe
solver*, 8>& resolversInShadowTree); |
251 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); | 253 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS
MILProperties); |
252 void matchUARules(ElementRuleCollector&); | 254 void matchUARules(ElementRuleCollector&); |
253 // FIXME: watched selectors should be implemented using injected author styl
esheets: http://crbug.com/316960 | 255 // FIXME: watched selectors should be implemented using injected author styl
esheets: http://crbug.com/316960 |
254 void matchWatchSelectorRules(ElementRuleCollector&); | 256 void matchWatchSelectorRules(ElementRuleCollector&); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 332 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
331 unsigned m_styleResolverStatsSequence; | 333 unsigned m_styleResolverStatsSequence; |
332 | 334 |
333 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 335 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
334 unsigned m_accessCount; | 336 unsigned m_accessCount; |
335 }; | 337 }; |
336 | 338 |
337 } // namespace WebCore | 339 } // namespace WebCore |
338 | 340 |
339 #endif // StyleResolver_h | 341 #endif // StyleResolver_h |
OLD | NEW |