Index: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
index 571d2e5603748276b4e41fc5671b64c38268508b..0af663d0951d3833158171ba48b8c0ea624ebdfd 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
@@ -9,7 +9,10 @@ |
#include "core/CoreExport.h" |
#include "core/dom/custom/CustomElementDefinition.h" |
#include "v8.h" |
+#include "wtf/HashSet.h" |
#include "wtf/Noncopyable.h" |
+#include "wtf/text/AtomicString.h" |
+#include "wtf/text/AtomicStringHash.h" |
namespace blink { |
@@ -31,7 +34,11 @@ public: |
CustomElementsRegistry*, |
const CustomElementDescriptor&, |
const v8::Local<v8::Object>& constructor, |
- const v8::Local<v8::Object>& prototype); |
+ const v8::Local<v8::Object>& prototype, |
+ const v8::Local<v8::Object>& connectedCallback, |
+ const v8::Local<v8::Object>& disconnectedCallback, |
+ const v8::Local<v8::Object>& attributeChangedCallback, |
+ const HashSet<AtomicString>& observedAttributes); |
virtual ~ScriptCustomElementDefinition() = default; |
@@ -43,11 +50,19 @@ private: |
ScriptState*, |
const CustomElementDescriptor&, |
const v8::Local<v8::Object>& constructor, |
- const v8::Local<v8::Object>& prototype); |
+ const v8::Local<v8::Object>& prototype, |
+ const v8::Local<v8::Object>& connectedCallback, |
+ const v8::Local<v8::Object>& disconnectedCallback, |
+ const v8::Local<v8::Object>& attributeChangedCallback, |
+ const HashSet<AtomicString>& observedAttributes); |
RefPtr<ScriptState> m_scriptState; |
ScopedPersistent<v8::Object> m_constructor; |
ScopedPersistent<v8::Object> m_prototype; |
+ ScopedPersistent<v8::Object> m_connectedCallback; |
+ ScopedPersistent<v8::Object> m_disconnectedCallback; |
+ ScopedPersistent<v8::Object> m_attributeChangedCallback; |
+ HashSet<AtomicString> m_observedAttributes; |
}; |
} // namespace blink |