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

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

Issue 2043153003: Implement "create an element" when async for Custom Element V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 d86f22d3e64861bbb31a5407aafe19722652e4e2..b4637109016095e548aa896aefdf71e9aaad1d7d 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.h
@@ -27,6 +27,7 @@ public:
// may be a different object for a given element over its lifetime
// as it moves between documents.
static CustomElementsRegistry* registry(const Element&);
+ static CustomElementsRegistry* registry(const Document&);
// Returns true if element could possibly match a custom element
// descriptor *now*. See CustomElementDescriptor::matches for the
@@ -57,6 +58,9 @@ public:
static HTMLElement* createCustomElement(Document&, const QualifiedName&, CreateElementFlags);
static void enqueueUpgradeReaction(Element*, CustomElementDefinition*);
+
+private:
+ static HTMLElement* createCustomElementAsync(Document&, CustomElementDefinition&, const QualifiedName&);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.idl ('k') | third_party/WebKit/Source/core/dom/custom/CustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698