Chromium Code Reviews| Index: Source/core/dom/shadow/SelectRuleFeatureSet.h |
| diff --git a/Source/core/dom/shadow/SelectRuleFeatureSet.h b/Source/core/dom/shadow/SelectRuleFeatureSet.h |
| index 429d2777699c1c3b5d92eeebadd456f3dc911a89..58e70dbde50045e3f091e2f1fe1baf4c94c48fb3 100644 |
| --- a/Source/core/dom/shadow/SelectRuleFeatureSet.h |
| +++ b/Source/core/dom/shadow/SelectRuleFeatureSet.h |
| @@ -48,6 +48,8 @@ public: |
| bool hasSelectorForClass(const AtomicString&) const; |
| bool hasSelectorForAttribute(const AtomicString&) const; |
| + const RuleSetAnalyzer* getRuleSetAnalyzer() const; |
|
esprehn
2014/01/15 04:27:32
wrong name.
chrishtr
2014/01/15 18:29:16
Done.
|
| + |
| bool hasSelectorForChecked() const { return hasSelectorFor(AffectedSelectorChecked); } |
| bool hasSelectorForEnabled() const { return hasSelectorFor(AffectedSelectorEnabled); } |
| bool hasSelectorForDisabled() const { return hasSelectorFor(AffectedSelectorDisabled); } |
| @@ -65,6 +67,12 @@ private: |
| int m_featureFlags; |
| }; |
| +// FIXME: make the shadow DOM smarter about analyzing select rules. |
| +inline const RuleSetAnalyzer* SelectRuleFeatureSet::getRuleSetAnalyzer() const |
| +{ |
| + return 0; |
| +} |
| + |
| inline bool SelectRuleFeatureSet::hasSelectorForId(const AtomicString& idValue) const |
| { |
| ASSERT(!idValue.isEmpty()); |