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

Unified Diff: Source/core/dom/Document.h

Issue 18332025: Split CustomElementRegistry into a registration context and a registry. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced to tip. Created 7 years, 5 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
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 1cef6ad89fbd665cfb8480b68b37e859a30f5f6b..e2e2ece49669f11ed497a3bfc81b5ea3af587fdf 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -69,7 +69,7 @@ class CanvasRenderingContext;
class CharacterData;
class Comment;
class ContextFeatures;
-class CustomElementRegistry;
+class CustomElementRegistrationContext;
class DOMImplementation;
class DOMNamedFlowCollection;
class DOMSecurityPolicy;
@@ -993,8 +993,7 @@ public:
PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
- CustomElementRegistry* registry() const { return m_registry.get(); }
- CustomElementRegistry* ensureCustomElementRegistry();
+ CustomElementRegistrationContext* registrationContext() { return m_registrationContext.get(); }
void setImports(PassRefPtr<HTMLImportsController>);
HTMLImportsController* imports() const { return m_imports.get(); }
@@ -1327,7 +1326,7 @@ private:
OwnPtr<TextAutosizer> m_textAutosizer;
- RefPtr<CustomElementRegistry> m_registry;
+ RefPtr<CustomElementRegistrationContext> m_registrationContext;
RefPtr<HTMLImportsController> m_imports;
bool m_scheduledTasksAreSuspended;
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698