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

Unified Diff: Source/core/dom/custom/CustomElementRegistrationContext.h

Issue 106903007: Let unresolved custom element go through CustomElementCallbackQueue. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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: Source/core/dom/custom/CustomElementRegistrationContext.h
diff --git a/Source/core/dom/custom/CustomElementRegistrationContext.h b/Source/core/dom/custom/CustomElementRegistrationContext.h
index 97dbc5fbfa75758737e331ebd010cc5fe256511d..cbd1b61dbd373bc8ee46cf95441b7f2d106cd786 100644
--- a/Source/core/dom/custom/CustomElementRegistrationContext.h
+++ b/Source/core/dom/custom/CustomElementRegistrationContext.h
@@ -60,6 +60,9 @@ public:
static void setIsAttributeAndTypeExtension(Element*, const AtomicString& type);
static void setTypeExtension(Element*, const AtomicString& type);
+ // Late resolution attempt from invocation object.
+ void resolvePoppedElement(Element*, const CustomElementDescriptor&);
+
protected:
CustomElementRegistrationContext() { }
@@ -67,9 +70,10 @@ protected:
void didGiveTypeExtension(Element*, const AtomicString& type);
private:
- void resolve(Element*, const AtomicString& typeExtension);
+ void resolveNewElement(Element*, const AtomicString& typeExtension);
void didResolveElement(CustomElementDefinition*, Element*);
void didCreateUnresolvedElement(const CustomElementDescriptor&, Element*);
+ void didFailResolution(const CustomElementDescriptor&, Element*);
CustomElementRegistry m_registry;

Powered by Google App Engine
This is Rietveld 408576698