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

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

Issue 26592009: Removing Element.createdCallback (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « tests/html/custom_elements_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f6f1523f302d1f8fbc60aba0ccf81d2099c0f82e..98b321d7b4471cd2f703021849db088ca546575f 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -361,8 +361,6 @@ $(ANNOTATIONS)abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
// Validate that this is a custom element & perform any additional
// initialization.
_initializeCustomElement(this);
-
- createdCallback();
}
/**
@@ -674,13 +672,13 @@ $(ANNOTATIONS)abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
/**
* Gets the position of this element relative to the client area of the page.
*/
- Rectangle get client => new Rectangle(clientLeft, clientTop, clientWidth,
+ Rectangle get client => new Rectangle(clientLeft, clientTop, clientWidth,
clientHeight);
/**
* Gets the offset of this element relative to its offsetParent.
*/
- Rectangle get offset => new Rectangle(offsetLeft, offsetTop, offsetWidth,
+ Rectangle get offset => new Rectangle(offsetLeft, offsetTop, offsetWidth,
offsetHeight);
/**
@@ -709,15 +707,6 @@ $(ANNOTATIONS)abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
}
/**
- * Called by the DOM when this element has been instantiated.
- *
- * Will be replaced by created constructor.
- */
- @Experimental()
- @deprecated
- void createdCallback() {}
-
- /**
* Called by the DOM when this element has been inserted into the live
* document.
*/
« no previous file with comments | « tests/html/custom_elements_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698