Home
last modified time | relevance | path

Searched refs:StyleRuleBase (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DStyleRule.cpp45 COMPILE_ASSERT(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), StyleRuleBase_should_stay_…
47 PassRefPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet) const in createCSSOMWrapper()
52 PassRefPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSRule* parentRule) const in createCSSOMWrapper()
57 void StyleRuleBase::destroy() in destroy()
99 PassRefPtr<StyleRuleBase> StyleRuleBase::copy() const in copy()
134 PassRefPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet, CSSRule* parentRu… in createCSSOMWrapper()
137 StyleRuleBase* self = const_cast<StyleRuleBase*>(this); in createCSSOMWrapper()
186 : StyleRuleBase(Style) in StyleRule()
191 : StyleRuleBase(o) in StyleRule()
214 : StyleRuleBase(Page) in StyleRulePage()
[all …]
DStyleRule.h37 class StyleRuleBase : public WTF::RefCountedBase {
70 PassRefPtr<StyleRuleBase> copy() const;
83 StyleRuleBase(Type type) : m_type(type) { } in StyleRuleBase() function
84 StyleRuleBase(const StyleRuleBase& o) : WTF::RefCountedBase(), m_type(o.m_type) { } in StyleRuleBase() function
86 ~StyleRuleBase() { } in ~StyleRuleBase()
96 class StyleRule : public StyleRuleBase {
123 class StyleRuleFontFace : public StyleRuleBase {
143 class StyleRulePage : public StyleRuleBase {
167 class StyleRuleGroup : public StyleRuleBase {
169 const Vector<RefPtr<StyleRuleBase> >& childRules() const { return m_childRules; } in childRules()
[all …]
DStyleSheetContents.cpp133 void StyleSheetContents::parserAppendRule(PassRefPtr<StyleRuleBase> rule) in parserAppendRule()
164 StyleRuleBase* StyleSheetContents::ruleAt(unsigned index) const in ruleAt()
213 bool StyleSheetContents::wrapperInsertRule(PassRefPtr<StyleRuleBase> rule, unsigned index) in wrapperInsertRule()
441 StyleRuleBase* rule = styleSheet->m_childRules[i].get(); in addSubresourceStyleURLs()
450 static bool childRulesHaveFailedOrCanceledSubresources(const Vector<RefPtr<StyleRuleBase> >& rules) in childRulesHaveFailedOrCanceledSubresources()
453 const StyleRuleBase* rule = rules[i].get(); in childRulesHaveFailedOrCanceledSubresources()
455 case StyleRuleBase::Style: in childRulesHaveFailedOrCanceledSubresources()
459 case StyleRuleBase::FontFace: in childRulesHaveFailedOrCanceledSubresources()
463 case StyleRuleBase::Media: in childRulesHaveFailedOrCanceledSubresources()
467 case StyleRuleBase::Region: in childRulesHaveFailedOrCanceledSubresources()
[all …]
DCSSRule.cpp40 COMPILE_ASSERT(StyleRuleBase::Region == static_cast<StyleRuleBase::Type>(CSSRule::WEBKIT_REGION_RUL…
42 COMPILE_ASSERT(StyleRuleBase::Viewport == static_cast<StyleRuleBase::Type>(CSSRule::VIEWPORT_RULE),…
DStyleSheetContents.h43 class StyleRuleBase; variable
98 void parserAppendRule(PassRefPtr<StyleRuleBase>);
107 const Vector<RefPtr<StyleRuleBase> >& childRules() const { return m_childRules; } in childRules()
123 StyleRuleBase* ruleAt(unsigned index) const;
129 bool wrapperInsertRule(PassRefPtr<StyleRuleBase>, unsigned index);
165 Vector<RefPtr<StyleRuleBase> > m_childRules;
DCSSParser.h67 class StyleRuleBase; variable
104 PassRefPtr<StyleRuleBase> parseRule(StyleSheetContents*, const String&);
323 StyleRuleBase* createImportRule(const CSSParserString&, MediaQuerySet*);
327 typedef Vector<RefPtr<StyleRuleBase> > RuleList;
328 StyleRuleBase* createMediaRule(MediaQuerySet*, RuleList*);
330 RuleList* appendRule(RuleList*, StyleRuleBase*);
331 StyleRuleBase* createStyleRule(Vector<OwnPtr<CSSParserSelector> >* selectors);
332 StyleRuleBase* createFontFaceRule();
333 StyleRuleBase* createPageRule(PassOwnPtr<CSSParserSelector> pageSelector);
334StyleRuleBase* createRegionRule(Vector<OwnPtr<CSSParserSelector> >* regionSelector, RuleList* rule…
[all …]
DStyleInvalidationAnalysis.cpp75 const Vector<RefPtr<StyleRuleBase> >& rules = styleSheetContents->childRules(); in hasDistributedRule()
77 const StyleRuleBase* rule = rules[i].get(); in hasDistributedRule()
111 static bool ruleAdditionMightRequireDocumentStyleRecalc(StyleRuleBase* rule) in ruleAdditionMightRequireDocumentStyleRecalc()
163 const Vector<RefPtr<StyleRuleBase> >& rules = styleSheetContents->childRules(); in analyzeStyleSheet()
165 StyleRuleBase* rule = rules[i].get(); in analyzeStyleSheet()
DCSSRule.h33 class StyleRuleBase; variable
62 virtual void reattach(StyleRuleBase*) = 0;
DCSSKeyframesRule.cpp38 : StyleRuleBase(Keyframes) in StyleRuleKeyframes()
43 : StyleRuleBase(o) in StyleRuleKeyframes()
198 void CSSKeyframesRule::reattach(StyleRuleBase* rule) in reattach()
DCSSKeyframesRule.h40 class StyleRuleKeyframes FINAL : public StyleRuleBase {
81 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSGroupingRule.cpp70 …RefPtr<StyleRuleBase> newRule = parser.parseRule(styleSheet ? styleSheet->contents() : 0, ruleStri… in insertRule()
142 void CSSGroupingRule::reattach(StyleRuleBase* rule) in reattach()
DCSSUnknownRule.h36 virtual void reattach(StyleRuleBase*) OVERRIDE { } in reattach() argument
DCSSGroupingRule.h39 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSMediaRule.h40 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSViewportRule.h52 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSFilterRule.h49 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSCharsetRule.h42 virtual void reattach(StyleRuleBase* rule) OVERRIDE { ASSERT_UNUSED(rule, !rule); } in reattach()
DRuleSet.cpp345 const Vector<RefPtr<StyleRuleBase> >& childRules = regionRule->childRules(); in addRegionRule()
349 StyleRuleBase* regionStylingRule = childRules[i].get(); in addRegionRule()
359 void RuleSet::addChildRules(const Vector<RefPtr<StyleRuleBase> >& rules, const MediaQueryEvaluator&… in addChildRules()
362 StyleRuleBase* rule = rules[i].get(); in addChildRules()
DCSSPageRule.h42 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSFontFaceRule.h41 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSViewportRule.cpp76 void CSSViewportRule::reattach(StyleRuleBase* rule) in reattach()
DCSSFontFaceRule.cpp63 void CSSFontFaceRule::reattach(StyleRuleBase* rule) in reattach()
DCSSImportRule.h42 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSStyleRule.h41 virtual void reattach(StyleRuleBase*) OVERRIDE;
DCSSMediaRule.cpp70 void CSSMediaRule::reattach(StyleRuleBase* rule) in reattach()

12