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

Unified Diff: sky/engine/core/dom/Document.h

Issue 943013002: Implement Custom Elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: attributeChanged***d***Callback Created 5 years, 10 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: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index 6555797191dbff6a7502b0893c511b748ba082e0..e27dc9a601170b70eae0f9c54d6df89a4812bcff 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -70,7 +70,6 @@ class CanvasRenderingContext2D;
class Comment;
class ConsoleMessage;
class CustomElementMicrotaskRunQueue;
-class CustomElementRegistrationContext;
class DocumentFragment;
class DocumentLifecycleNotifier;
class DocumentLoadTiming;
@@ -100,6 +99,7 @@ class LocalFrame;
class Location;
class MediaQueryListListener;
class MediaQueryMatcher;
+class NewCustomElementRegistry;
class Page;
class QualifiedName;
class Range;
@@ -443,8 +443,8 @@ public:
IntSize initialViewportSize() const;
- PassRefPtr<DartValue> registerElement(DartState*, const AtomicString& name, ExceptionState&);
- CustomElementRegistrationContext& registrationContext() { return *m_registrationContext; }
+ void registerElement(const AtomicString& name, PassRefPtr<DartValue> type, ExceptionState&);
+ NewCustomElementRegistry& elementRegistry() const { return *m_elementRegistry; }
CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
void setImportsController(HTMLImportsController*);
@@ -663,7 +663,7 @@ private:
RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
- RefPtr<CustomElementRegistrationContext> m_registrationContext;
+ RefPtr<NewCustomElementRegistry> m_elementRegistry;
RefPtr<CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue;
void elementDataCacheClearTimerFired(Timer<Document>*);

Powered by Google App Engine
This is Rietveld 408576698