Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Unified Diff: Source/core/dom/shadow/SelectRuleFeatureSet.h

Issue 143873016: Implement style invalidation tree walk for targeted style recalc upon class change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/shadow/SelectRuleFeatureSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/shadow/SelectRuleFeatureSet.h
diff --git a/Source/core/dom/shadow/SelectRuleFeatureSet.h b/Source/core/dom/shadow/SelectRuleFeatureSet.h
index 9b943e8a07ab40412964ee191655f81c8e5df66c..41c3134e5b2f1273e14c3476a11b4da58e343929 100644
--- a/Source/core/dom/shadow/SelectRuleFeatureSet.h
+++ b/Source/core/dom/shadow/SelectRuleFeatureSet.h
@@ -36,6 +36,9 @@
namespace WebCore {
+class Element;
+class SpaceSplitString;
+
class SelectRuleFeatureSet {
public:
SelectRuleFeatureSet();
@@ -58,6 +61,9 @@ public:
bool hasSelectorFor(AffectedSelectorMask features) const { return m_featureFlags & features; }
+ bool checkSelectorsForClassChange(const SpaceSplitString& changedClasses) const;
+ bool checkSelectorsForClassChange(const SpaceSplitString& oldClasses, const SpaceSplitString& newClasses) const;
+
private:
void setSelectRuleFeature(AffectedSelectorType feature) { m_featureFlags |= feature; }
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/shadow/SelectRuleFeatureSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698