Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index 452d997953d41216d30b7526950851ad6732f832..461a29ae20a503629183fcd684accf22636146eb 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -28,6 +28,7 @@ |
#include "core/CSSPropertyNames.h" |
#include "core/HTMLNames.h" |
#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSSelector.h" |
#include "core/dom/Attribute.h" |
#include "core/dom/ContainerNode.h" |
#include "core/dom/ElementData.h" |
@@ -61,17 +62,6 @@ class PseudoElement; |
class ShadowRoot; |
class StylePropertySet; |
-enum AffectedSelectorType { |
- AffectedSelectorChecked = 1, |
- AffectedSelectorEnabled = 1 << 1, |
- AffectedSelectorDisabled = 1 << 2, |
- AffectedSelectorIndeterminate = 1 << 3, |
- AffectedSelectorLink = 1 << 4, |
- AffectedSelectorTarget = 1 << 5, |
- AffectedSelectorVisited = 1 << 6 |
-}; |
-typedef int AffectedSelectorMask; |
- |
enum SpellcheckAttributeState { |
SpellcheckAttributeTrue, |
SpellcheckAttributeFalse, |
@@ -313,7 +303,7 @@ public: |
virtual RenderObject* createRenderer(RenderStyle*); |
virtual bool rendererIsNeeded(const RenderStyle&); |
void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); |
- void didAffectSelector(AffectedSelectorMask); |
+ void pseudoStateChanged(CSSSelector::PseudoType); |
void setAnimationStyleChange(bool); |
void setNeedsAnimationStyleRecalc(); |