Index: third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h |
index a1db45a656006e5d441650bb343a64453220c122..eead3c526ef6c9cdb136eb53e4e43876400735aa 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h |
@@ -56,7 +56,8 @@ public: |
virtual bool hasConnectedCallback() const = 0; |
virtual bool hasDisconnectedCallback() const = 0; |
- bool hasAttributeChangedCallback(const QualifiedName&); |
+ bool hasAttributeChangedCallback(const QualifiedName&) const; |
+ bool hasStyleAttributeChangedCallback() const; |
virtual void runConnectedCallback(Element*) = 0; |
virtual void runDisconnectedCallback(Element*) = 0; |
@@ -74,11 +75,11 @@ protected: |
static void checkConstructorResult(Element*, Document&, const QualifiedName&, ExceptionState&); |
- HashSet<AtomicString> m_observedAttributes; |
- |
private: |
const CustomElementDescriptor m_descriptor; |
ConstructionStack m_constructionStack; |
+ HashSet<AtomicString> m_observedAttributes; |
+ bool m_hasStyleAttributeChangedCallback; |
void enqueueAttributeChangedCallbackForAllAttributes(Element*); |
}; |