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

Unified Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 11415067: Add annotations on native fields and methods (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment Created 8 years, 1 month 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 | « sdk/lib/html/templates/html/impl/impl_Element.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart
index 388b9a450b99889b807b68bbe2d5ae1a2e7861fc..80b3b1d90e4fcb74fa3abe5551e72364565d0c1c 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -1105,6 +1105,7 @@ class ElementInstance extends EventTarget native "*SVGElementInstance" {
new ElementInstanceEvents(this);
/** @domName SVGElementInstance.childNodes; @docsEditable true */
+ @Returns('_ElementInstanceList') @Creates('_ElementInstanceList')
final List<ElementInstance> childNodes;
/** @domName SVGElementInstance.correspondingElement; @docsEditable true */
@@ -5168,9 +5169,11 @@ class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Element getElementById(String elementId) native;
/** @domName SVGSVGElement.getEnclosureList; @docsEditable true */
+ @Returns('_NodeList') @Creates('_NodeList')
List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native;
/** @domName SVGSVGElement.getIntersectionList; @docsEditable true */
+ @Returns('_NodeList') @Creates('_NodeList')
List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native;
/** @domName SVGSVGElement.pauseAnimations; @docsEditable true */
« no previous file with comments | « sdk/lib/html/templates/html/impl/impl_Element.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698