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 fb46146a12422198b4964149c9e4ca49ee22a1ac..a99e9a42a2f5578a9744dbb95aa0d86baec47fb4 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h |
@@ -13,8 +13,9 @@ |
namespace blink { |
-class ScriptState; |
class Element; |
+class HTMLElement; |
+class QualifiedName; |
class CORE_EXPORT CustomElementDefinition |
: public GarbageCollectedFinalized<CustomElementDefinition> { |
@@ -41,6 +42,9 @@ public: |
return m_constructionStack; |
} |
+ virtual HTMLElement* createCustomElement(Document&, const QualifiedName&) = 0; |
+ virtual HTMLElement* createCustomElementIgnoringErrors(Document&, const QualifiedName&) = 0; |
+ |
void upgrade(Element*); |
protected: |