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

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: 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
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 6638fde0711399f97b6794e132dbf3b1650da1b2..84dd747398025492fa08d65a4e734d86b7b71038 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 */
+ @Returns('_ElementInstanceList') @Creates('_ElementInstanceList')
final List<ElementInstance> childNodes;
/** @domName SVGElementInstance.correspondingElement */
@@ -5168,9 +5169,11 @@ class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Element getElementById(String elementId) native;
/** @domName SVGSVGElement.getEnclosureList */
+ @Returns('_NodeList') @Creates('_NodeList')
List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native;
/** @domName SVGSVGElement.getIntersectionList */
+ @Returns('_NodeList') @Creates('_NodeList')
List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native;
/** @domName SVGSVGElement.pauseAnimations */

Powered by Google App Engine
This is Rietveld 408576698