Home
last modified time | relevance | path

Searched refs:CSSStyleSheet (Results 1 – 25 of 167) sorted by relevance

1234567

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSStyleSheet.cpp50 static PassOwnPtrWillBeRawPtr<StyleSheetCSSRuleList> create(CSSStyleSheet* sheet) in create()
62 StyleSheetCSSRuleList(CSSStyleSheet* sheet) : m_styleSheet(sheet) { } in StyleSheetCSSRuleList()
72 virtual CSSStyleSheet* styleSheet() const OVERRIDE { return m_styleSheet; } in styleSheet()
74 RawPtrWillBeMember<CSSStyleSheet> m_styleSheet;
94 PassRefPtrWillBeRawPtr<CSSStyleSheet> CSSStyleSheet::create(PassRefPtrWillBeRawPtr<StyleSheetConten… in create()
96 return adoptRefWillBeNoop(new CSSStyleSheet(sheet, ownerRule)); in create()
99 PassRefPtrWillBeRawPtr<CSSStyleSheet> CSSStyleSheet::create(PassRefPtrWillBeRawPtr<StyleSheetConten… in create()
101 …return adoptRefWillBeNoop(new CSSStyleSheet(sheet, ownerNode, false, TextPosition::minimumPosition… in create()
104 PassRefPtrWillBeRawPtr<CSSStyleSheet> CSSStyleSheet::createInline(PassRefPtrWillBeRawPtr<StyleSheet… in createInline()
107 return adoptRefWillBeNoop(new CSSStyleSheet(sheet, ownerNode, true, startPosition)); in createInline()
[all …]
DCSSStyleSheet.h37 class CSSStyleSheet; variable
50 class CSSStyleSheet FINAL : public StyleSheet {
52 …static PassRefPtrWillBeRawPtr<CSSStyleSheet> create(PassRefPtrWillBeRawPtr<StyleSheetContents>, CS…
53 …static PassRefPtrWillBeRawPtr<CSSStyleSheet> create(PassRefPtrWillBeRawPtr<StyleSheetContents>, No…
54 …static PassRefPtrWillBeRawPtr<CSSStyleSheet> createInline(Node*, const KURL&, const TextPosition& …
55 …static PassRefPtrWillBeRawPtr<CSSStyleSheet> createInline(PassRefPtrWillBeRawPtr<StyleSheetContent…
57 virtual ~CSSStyleSheet();
59 virtual CSSStyleSheet* parentStyleSheet() const OVERRIDE;
98 explicit RuleMutationScope(CSSStyleSheet*);
103 RawPtrWillBeMember<CSSStyleSheet> m_styleSheet;
[all …]
DStyleSheetContents.h39 class CSSStyleSheet; variable
139 void registerClient(CSSStyleSheet*);
140 void unregisterClient(CSSStyleSheet*);
143 void clientLoadCompleted(CSSStyleSheet*);
144 void clientLoadStarted(CSSStyleSheet*);
196 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> > m_loadingClients;
197 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> > m_completedClients;
198 typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> >::iterator ClientsIterator;
DCSSRule.h33 class CSSStyleSheet; variable
64 void setParentStyleSheet(CSSStyleSheet* styleSheet) in setParentStyleSheet()
78 CSSStyleSheet* parentStyleSheet() const in parentStyleSheet()
91 CSSRule(CSSStyleSheet* parent) in CSSRule()
110 CSSStyleSheet* m_parentStyleSheet;
DCSSImportRule.h37 static PassRefPtrWillBeRawPtr<CSSImportRule> create(StyleRuleImport* rule, CSSStyleSheet* sheet) in create()
50 CSSStyleSheet* styleSheet() const;
55 CSSImportRule(StyleRuleImport*, CSSStyleSheet*);
59 mutable RefPtrWillBeMember<CSSStyleSheet> m_styleSheetCSSOMWrapper;
DMediaList.h35 class CSSStyleSheet; variable
74 …static PassRefPtrWillBeRawPtr<MediaList> create(MediaQuerySet* mediaQueries, CSSStyleSheet* parent… in create()
95 CSSStyleSheet* parentStyleSheet() const { return m_parentStyleSheet; } in parentStyleSheet()
110 MediaList(MediaQuerySet*, CSSStyleSheet* parentSheet);
115 RawPtrWillBeMember<CSSStyleSheet> m_parentStyleSheet;
DElementRuleCollector.h35 class CSSStyleSheet; variable
52 …cadeScope, CascadeOrder cascadeOrder, unsigned styleSheetIndex, const CSSStyleSheet* parentStyleSh… in MatchedRule()
68 const CSSStyleSheet* parentStyleSheet() const { return m_parentStyleSheet; } in parentStyleSheet()
83 RawPtrWillBeMember<const CSSStyleSheet> m_parentStyleSheet;
156 void appendCSSOMWrapperForRule(CSSStyleSheet*, StyleRule*);
159 …cificity, CascadeScope, CascadeOrder, unsigned styleSheetIndex, const CSSStyleSheet* parentStyleSh…
DTreeBoundaryCrossingRules.h35 class CSSStyleSheet; variable
43 void addTreeBoundaryCrossingRules(const RuleSet&, ContainerNode& scope, CSSStyleSheet*);
53 …typedef WillBeHeapVector<std::pair<CSSStyleSheet*, OwnPtrWillBeMember<RuleSet> > > CSSStyleSheetRu…
DCSSPageRule.h31 class CSSStyleSheet; variable
37 static PassRefPtrWillBeRawPtr<CSSPageRule> create(StyleRulePage* rule, CSSStyleSheet* sheet) in create()
56 CSSPageRule(StyleRulePage*, CSSStyleSheet*);
DCSSRuleList.h33 class CSSStyleSheet; variable
49 virtual CSSStyleSheet* styleSheet() const = 0;
71 virtual CSSStyleSheet* styleSheet() const OVERRIDE { return 0; } in styleSheet()
112 virtual CSSStyleSheet* styleSheet() const OVERRIDE { return m_rule->parentStyleSheet(); } in styleSheet()
DCSSImportRule.cpp33 CSSImportRule::CSSImportRule(StyleRuleImport* importRule, CSSStyleSheet* parent) in CSSImportRule()
81 CSSStyleSheet* CSSImportRule::styleSheet() const in styleSheet()
87 …m_styleSheetCSSOMWrapper = CSSStyleSheet::create(m_importRule->styleSheet(), const_cast<CSSImportR… in styleSheet()
DCSSKeyframesRule.cpp95 CSSKeyframesRule::CSSKeyframesRule(StyleRuleKeyframes* keyframesRule, CSSStyleSheet* parent) in CSSKeyframesRule()
116 CSSStyleSheet::RuleMutationScope mutationScope(this); in setName()
125 CSSStyleSheet* styleSheet = parentStyleSheet(); in insertRule()
132 CSSStyleSheet::RuleMutationScope mutationScope(this); in insertRule()
147 CSSStyleSheet::RuleMutationScope mutationScope(this); in deleteRule()
DCSSGroupingRule.cpp44 CSSGroupingRule::CSSGroupingRule(StyleRuleGroup* groupRule, CSSStyleSheet* parent) in CSSGroupingRule()
71 CSSStyleSheet* styleSheet = parentStyleSheet(); in insertRule()
87 CSSStyleSheet::RuleMutationScope mutationScope(this); in insertRule()
104 CSSStyleSheet::RuleMutationScope mutationScope(this); in deleteRule()
DCSSTestHelper.h39 class CSSStyleSheet; variable
58 RefPtrWillBePersistent<CSSStyleSheet> m_styleSheet;
DStyleSheetContents.cpp406 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > loadingClients; in checkLoaded()
441 WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> > completedClients; in startLoadingDynamicSheet()
536 void StyleSheetContents::registerClient(CSSStyleSheet* sheet) in registerClient()
551 void StyleSheetContents::unregisterClient(CSSStyleSheet* sheet) in unregisterClient()
564 void StyleSheetContents::clientLoadCompleted(CSSStyleSheet* sheet) in clientLoadCompleted()
576 void StyleSheetContents::clientLoadStarted(CSSStyleSheet* sheet) in clientLoadStarted()
618 static void clearResolvers(WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> >& clients) in clearResolvers()
620 …for (WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> >::iterator it = clients.begin(); it … in clearResolvers()
644 static void removeFontFaceRules(WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> >& clients,… in removeFontFaceRules()
646 …for (WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> >::iterator it = clients.begin(); it … in removeFontFaceRules()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DStyleSheetCollection.h38 class CSSStyleSheet; variable
51 …WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyleSheets() { return m_activeA… in activeAuthorStyleSheets()
53 …const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyleSheets() const { retu… in activeAuthorStyleSheets()
58 void appendActiveStyleSheets(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >&);
59 void appendActiveStyleSheet(CSSStyleSheet*);
66 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > m_activeAuthorStyleSheets;
DDocumentStyleSheetCollector.h37 class CSSStyleSheet; variable
50 …ber<StyleSheet> >& sheetsForList, WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeList…
53 void appendActiveStyleSheets(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >&);
54 void appendActiveStyleSheet(CSSStyleSheet*);
62 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& m_activeAuthorStyleSheets;
DStyleEngine.h47 class CSSStyleSheet; variable
82 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyleSheets() const;
84 …const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& documentAuthorStyleSheets() const { re… in documentAuthorStyleSheets()
85 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& injectedAuthorStyleSheets() const;
87 … const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > activeStyleSheetsForInspector() const;
173 …PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& text, TextPosition start…
203 …static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const String& text, TextPosition…
233 mutable WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > m_injectedAuthorStyleSheets;
236 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > m_authorStyleSheets;
DDocumentStyleSheetCollector.cpp36 …ber<StyleSheet> >& sheetsForList, WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeList… in DocumentStyleSheetCollector()
47 …lector::appendActiveStyleSheets(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& sheets) in appendActiveStyleSheets()
52 void DocumentStyleSheetCollector::appendActiveStyleSheet(CSSStyleSheet* sheet) in appendActiveStyleSheet()
DStyleEngine.cpp176 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& StyleEngine::activeAuthorStyleSheets() … in activeAuthorStyleSheets()
196 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& StyleEngine::injectedAuthorStyleSheets(… in injectedAuthorStyleSheets()
220 … RefPtrWillBeRawPtr<CSSStyleSheet> groupSheet = CSSStyleSheet::createInline(m_document, KURL()); in updateInjectedStyleSheetCache()
237 m_authorStyleSheets.append(CSSStyleSheet::create(authorSheet, m_document)); in addAuthorSheet()
434 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > StyleEngine::activeStyleSheetsForInspect… in activeStyleSheetsForInspector()
439 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > activeStyleSheets; in activeStyleSheetsForInspector()
625 PassRefPtrWillBeRawPtr<CSSStyleSheet> StyleEngine::createSheet(Element* e, const String& text, Text… in createSheet()
627 RefPtrWillBeRawPtr<CSSStyleSheet> styleSheet = nullptr; in createSheet()
646 styleSheet = CSSStyleSheet::createInline(contents, e, startPosition); in createSheet()
658 PassRefPtrWillBeRawPtr<CSSStyleSheet> StyleEngine::parseSheet(Element* e, const String& text, TextP… in parseSheet()
[all …]
DTreeScopeStyleSheetCollection.h101 …BeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& oldStyleSheets, const WillBeHeapVector<RefPtrWil…
102 …bool activeLoadingStyleSheetLoaded(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& new…
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorCSSAgent.h49 class CSSStyleSheet; variable
104 static void collectAllDocumentStyleSheets(Document*, Vector<CSSStyleSheet*>&);
120 void didMutateRules(CSSStyleSheet*);
143 …bool collectMediaQueriesFromStyleSheet(CSSStyleSheet*, TypeBuilder::Array<TypeBuilder::CSS::CSSMed…
144 …:CSS::CSSMedia> buildMediaObject(const MediaList*, MediaListSource, const String&, CSSStyleSheet*);
155 static void collectStyleSheets(CSSStyleSheet*, Vector<CSSStyleSheet*>&);
170 void setActiveStyleSheets(Document*, const Vector<CSSStyleSheet*>&, StyleSheetsUpdateType);
174 InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*);
179 …TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageStyleSheet, Document* own…
205 HashMap<CSSStyleSheet*, RefPtr<InspectorStyleSheet> > m_cssStyleSheetToInspectorStyleSheet;
[all …]
DInspectorCSSAgent.cpp463 void InspectorCSSAgent::didMutateRules(CSSStyleSheet* styleSheet) in didMutateRules()
485 CSSStyleSheet* parentSheet = style->parentStyleSheet(); in didMutateStyle()
503 Vector<CSSStyleSheet*> newSheetsVector; in updateActiveStyleSheets()
508 void InspectorCSSAgent::setActiveStyleSheets(Document* document, const Vector<CSSStyleSheet*>& allS… in setActiveStyleSheets()
512 HashSet<CSSStyleSheet*>* documentCSSStyleSheets = m_documentToCSSStyleSheets.get(document); in setActiveStyleSheets()
514 documentCSSStyleSheets = new HashSet<CSSStyleSheet*>(); in setActiveStyleSheets()
515 … OwnPtr<HashSet<CSSStyleSheet*> > documentCSSStyleSheetsPtr = adoptPtr(documentCSSStyleSheets); in setActiveStyleSheets()
519 HashSet<CSSStyleSheet*> removedSheets(*documentCSSStyleSheets); in setActiveStyleSheets()
520 Vector<CSSStyleSheet*> addedSheets; in setActiveStyleSheets()
521 …for (Vector<CSSStyleSheet*>::const_iterator it = allSheetsVector.begin(); it != allSheetsVector.en… in setActiveStyleSheets()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DScopedStyleResolver.h50 static ContainerNode* scopingNodeFor(Document&, const CSSStyleSheet*);
63 void addRulesFromSheet(CSSStyleSheet*, const MediaQueryEvaluator&, StyleResolver*);
74 WillBePersistentHeapVector<RawPtrWillBeMember<CSSStyleSheet> > m_authorStyleSheets;
DStyleResolver.h53 class CSSStyleSheet; variable
138 void appendAuthorStyleSheets(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >&);
142 void processScopedRules(const RuleSet& authorRules, CSSStyleSheet*, ContainerNode& scope);
144 …dAuthorStyleSheets(unsigned firstNew, const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >&);
145 … void removePendingAuthorStyleSheets(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >&);
243 void appendCSSStyleSheet(CSSStyleSheet*);
311 WillBeHeapListHashSet<RawPtrWillBeMember<CSSStyleSheet>, 16> m_pendingStyleSheets;

1234567