Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElement.h

Issue 2054433002: Implement "create an element" when sync for Custom Element V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async-ce
Patch Set: Prefer ExceptionState over throw Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/custom/CustomElement.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.h b/third_party/WebKit/Source/core/dom/custom/CustomElement.h
index b4637109016095e548aa896aefdf71e9aaad1d7d..3c2dcaf0dc10e7e143cc719d65e81d841a85afea 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.h
@@ -55,11 +55,14 @@ public:
static bool shouldCreateCustomElement(Document&, const QualifiedName&);
static HTMLElement* createCustomElement(Document&, const AtomicString& localName, CreateElementFlags);
+ static HTMLElement* createCustomElement(Document&, const AtomicString& localName, CreateElementFlags, ExceptionState&);
static HTMLElement* createCustomElement(Document&, const QualifiedName&, CreateElementFlags);
+ static HTMLElement* createCustomElement(Document&, const QualifiedName&, CreateElementFlags, ExceptionState&);
static void enqueueUpgradeReaction(Element*, CustomElementDefinition*);
private:
+ static HTMLElement* createCustomElement(Document&, const QualifiedName&, CreateElementFlags, ExceptionState*);
dominicc (has gone to gerrit) 2016/06/10 06:13:28 I don't like how things have ended up here. You ha
kojii 2016/06/10 19:01:45 Done. It used to use CreatedByParser too, but that
static HTMLElement* createCustomElementAsync(Document&, CustomElementDefinition&, const QualifiedName&);
};

Powered by Google App Engine
This is Rietveld 408576698