| 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 c6fd2b0ff9112b613ce3185d5dae975af7b97647..e4557102cb35734aa827b46a5aa05a488ffe40ad 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h
|
| @@ -13,8 +13,10 @@
|
|
|
| namespace blink {
|
|
|
| -class ScriptState;
|
| class Element;
|
| +class ExceptionState;
|
| +class HTMLElement;
|
| +class QualifiedName;
|
|
|
| class CORE_EXPORT CustomElementDefinition
|
| : public GarbageCollectedFinalized<CustomElementDefinition> {
|
| @@ -41,6 +43,10 @@ public:
|
| return m_constructionStack;
|
| }
|
|
|
| + virtual HTMLElement* createElementSync(Document&, const QualifiedName&) = 0;
|
| + virtual HTMLElement* createElementSync(Document&, const QualifiedName&, ExceptionState&) = 0;
|
| + HTMLElement* createElementAsync(Document&, const QualifiedName&);
|
| +
|
| void upgrade(Element*);
|
|
|
| // TODO(kojii): Change these methods to pure when script-side is implemented.
|
| @@ -62,6 +68,8 @@ public:
|
| protected:
|
| virtual bool runConstructor(Element*) = 0;
|
|
|
| + static void checkConstructorResult(Element*, Document&, const QualifiedName&, ExceptionState&);
|
| +
|
| private:
|
| const CustomElementDescriptor m_descriptor;
|
| ConstructionStack m_constructionStack;
|
|
|