summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/Element.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/Element.h')
-rw-r--r--Source/WebCore/dom/Element.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/WebCore/dom/Element.h b/Source/WebCore/dom/Element.h
index 7f3d607d7..8bd9cd810 100644
--- a/Source/WebCore/dom/Element.h
+++ b/Source/WebCore/dom/Element.h
@@ -261,7 +261,6 @@ public:
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
void recalcStyle(StyleChange = NoChange);
- bool hasShadowRoot() const;
ElementShadow* shadow() const;
ElementShadow* ensureShadow();
@@ -281,7 +280,7 @@ public:
virtual void accessKeyAction(bool /*sendToAnyEvent*/) { }
- virtual bool isURLAttribute(Attribute*) const;
+ virtual bool isURLAttribute(const Attribute&) const { return false; }
KURL getURLAttribute(const QualifiedName&) const;
KURL getNonEmptyURLAttribute(const QualifiedName&) const;
@@ -420,7 +419,6 @@ protected:
{
}
- virtual void willRemove();
virtual InsertionNotificationRequest insertedInto(Node*) OVERRIDE;
virtual void removedFrom(Node*) OVERRIDE;
virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
@@ -431,8 +429,6 @@ protected:
virtual bool shouldRegisterAsNamedItem() const { return false; }
virtual bool shouldRegisterAsExtraNamedItem() const { return false; }
- void idAttributeChanged(Attribute*);
-
HTMLCollection* ensureCachedHTMLCollection(CollectionType);
private:
@@ -717,6 +713,11 @@ inline bool Node::hasClass() const
return isElementNode() && toElement(this)->hasClass();
}
+inline bool isShadowHost(const Node* node)
+{
+ return node && node->isElementNode() && toElement(node)->shadow();
+}
+
} // namespace
#endif