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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 12212056: Sample test for custom elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index 890938e44e0282eaaf56fb24a38ad0ed09b0bb9f..6b83d20748d458385fe4d3cd9cf9e5551aac51cb 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -753,6 +753,12 @@ $(ANNOTATIONS)abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
return e is Element && !(e is UnknownElement);
}
+ /**
+ * Called by the DOM when this element has been instantiated.
+ */
+ @Experimental
+ void onCreated() {}
+
// Hooks to support custom WebComponents.
/**
* Experimental support for [web components][wc]. This field stores a

Powered by Google App Engine
This is Rietveld 408576698