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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp

Issue 1952893003: Implement custom element construction and some 'define' checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove defunct stuff. Created 4 years, 7 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/V0CustomElementRegistrationContext.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp
index ee05a67de77277b8085aa68f9e3992ac67012031..bcdbdd25b036e42c4a7541a180ccef7558ddcc1d 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp
@@ -153,6 +153,16 @@ void V0CustomElementRegistrationContext::setTypeExtension(Element* element, cons
context->didGiveTypeExtension(element, element->document().convertLocalName(type));
}
+bool V0CustomElementRegistrationContext::nameIsDefined(const AtomicString& name) const
+{
+ return m_registry.nameIsDefined(name);
+}
+
+void V0CustomElementRegistrationContext::setV1(const CustomElementsRegistry* v1)
+{
+ m_registry.setV1(v1);
+}
+
DEFINE_TRACE(V0CustomElementRegistrationContext)
{
visitor->trace(m_candidates);

Powered by Google App Engine
This is Rietveld 408576698