Lines Matching defs:StyleSheetContents
22 #include "core/css/StyleSheetContents.h"
42 unsigned StyleSheetContents::estimatedSizeInBytes() const
53 if (StyleSheetContents* sheet = m_importRules[i]->styleSheet())
59 StyleSheetContents::StyleSheetContents(StyleRuleImport* ownerRule, const String& originalURL, const CSSParserContext& context)
74 StyleSheetContents::StyleSheetContents(const StyleSheetContents& o)
100 StyleSheetContents::~StyleSheetContents()
107 void StyleSheetContents::setHasSyntacticallyValidCSSHeader(bool isValidCss)
116 bool StyleSheetContents::isCacheable() const
125 // agnostic, we can restore sharing of StyleSheetContents with medea queries.
146 void StyleSheetContents::parserAppendRule(PassRefPtrWillBeRawPtr<StyleRuleBase> rule)
170 void StyleSheetContents::setHasMediaQueries()
177 StyleRuleBase* StyleSheetContents::ruleAt(unsigned index) const
194 unsigned StyleSheetContents::ruleCount() const
203 void StyleSheetContents::clearCharsetRule()
208 void StyleSheetContents::clearRules()
219 void StyleSheetContents::parserSetEncodingFromCharsetRule(const String& encoding)
226 bool StyleSheetContents::wrapperInsertRule(PassRefPtrWillBeRawPtr<StyleRuleBase> rule, unsigned index)
273 void StyleSheetContents::wrapperDeleteRule(unsigned index)
300 void StyleSheetContents::parserAddNamespace(const AtomicString& prefix, const AtomicString& uri)
310 const AtomicString& StyleSheetContents::determineNamespace(const AtomicString& prefix)
319 void StyleSheetContents::parseAuthorStyleSheet(const CSSStyleSheetResource* cachedStyleSheet, const SecurityOrigin* securityOrigin)
321 TRACE_EVENT0("blink", "StyleSheetContents::parseAuthorStyleSheet");
344 bool StyleSheetContents::parseString(const String& sheetText)
349 bool StyleSheetContents::parseStringAtPosition(const String& sheetText, const TextPosition& startPosition, bool createdByParser)
357 bool StyleSheetContents::isLoading() const
366 bool StyleSheetContents::loadCompleted() const
368 StyleSheetContents* parentSheet = parentStyleSheet();
372 StyleSheetContents* root = rootStyleSheet();
376 void StyleSheetContents::checkLoaded()
384 RefPtrWillBeRawPtr<StyleSheetContents> protect(this);
386 StyleSheetContents* parentSheet = parentStyleSheet();
419 void StyleSheetContents::notifyLoadedSheet(const CSSStyleSheetResource* sheet)
429 void StyleSheetContents::startLoadingDynamicSheet()
431 StyleSheetContents* root = rootStyleSheet();
445 StyleSheetContents* StyleSheetContents::rootStyleSheet() const
447 const StyleSheetContents* root = this;
450 return const_cast<StyleSheetContents*>(root);
453 bool StyleSheetContents::hasSingleOwnerNode() const
458 Node* StyleSheetContents::singleOwnerNode() const
460 StyleSheetContents* root = rootStyleSheet();
468 StyleSheetContents::singleOwnerDocument() const
470 StyleSheetContents* root = rootStyleSheet();
474 KURL StyleSheetContents::completeURL(const String& url) const
513 bool StyleSheetContents::hasFailedOrCanceledSubresources() const
519 Document* StyleSheetContents::clientSingleOwnerDocument() const
529 StyleSheetContents* StyleSheetContents::parentStyleSheet() const
534 void StyleSheetContents::registerClient(CSSStyleSheet* sheet)
549 void StyleSheetContents::unregisterClient(CSSStyleSheet* sheet)
562 void StyleSheetContents::clientLoadCompleted(CSSStyleSheet* sheet)
574 void StyleSheetContents::clientLoadStarted(CSSStyleSheet* sheet)
581 void StyleSheetContents::removeSheetFromCache(Document* document)
587 void StyleSheetContents::addedToMemoryCache()
594 void StyleSheetContents::removedFromMemoryCache()
601 void StyleSheetContents::shrinkToFit()
607 RuleSet& StyleSheetContents::ensureRuleSet(const MediaQueryEvaluator& medium, AddRuleFlags addRuleFlags)
624 void StyleSheetContents::clearRuleSet()
626 if (StyleSheetContents* parentSheet = parentStyleSheet())
650 void StyleSheetContents::notifyRemoveFontFaceRule(const StyleRuleFontFace* fontFaceRule)
652 StyleSheetContents* root = rootStyleSheet();
673 void StyleSheetContents::findFontFaceRules(WillBeHeapVector<RawPtrWillBeMember<const StyleRuleFontFace> >& fontFaceRules)
684 void StyleSheetContents::trace(Visitor* visitor)