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

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: Updated. 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..8108bfd15d8f38ca8e94ae44c896c8264a76d893 100644
--- a/Source/core/dom/custom/CustomElementRegistrationContext.h
+++ b/Source/core/dom/custom/CustomElementRegistrationContext.h
@@ -60,6 +60,8 @@ public:
static void setIsAttributeAndTypeExtension(Element*, const AtomicString& type);
static void setTypeExtension(Element*, const AtomicString& type);
+ void resolve(Element*, const CustomElementDescriptor&);
+
protected:
CustomElementRegistrationContext() { }
@@ -67,9 +69,7 @@ protected:
void didGiveTypeExtension(Element*, const AtomicString& type);
private:
- void resolve(Element*, const AtomicString& typeExtension);
- void didResolveElement(CustomElementDefinition*, Element*);
- void didCreateUnresolvedElement(const CustomElementDescriptor&, Element*);
+ void scheduleResolution(Element*, const AtomicString& typeExtension);
CustomElementRegistry m_registry;

Powered by Google App Engine
This is Rietveld 408576698