Lines Matching refs:styleEngine
29 #include "core/dom/StyleEngine.h"
54 StyleEngine::StyleEngine(Document& document)
78 StyleEngine::~StyleEngine()
83 void StyleEngine::detachFromDocument()
85 // Cleanup is performed eagerly when the StyleEngine is removed from the
86 // document. The StyleEngine is unreachable after this, since only the
108 inline Document* StyleEngine::master()
118 void StyleEngine::insertTreeScopeInDocumentOrder(TreeScopeSet& treeScopes, TreeScope* treeScope)
145 TreeScopeStyleSheetCollection* StyleEngine::ensureStyleSheetCollectionFor(TreeScope& treeScope)
156 TreeScopeStyleSheetCollection* StyleEngine::styleSheetCollectionFor(TreeScope& treeScope)
167 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& StyleEngine::styleSheetsForStyleSheetList(TreeScope& treeScope)
175 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& StyleEngine::activeAuthorStyleSheets() const
180 void StyleEngine::combineCSSFeatureFlags(const RuleFeatureSet& features)
188 void StyleEngine::resetCSSFeatureFlags(const RuleFeatureSet& features)
195 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& StyleEngine::injectedAuthorStyleSheets() const
201 void StyleEngine::updateInjectedStyleSheetCache() const
225 void StyleEngine::invalidateInjectedStyleSheetCache()
234 void StyleEngine::compatibilityModeChanged()
240 void StyleEngine::addAuthorSheet(PassRefPtrWillBeRawPtr<StyleSheetContents> authorSheet)
247 void StyleEngine::addPendingSheet()
253 void StyleEngine::removePendingSheet(Node* styleSheetCandidateNode)
271 void StyleEngine::modifiedStyleSheet(StyleSheet* sheet)
286 void StyleEngine::addStyleSheetCandidateNode(Node* node, bool createdByParser)
303 void StyleEngine::removeStyleSheetCandidateNode(Node* node)
308 void StyleEngine::removeStyleSheetCandidateNode(Node* node, ContainerNode* scopingNode, TreeScope& treeScope)
321 void StyleEngine::addXSLStyleSheet(ProcessingInstruction* node, bool createdByParser)
342 void StyleEngine::removeXSLStyleSheet(ProcessingInstruction* node)
352 void StyleEngine::modifiedStyleSheetCandidateNode(Node* node)
362 void StyleEngine::enableExitTransitionStylesheets()
368 bool StyleEngine::shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode updateMode) const
373 bool StyleEngine::shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode updateMode) const
378 void StyleEngine::clearMediaQueryRuleSetOnTreeScopeStyleSheets(TreeScopeSet treeScopes)
389 void StyleEngine::clearMediaQueryRuleSetStyleSheets()
396 void StyleEngine::updateStyleSheetsInImport(DocumentStyleSheetCollector& parentCollector)
405 void StyleEngine::updateActiveStyleSheets(StyleResolverUpdateMode updateMode)
439 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > StyleEngine::activeStyleSheetsForInspector() const
461 void StyleEngine::didRemoveShadowRoot(ShadowRoot* shadowRoot)
468 void StyleEngine::appendActiveAuthorStyleSheets()
483 void StyleEngine::createResolver()
498 void StyleEngine::clearResolver()
512 void StyleEngine::clearMasterResolver()
515 master->styleEngine()->clearResolver();
518 unsigned StyleEngine::resolverAccessCount() const
523 void StyleEngine::didDetach()
528 bool StyleEngine::shouldClearResolver() const
533 bool StyleEngine::shouldApplyXSLTransform() const
540 void StyleEngine::resolverChanged(StyleResolverUpdateMode mode)
568 void StyleEngine::clearFontCache()
576 void StyleEngine::updateGenericFontFamilySettings()
590 void StyleEngine::removeFontFaceRules(const WillBeHeapVector<RawPtrWillBeMember<const StyleRuleFontFace> >& fontFaceRules)
602 void StyleEngine::markTreeScopeDirty(TreeScope& scope)
612 void StyleEngine::markDocumentDirty()
616 document().importsController()->master()->styleEngine()->markDocumentDirty();
634 PassRefPtrWillBeRawPtr<CSSStyleSheet> StyleEngine::createSheet(Element* e, const String& text, TextPosition startPosition, bool createdByParser)
638 e->document().styleEngine()->addPendingSheet();
645 styleSheet = StyleEngine::parseSheet(e, text, startPosition, createdByParser);
659 styleSheet = StyleEngine::parseSheet(e, text, startPosition, createdByParser);
667 PassRefPtrWillBeRawPtr<CSSStyleSheet> StyleEngine::parseSheet(Element* e, const String& text, TextPosition startPosition, bool createdByParser)
675 void StyleEngine::removeSheet(StyleSheetContents* contents)
685 void StyleEngine::collectScopedStyleFeaturesTo(RuleFeatureSet& features) const
692 void StyleEngine::fontsNeedUpdate(CSSFontSelector*)
702 void StyleEngine::trace(Visitor* visitor)