| OLD | NEW |
| 1 #library('html'); | 1 #library('html'); |
| 2 | 2 |
| 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated dart:html library. | 8 // Auto-generated dart:html library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 7329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7340 | 7340 |
| 7341 String scrolling; | 7341 String scrolling; |
| 7342 | 7342 |
| 7343 String src; | 7343 String src; |
| 7344 | 7344 |
| 7345 String width; | 7345 String width; |
| 7346 | 7346 |
| 7347 _SVGDocumentImpl getSVGDocument() native; | 7347 _SVGDocumentImpl getSVGDocument() native; |
| 7348 } | 7348 } |
| 7349 | 7349 |
| 7350 class _IceCandidateImpl implements IceCandidate native "*IceCandidate" { |
| 7351 |
| 7352 final String label; |
| 7353 |
| 7354 String toSdp() native; |
| 7355 } |
| 7356 |
| 7350 class _ImageDataImpl implements ImageData native "*ImageData" { | 7357 class _ImageDataImpl implements ImageData native "*ImageData" { |
| 7351 | 7358 |
| 7352 final _CanvasPixelArrayImpl data; | 7359 final _CanvasPixelArrayImpl data; |
| 7353 | 7360 |
| 7354 final int height; | 7361 final int height; |
| 7355 | 7362 |
| 7356 final int width; | 7363 final int width; |
| 7357 } | 7364 } |
| 7358 | 7365 |
| 7359 class _ImageElementImpl extends _ElementImpl implements ImageElement native "*HT
MLImageElement" { | 7366 class _ImageElementImpl extends _ElementImpl implements ImageElement native "*HT
MLImageElement" { |
| (...skipping 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8994 void show() native; | 9001 void show() native; |
| 8995 } | 9002 } |
| 8996 | 9003 |
| 8997 class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
{ | 9004 class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
{ |
| 8998 _NotificationEventsImpl(_ptr) : super(_ptr); | 9005 _NotificationEventsImpl(_ptr) : super(_ptr); |
| 8999 | 9006 |
| 9000 EventListenerList get click() => _get('click'); | 9007 EventListenerList get click() => _get('click'); |
| 9001 | 9008 |
| 9002 EventListenerList get close() => _get('close'); | 9009 EventListenerList get close() => _get('close'); |
| 9003 | 9010 |
| 9004 EventListenerList get display() => _get('display'); | |
| 9005 | |
| 9006 EventListenerList get error() => _get('error'); | 9011 EventListenerList get error() => _get('error'); |
| 9007 | 9012 |
| 9008 EventListenerList get show() => _get('show'); | 9013 EventListenerList get show() => _get('show'); |
| 9009 } | 9014 } |
| 9010 | 9015 |
| 9011 class _NotificationCenterImpl implements NotificationCenter native "*Notificatio
nCenter" { | 9016 class _NotificationCenterImpl implements NotificationCenter native "*Notificatio
nCenter" { |
| 9012 | 9017 |
| 9013 int checkPermission() native; | 9018 int checkPermission() native; |
| 9014 | 9019 |
| 9015 _NotificationImpl createHTMLNotification(String url) native; | 9020 _NotificationImpl createHTMLNotification(String url) native; |
| (...skipping 6221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15237 } | 15242 } |
| 15238 | 15243 |
| 15239 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
le native "*WebKitCSSRegionRule" { | 15244 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
le native "*WebKitCSSRegionRule" { |
| 15240 | 15245 |
| 15241 final _CSSRuleListImpl cssRules; | 15246 final _CSSRuleListImpl cssRules; |
| 15242 } | 15247 } |
| 15243 | 15248 |
| 15244 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow"
{ | 15249 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow"
{ |
| 15245 | 15250 |
| 15246 final bool overflow; | 15251 final bool overflow; |
| 15247 | |
| 15248 _NodeListImpl getRegionsByContentNode(_NodeImpl contentNode) native; | |
| 15249 } | 15252 } |
| 15250 | 15253 |
| 15251 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS
ocket" { | 15254 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS
ocket" { |
| 15252 | 15255 |
| 15253 _WebSocketEventsImpl get on() => | 15256 _WebSocketEventsImpl get on() => |
| 15254 new _WebSocketEventsImpl(this); | 15257 new _WebSocketEventsImpl(this); |
| 15255 | 15258 |
| 15256 static final int CLOSED = 3; | 15259 static final int CLOSED = 3; |
| 15257 | 15260 |
| 15258 static final int CLOSING = 2; | 15261 static final int CLOSING = 2; |
| (...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16092 // BSD-style license that can be found in the LICENSE file. | 16095 // BSD-style license that can be found in the LICENSE file. |
| 16093 | 16096 |
| 16094 class _FileReaderSyncFactoryProvider { | 16097 class _FileReaderSyncFactoryProvider { |
| 16095 factory FileReaderSync() native | 16098 factory FileReaderSync() native |
| 16096 '''return new FileReaderSync();'''; | 16099 '''return new FileReaderSync();'''; |
| 16097 } | 16100 } |
| 16098 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16099 // for details. All rights reserved. Use of this source code is governed by a | 16102 // for details. All rights reserved. Use of this source code is governed by a |
| 16100 // BSD-style license that can be found in the LICENSE file. | 16103 // BSD-style license that can be found in the LICENSE file. |
| 16101 | 16104 |
| 16105 class _IceCandidateFactoryProvider { |
| 16106 factory IceCandidate(String label, String candidateLine) native |
| 16107 '''return new IceCandidate(label, candidateLine);'''; |
| 16108 } |
| 16109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16110 // for details. All rights reserved. Use of this source code is governed by a |
| 16111 // BSD-style license that can be found in the LICENSE file. |
| 16112 |
| 16102 class _MediaControllerFactoryProvider { | 16113 class _MediaControllerFactoryProvider { |
| 16103 factory MediaController() native | 16114 factory MediaController() native |
| 16104 '''return new MediaController();'''; | 16115 '''return new MediaController();'''; |
| 16105 } | 16116 } |
| 16106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16107 // for details. All rights reserved. Use of this source code is governed by a | 16118 // for details. All rights reserved. Use of this source code is governed by a |
| 16108 // BSD-style license that can be found in the LICENSE file. | 16119 // BSD-style license that can be found in the LICENSE file. |
| 16109 | 16120 |
| 16110 class _MediaStreamFactoryProvider { | 16121 class _MediaStreamFactoryProvider { |
| 16111 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid
eoTracks) native | 16122 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid
eoTracks) native |
| (...skipping 6322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22434 String width; | 22445 String width; |
| 22435 | 22446 |
| 22436 SVGDocument getSVGDocument(); | 22447 SVGDocument getSVGDocument(); |
| 22437 } | 22448 } |
| 22438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22439 // for details. All rights reserved. Use of this source code is governed by a | 22450 // for details. All rights reserved. Use of this source code is governed by a |
| 22440 // BSD-style license that can be found in the LICENSE file. | 22451 // BSD-style license that can be found in the LICENSE file. |
| 22441 | 22452 |
| 22442 // WARNING: Do not edit - generated code. | 22453 // WARNING: Do not edit - generated code. |
| 22443 | 22454 |
| 22455 interface IceCandidate default _IceCandidateFactoryProvider { |
| 22456 |
| 22457 IceCandidate(String label, String candidateLine); |
| 22458 |
| 22459 final String label; |
| 22460 |
| 22461 String toSdp(); |
| 22462 } |
| 22463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22464 // for details. All rights reserved. Use of this source code is governed by a |
| 22465 // BSD-style license that can be found in the LICENSE file. |
| 22466 |
| 22467 // WARNING: Do not edit - generated code. |
| 22468 |
| 22444 interface ImageData { | 22469 interface ImageData { |
| 22445 | 22470 |
| 22446 final CanvasPixelArray data; | 22471 final CanvasPixelArray data; |
| 22447 | 22472 |
| 22448 final int height; | 22473 final int height; |
| 22449 | 22474 |
| 22450 final int width; | 22475 final int width; |
| 22451 } | 22476 } |
| 22452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22453 // for details. All rights reserved. Use of this source code is governed by a | 22478 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23792 | 23817 |
| 23793 void show(); | 23818 void show(); |
| 23794 } | 23819 } |
| 23795 | 23820 |
| 23796 interface NotificationEvents extends Events { | 23821 interface NotificationEvents extends Events { |
| 23797 | 23822 |
| 23798 EventListenerList get click(); | 23823 EventListenerList get click(); |
| 23799 | 23824 |
| 23800 EventListenerList get close(); | 23825 EventListenerList get close(); |
| 23801 | 23826 |
| 23802 EventListenerList get display(); | |
| 23803 | |
| 23804 EventListenerList get error(); | 23827 EventListenerList get error(); |
| 23805 | 23828 |
| 23806 EventListenerList get show(); | 23829 EventListenerList get show(); |
| 23807 } | 23830 } |
| 23808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23809 // for details. All rights reserved. Use of this source code is governed by a | 23832 // for details. All rights reserved. Use of this source code is governed by a |
| 23810 // BSD-style license that can be found in the LICENSE file. | 23833 // BSD-style license that can be found in the LICENSE file. |
| 23811 | 23834 |
| 23812 // WARNING: Do not edit - generated code. | 23835 // WARNING: Do not edit - generated code. |
| 23813 | 23836 |
| (...skipping 5745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29559 } | 29582 } |
| 29560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29561 // for details. All rights reserved. Use of this source code is governed by a | 29584 // for details. All rights reserved. Use of this source code is governed by a |
| 29562 // BSD-style license that can be found in the LICENSE file. | 29585 // BSD-style license that can be found in the LICENSE file. |
| 29563 | 29586 |
| 29564 // WARNING: Do not edit - generated code. | 29587 // WARNING: Do not edit - generated code. |
| 29565 | 29588 |
| 29566 interface WebKitNamedFlow { | 29589 interface WebKitNamedFlow { |
| 29567 | 29590 |
| 29568 final bool overflow; | 29591 final bool overflow; |
| 29569 | |
| 29570 NodeList getRegionsByContentNode(Node contentNode); | |
| 29571 } | 29592 } |
| 29572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29593 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29573 // for details. All rights reserved. Use of this source code is governed by a | 29594 // for details. All rights reserved. Use of this source code is governed by a |
| 29574 // BSD-style license that can be found in the LICENSE file. | 29595 // BSD-style license that can be found in the LICENSE file. |
| 29575 | 29596 |
| 29576 // WARNING: Do not edit - generated code. | 29597 // WARNING: Do not edit - generated code. |
| 29577 | 29598 |
| 29578 interface WebSocket extends EventTarget default _WebSocketFactoryProvider { | 29599 interface WebSocket extends EventTarget default _WebSocketFactoryProvider { |
| 29579 | 29600 |
| 29580 WebSocket(String url); | 29601 WebSocket(String url); |
| (...skipping 1970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 31551 if (length < 0) throw new IllegalArgumentException('length'); | 31572 if (length < 0) throw new IllegalArgumentException('length'); |
| 31552 if (start < 0) throw new IndexOutOfRangeException(start); | 31573 if (start < 0) throw new IndexOutOfRangeException(start); |
| 31553 int end = start + length; | 31574 int end = start + length; |
| 31554 if (end > a.length) throw new IndexOutOfRangeException(end); | 31575 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 31555 for (int i = start; i < end; i++) { | 31576 for (int i = start; i < end; i++) { |
| 31556 accumulator.add(a[i]); | 31577 accumulator.add(a[i]); |
| 31557 } | 31578 } |
| 31558 return accumulator; | 31579 return accumulator; |
| 31559 } | 31580 } |
| 31560 } | 31581 } |
| OLD | NEW |