Chromium Code Reviews| Index: Source/core/dom/CustomElementRegistrationContext.h |
| diff --git a/Source/core/dom/CustomElementRegistrationContext.h b/Source/core/dom/CustomElementRegistrationContext.h |
| index 64099d398594c316fdb4d1266dd7698c7caa5c40..1ab3f822d617902be3fca25c75e25e115f7d0024 100644 |
| --- a/Source/core/dom/CustomElementRegistrationContext.h |
| +++ b/Source/core/dom/CustomElementRegistrationContext.h |
| @@ -57,12 +57,14 @@ public: |
| void registerElement(Document*, CustomElementConstructorBuilder*, const AtomicString& type, ExceptionState&); |
| // Instance creation |
| - PassRefPtr<Element> createCustomTagElement(Document*, const QualifiedName&); |
| + enum CreationMode { |
| + CreatedByParser, |
| + CreatedByCloning, |
|
dglazkov
2013/08/13 16:22:06
Sounds like this guy is not being used at the mome
|
| + CreatedByDOM |
| + }; |
| + PassRefPtr<Element> createCustomTagElement(Document*, const QualifiedName&, CreationMode); |
| static void setIsAttributeAndTypeExtension(Element*, const AtomicString& type); |
| - static void setTypeExtension(Element*, const AtomicString& type); |
| - |
| - // Instance lifecycle |
| - void customElementWasDestroyed(Element*); |
| + static void setTypeExtension(Element*, const AtomicString& type, CreationMode); |
| protected: |
| CustomElementRegistrationContext() { } |