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

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..841b33795939147e2164e07e18450073f8e45576 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.
dominicc (has gone to gerrit) 2013/12/14 02:42:39 This will only have one caller so maybe this doesn
Hajime Morrita 2013/12/16 09:00:34 Oh right. Will remove.
+ void resolve(Element*, const CustomElementDescriptor&);
+
protected:
CustomElementRegistrationContext() { }
@@ -67,9 +70,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