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

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

Issue 23009004: Process Custom Elements in post-order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Less fragile. Created 7 years, 4 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: Source/core/dom/CustomElementObserver.h
diff --git a/Source/core/dom/CustomElementObserver.h b/Source/core/dom/CustomElementObserver.h
index 39d702e6e92ae48267d29c2862c2b90585dd4938..ab7c57dcee885f9c961b09f811d96a5412df3584 100644
--- a/Source/core/dom/CustomElementObserver.h
+++ b/Source/core/dom/CustomElementObserver.h
@@ -44,12 +44,14 @@ public:
// API for CustomElement to kick off notifications
+ static void notifyElementDidFinishParsingChildren(Element*);
static void notifyElementWasDestroyed(Element*);
protected:
void observe(Element*);
void unobserve(Element*);
+ virtual void elementDidFinishParsingChildren(Element*) = 0;
virtual void elementWasDestroyed(Element* element) { unobserve(element); }
private:

Powered by Google App Engine
This is Rietveld 408576698