Home
last modified time | relevance | path

Searched refs:StyleRule (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DStyleInvalidationAnalysis.cpp81 const StyleRule* styleRule = toStyleRule(rule); in hasDistributedRule()
116 …case StyleRule::Import: // Whatever we import should do its own analysis, we don't need to invalid… in ruleAdditionMightRequireDocumentStyleRecalc()
117 …case StyleRule::Keyframes: // Keyframes never cause style invalidations and are handled during she… in ruleAdditionMightRequireDocumentStyleRecalc()
118 …case StyleRule::Page: // Page rules apply only during printing, we force a full-recalc before prin… in ruleAdditionMightRequireDocumentStyleRecalc()
121 case StyleRule::Media: // If the media rule doesn't apply, we could avoid recalc. in ruleAdditionMightRequireDocumentStyleRecalc()
122 case StyleRule::FontFace: // If the fonts aren't in use, we could avoid recalc. in ruleAdditionMightRequireDocumentStyleRecalc()
123 case StyleRule::Supports: // If we evaluated the supports-clause we could avoid recalc. in ruleAdditionMightRequireDocumentStyleRecalc()
124 case StyleRule::Viewport: // If the viewport doesn't match, we could avoid recalcing. in ruleAdditionMightRequireDocumentStyleRecalc()
126 case StyleRule::Region: in ruleAdditionMightRequireDocumentStyleRecalc()
127 case StyleRule::Filter: in ruleAdditionMightRequireDocumentStyleRecalc()
[all …]
DCSSStyleRule.h31 class StyleRule; variable
35 …static PassRefPtr<CSSStyleRule> create(StyleRule* rule, CSSStyleSheet* sheet) { return adoptRef(ne… in create()
49 StyleRule* styleRule() const { return m_styleRule.get(); } in styleRule()
52 CSSStyleRule(StyleRule*, CSSStyleSheet*);
56 RefPtr<StyleRule> m_styleRule;
DStyleRule.cpp180 unsigned StyleRule::averageSizeInBytes() in averageSizeInBytes()
182 return sizeof(StyleRule) + sizeof(CSSSelector) + StylePropertySet::averageSizeInBytes(); in averageSizeInBytes()
185 StyleRule::StyleRule() in StyleRule() function in WebCore::StyleRule
190 StyleRule::StyleRule(const StyleRule& o) in StyleRule() function in WebCore::StyleRule
197 StyleRule::~StyleRule() in ~StyleRule()
201 MutableStylePropertySet* StyleRule::mutableProperties() in mutableProperties()
208 void StyleRule::setProperties(PassRefPtr<StylePropertySet> properties) in setProperties()
DStyleRule.h96 class StyleRule : public StyleRuleBase {
99 static PassRefPtr<StyleRule> create() { return adoptRef(new StyleRule()); } in create()
101 ~StyleRule();
111 PassRefPtr<StyleRule> copy() const { return adoptRef(new StyleRule(*this)); } in copy()
116 StyleRule();
117 StyleRule(const StyleRule&);
281 …DEFINE_TYPE_CASTS(StyleRule##Type, StyleRuleBase, rule, rule->is##Type##Rule(), rule.is##Type##Rul…
283 DEFINE_TYPE_CASTS(StyleRule, StyleRuleBase, rule, rule->isStyleRule(), rule.isStyleRule());
DRuleSet.h55 MinimalRuleData(StyleRule* rule, unsigned selectorIndex, AddRuleFlags flags) in MinimalRuleData()
62 StyleRule* m_rule;
70 RuleData(StyleRule*, unsigned selectorIndex, unsigned position, AddRuleFlags);
73 StyleRule* rule() const { return m_rule; } in rule()
93 StyleRule* m_rule;
126 void addStyleRule(StyleRule*, AddRuleFlags);
127 void addRule(StyleRule*, unsigned selectorIndex, AddRuleFlags);
DInspectorCSSOMWrappers.h35 class StyleRule; variable
43 CSSStyleRule* getWrapperForRuleInSheets(StyleRule*, StyleEngine*);
55 HashMap<StyleRule*, RefPtr<CSSStyleRule> > m_styleRuleToCSSOMWrapperMap;
DRuleFeature.h31 class StyleRule; variable
36 RuleFeature(StyleRule* rule, unsigned selectorIndex, bool hasDocumentSecurityOrigin) in RuleFeature()
42 StyleRule* rule;
DElementRuleCollector.h81 Vector<StyleRule*> m_list;
122 void appendCSSOMWrapperForRule(StyleRule*);
DTreeBoundaryCrossingRules.h40 void addRule(StyleRule*, size_t selectorIndex, ContainerNode* scopingNode, AddRuleFlags);
DRuleSet.cpp191 RuleData::RuleData(StyleRule* rule, unsigned selectorIndex, unsigned position, AddRuleFlags addRule… in RuleData()
299 void RuleSet::addRule(StyleRule* rule, unsigned selectorIndex, AddRuleFlags addRuleFlags) in addRule()
365 StyleRule* styleRule = toStyleRule(rule); in addChildRules()
412 void RuleSet::addStyleRule(StyleRule* rule, AddRuleFlags addRuleFlags) in addStyleRule()
DTreeBoundaryCrossingRules.cpp37 void TreeBoundaryCrossingRules::addRule(StyleRule* rule, size_t selectorIndex, ContainerNode* scopi… in addRule()
DElementRuleCollector.cpp198 static CSSStyleSheet* findStyleSheet(StyleEngine* styleEngine, StyleRule* rule) in findStyleSheet()
216 void ElementRuleCollector::appendCSSOMWrapperForRule(StyleRule* rule) in appendCSSOMWrapperForRule()
305 StyleRule* rule = ruleData.rule(); in collectRuleIfMatches()
DCSSStyleRule.cpp42 CSSStyleRule::CSSStyleRule(StyleRule* styleRule, CSSStyleSheet* parent) in CSSStyleRule()
DInspectorCSSOMWrappers.cpp110 CSSStyleRule* InspectorCSSOMWrappers::getWrapperForRuleInSheets(StyleRule* rule, StyleEngine* style… in getWrapperForRuleInSheets()
DCSSStyleSheet.cpp140 StyleRule* styleRule = toCSSStyleRule(cssRule)->styleRule(); in extraCSSOMWrapperIndices()
DStyleSheetContents.cpp49 size += ruleCount() * StyleRule::averageSizeInBytes(); in estimatedSizeInBytes()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResolverState.h43 class StyleRule; variable
79 void setCurrentRule(StyleRule* currentRule) { m_currentRule = currentRule; } in setCurrentRule()
80 const StyleRule* currentRule() const { return m_currentRule; } in currentRule()
172 StyleRule* m_currentRule;
DMatchResult.h34 class StyleRule; variable
73 Vector<StyleRule*, 64> matchedRules;
77 …void addMatchedProperties(const StylePropertySet* properties, StyleRule* = 0, unsigned linkMatchTy…
DMatchResult.cpp46 void MatchResult::addMatchedProperties(const StylePropertySet* properties, StyleRule* rule, unsigne… in addMatchedProperties()
DStyleResolver.h71 class StyleRule; variable
239 void initWatchedSelectorRules(const Vector<RefPtr<StyleRule> >& watchedSelectors);
276 …void applyProperties(StyleResolverState&, const StylePropertySet* properties, StyleRule*, bool isI…
DStyleResolver.cpp176 void StyleResolver::initWatchedSelectorRules(const Vector<RefPtr<StyleRule> >& watchedSelectors) in initWatchedSelectorRules()
1272 …operties(StyleResolverState& state, const StylePropertySet* properties, StyleRule* rule, bool isIm… in applyProperties()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DCSSSelectorWatch.h53 …const Vector<RefPtr<StyleRule> >& watchedCallbackSelectors() const { return m_watchedCallbackSelec… in watchedCallbackSelectors()
63 Vector<RefPtr<StyleRule> > m_watchedCallbackSelectors;
DCSSSelectorWatch.cpp160 RefPtr<StyleRule> rule = StyleRule::create(); in watchCSSSelectors()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPageSerializer.h53 class StyleRule; variable
/external/chromium_org/tools/telemetry/unittest_data/
Dperf_report_output.txt316 …ebCore::StyleResolverState&, WebCore::StylePropertySet const*, WebCore::StyleRule*, bool, bool, We…
318 …ebCore::StyleResolverState&, WebCore::StylePropertySet const*, WebCore::StyleRule*, bool, bool, We…
1089 …void WTF::Vector<WebCore::StyleRule*, 64ul>::appendSlowCase<WebCore::StyleRule*>(WebCore::StyleRul…
1515 …ebCore::StyleResolverState&, WebCore::StylePropertySet const*, WebCore::StyleRule*, bool, bool, We…
1517 …ebCore::StyleResolverState&, WebCore::StylePropertySet const*, WebCore::StyleRule*, bool, bool, We…

12