| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 18411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18422 } | 18422 } |
| 18423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18424 // for details. All rights reserved. Use of this source code is governed by a | 18424 // for details. All rights reserved. Use of this source code is governed by a |
| 18425 // BSD-style license that can be found in the LICENSE file. | 18425 // BSD-style license that can be found in the LICENSE file. |
| 18426 | 18426 |
| 18427 | 18427 |
| 18428 @DocsEditable | 18428 @DocsEditable |
| 18429 @DomName('RTCDataChannel') | 18429 @DomName('RTCDataChannel') |
| 18430 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel | 18430 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel |
| 18431 @Experimental | 18431 @Experimental |
| 18432 class RtcDataChannel extends EventTarget native "RTCDataChannel" { | 18432 class RtcDataChannel extends EventTarget native "RTCDataChannel,DataChannel" { |
| 18433 | 18433 |
| 18434 @DomName('RTCDataChannel.closeEvent') | 18434 @DomName('RTCDataChannel.closeEvent') |
| 18435 @DocsEditable | 18435 @DocsEditable |
| 18436 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 18436 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 18437 | 18437 |
| 18438 @DomName('RTCDataChannel.errorEvent') | 18438 @DomName('RTCDataChannel.errorEvent') |
| 18439 @DocsEditable | 18439 @DocsEditable |
| 18440 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 18440 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 18441 | 18441 |
| 18442 @DomName('RTCDataChannel.messageEvent') | 18442 @DomName('RTCDataChannel.messageEvent') |
| (...skipping 11411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29854 _position = nextPosition; | 29854 _position = nextPosition; |
| 29855 return true; | 29855 return true; |
| 29856 } | 29856 } |
| 29857 _current = null; | 29857 _current = null; |
| 29858 _position = _array.length; | 29858 _position = _array.length; |
| 29859 return false; | 29859 return false; |
| 29860 } | 29860 } |
| 29861 | 29861 |
| 29862 T get current => _current; | 29862 T get current => _current; |
| 29863 } | 29863 } |
| OLD | NEW |