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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 26971005: Tighter native type annotations for some elements returning Lists (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:
Download patch
« no previous file with comments | « sdk/lib/_internal/lib/js_rti.dart ('k') | tools/dom/scripts/dartmetadata.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index d57c8743579b594ad058b2b85f6fa3d5c3fc74ee..6c139bdbced56e181bb1050596bed85cb8c5bdc0 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -10506,6 +10506,8 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
// http://dev.w3.org/csswg/css-regions/#dom-region-getregionflowranges
+ @Creates('JSExtendableArray')
+ @Returns('JSExtendableArray')
List<Range> getRegionFlowRanges() native;
@JSName('webkitRequestFullScreen')
@@ -16387,6 +16389,8 @@ class MediaStream extends EventTarget native "MediaStream" {
@DomName('MediaStream.getAudioTracks')
@DocsEditable()
+ @Creates('JSExtendableArray')
+ @Returns('JSExtendableArray')
List<MediaStreamTrack> getAudioTracks() native;
@DomName('MediaStream.getTrackById')
@@ -16395,6 +16399,8 @@ class MediaStream extends EventTarget native "MediaStream" {
@DomName('MediaStream.getVideoTracks')
@DocsEditable()
+ @Creates('JSExtendableArray')
+ @Returns('JSExtendableArray')
List<MediaStreamTrack> getVideoTracks() native;
@DomName('MediaStream.removeTrack')
« no previous file with comments | « sdk/lib/_internal/lib/js_rti.dart ('k') | tools/dom/scripts/dartmetadata.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698