| 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 e410349ac24f66484daacbb7c199e68be1822b60..a90649df6d76668ae757c161bcf995dc82ec0b2d 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h
|
| @@ -12,6 +12,8 @@
|
|
|
| namespace blink {
|
|
|
| +class Element;
|
| +
|
| class CORE_EXPORT CustomElementDefinition
|
| : public GarbageCollectedFinalized<CustomElementDefinition> {
|
| WTF_MAKE_NONCOPYABLE(CustomElementDefinition);
|
| @@ -21,10 +23,24 @@ public:
|
|
|
| const CustomElementDescriptor& descriptor() { return m_descriptor; }
|
|
|
| - DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| + using ConstructionStack = HeapVector<Member<Element>, 1>;
|
| + ConstructionStack& constructionStack()
|
| + {
|
| + return m_constructionStack;
|
| + }
|
| +
|
| + void upgrade(Element*);
|
| +
|
| +protected:
|
| + // TODO(dominicc): Make this pure virtual when the script side is
|
| + // implemented.
|
| + virtual bool runConstructor(Element*);
|
|
|
| private:
|
| const CustomElementDescriptor m_descriptor;
|
| + ConstructionStack m_constructionStack;
|
| };
|
|
|
| } // namespace blink
|
|
|