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

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

Issue 15814008: Cleaning up some DOM APIs which were marked as deprecated because they were moved or renamed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 188759ea742f09c3ae992fe2279559f0bc12dab9..47f0e17fa9e5d4f9f68dd70e736bdab8521e7dc7 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -450,6 +450,16 @@ $endif
_xtag = value;
}
+ @DomName('Element.localName')
+ @DocsEditable
+ String get localName => $dom_localName;
+
+ @DomName('Element.namespaceUri')
+ @DocsEditable
+ String get namespaceUri => $dom_namespaceUri;
+
+ String toString() => localName;
+
/**
* Scrolls this element into view.
*
@@ -507,7 +517,7 @@ $if DART2JS
}
}
- @DomName('Element.webkitTransitionEndEvent')
+ @DomName('Element.transitionEndEvent')
static const EventStreamProvider<TransitionEvent> transitionEndEvent =
const _CustomEventStreamProvider<TransitionEvent>(
Element._determineTransitionEventType);

Powered by Google App Engine
This is Rietveld 408576698