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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 18346012: Make keySystem argument optional in MediaElement.canPlayType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /// The Dart HTML library. 1 /// The Dart HTML library.
2 /// 2 ///
3 /// For examples, see 3 /// For examples, see
4 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples) 4 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples)
5 /// on Github. 5 /// on Github.
6 library dart.dom.html; 6 library dart.dom.html;
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:collection'; 9 import 'dart:collection';
10 import 'dart:_collection-dev' hide Symbol; 10 import 'dart:_collection-dev' hide Symbol;
(...skipping 14372 matching lines...) Expand 10 before | Expand all | Expand 10 after
14383 14383
14384 @DomName('HTMLMediaElement.addTextTrack') 14384 @DomName('HTMLMediaElement.addTextTrack')
14385 @DocsEditable() 14385 @DocsEditable()
14386 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme nt.html#dom-media-addtexttrack 14386 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme nt.html#dom-media-addtexttrack
14387 @Experimental() 14387 @Experimental()
14388 TextTrack addTextTrack(String kind, [String label, String language]) native; 14388 TextTrack addTextTrack(String kind, [String label, String language]) native;
14389 14389
14390 @DomName('HTMLMediaElement.canPlayType') 14390 @DomName('HTMLMediaElement.canPlayType')
14391 @DocsEditable() 14391 @DocsEditable()
14392 @Unstable() 14392 @Unstable()
14393 String canPlayType(String type, String keySystem) native; 14393 String canPlayType(String type, [String keySystem]) native;
14394 14394
14395 @DomName('HTMLMediaElement.load') 14395 @DomName('HTMLMediaElement.load')
14396 @DocsEditable() 14396 @DocsEditable()
14397 void load() native; 14397 void load() native;
14398 14398
14399 @DomName('HTMLMediaElement.pause') 14399 @DomName('HTMLMediaElement.pause')
14400 @DocsEditable() 14400 @DocsEditable()
14401 void pause() native; 14401 void pause() native;
14402 14402
14403 @DomName('HTMLMediaElement.play') 14403 @DomName('HTMLMediaElement.play')
(...skipping 14919 matching lines...) Expand 10 before | Expand all | Expand 10 after
29323 _position = nextPosition; 29323 _position = nextPosition;
29324 return true; 29324 return true;
29325 } 29325 }
29326 _current = null; 29326 _current = null;
29327 _position = _array.length; 29327 _position = _array.length;
29328 return false; 29328 return false;
29329 } 29329 }
29330 29330
29331 T get current => _current; 29331 T get current => _current;
29332 } 29332 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698