class StyleSheetContents;
// This class selects a RenderStyle for a given element based on a collection of stylesheets.
-class ScopedStyleResolver FINAL : public NoBaseWillBeGarbageCollected<ScopedStyleResolver> {
+class ScopedStyleResolver final : public NoBaseWillBeGarbageCollected<ScopedStyleResolver> {
WTF_MAKE_NONCOPYABLE(ScopedStyleResolver);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
const StyleRuleKeyframes* keyframeStylesForAnimation(const StringImpl* animationName);
void addKeyframeStyle(PassRefPtrWillBeRawPtr<StyleRuleKeyframes>);
+ unsigned appendCSSStyleSheet(CSSStyleSheet*);
void collectMatchingAuthorRules(ElementRuleCollector&, bool includeEmptyRules, CascadeScope, CascadeOrder = ignoreCascadeOrder);
void matchPageRules(PageRuleCollector&);
- void addRulesFromSheet(CSSStyleSheet*, const MediaQueryEvaluator&, StyleResolver*);
void collectFeaturesTo(RuleFeatureSet&, HashSet<const StyleSheetContents*>& visitedSharedStyleSheetContents) const;
void resetAuthorStyle();
void collectViewportRulesTo(StyleResolver*) const;