Index: Source/core/dom/CustomElementRegistry.h |
diff --git a/Source/core/dom/CustomElementRegistry.h b/Source/core/dom/CustomElementRegistry.h |
index 40c2435024a0a37e56966741a0d47d8c666bbdd2..77ffd405f88c0815ae97808021f80e62a479c871 100644 |
--- a/Source/core/dom/CustomElementRegistry.h |
+++ b/Source/core/dom/CustomElementRegistry.h |
@@ -85,13 +85,14 @@ public: |
PassRefPtr<CustomElementDefinition> findFor(Element*) const; |
PassRefPtr<CustomElementDefinition> findAndCheckNamespace(const AtomicString& type, const AtomicString& namespaceURI) const; |
- PassRefPtr<Element> tryToCreateCustomTagElement(const QualifiedName& localName); |
+ PassRefPtr<Element> createCustomTagElement(const QualifiedName& localName); |
Document* document() const; |
void didGiveTypeExtension(Element*); |
- static bool isValidName(const AtomicString&); |
+ static bool isCustomTagName(const AtomicString& name) { return isValidName(name); } |
+ |
static void deliverAllLifecycleCallbacks(); |
static void deliverAllLifecycleCallbacksIfNeeded(); |
@@ -100,12 +101,14 @@ private: |
typedef HashSet<AtomicString> NameSet; |
typedef ListHashSet<CustomElementRegistry*> InstanceSet; |
+ static bool isValidName(const AtomicString&); |
+ |
static InstanceSet& activeCustomElementRegistries(); |
void activate(const CustomElementInvocation&); |
void deactivate(); |
void deliverLifecycleCallbacks(); |
- void didCreateElement(Element*); |
+ void didCreateCustomTagElement(Element*); |
DefinitionMap m_definitions; |
Vector<CustomElementInvocation> m_invocations; |