| OLD | NEW |
| 1 #library('htmlimpl'); | 1 #library('htmlimpl'); |
| 2 | 2 |
| 3 #import('dart:dom', prefix:'dom'); | 3 #import('dart:dom', prefix:'dom'); |
| 4 #import('dart:html'); | 4 #import('dart:html'); |
| 5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 6 // for details. All rights reserved. Use of this source code is governed by a | 6 // for details. All rights reserved. Use of this source code is governed by a |
| 7 // BSD-style license that can be found in the LICENSE file. | 7 // BSD-style license that can be found in the LICENSE file. |
| 8 | 8 |
| 9 // DO NOT EDIT | 9 // DO NOT EDIT |
| 10 // Auto-generated Dart HTML library. | 10 // Auto-generated Dart HTML library. |
| (...skipping 10392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10403 class CSSMatrixFactoryProvider { | 10403 class CSSMatrixFactoryProvider { |
| 10404 | 10404 |
| 10405 factory CSSMatrix([String spec = '']) { | 10405 factory CSSMatrix([String spec = '']) { |
| 10406 return new CSSMatrixWrappingImplementation._wrap( | 10406 return new CSSMatrixWrappingImplementation._wrap( |
| 10407 new dom.WebKitCSSMatrix(spec)); | 10407 new dom.WebKitCSSMatrix(spec)); |
| 10408 } | 10408 } |
| 10409 } | 10409 } |
| 10410 | 10410 |
| 10411 class PointFactoryProvider { | 10411 class PointFactoryProvider { |
| 10412 | 10412 |
| 10413 /** @domName Window.createWebKitPoint */ | |
| 10414 factory Point(num x, num y) { | 10413 factory Point(num x, num y) { |
| 10415 return new PointWrappingImplementation._wrap(new dom.WebKitPoint(x, y)); | 10414 return new PointWrappingImplementation._wrap(new dom.WebKitPoint(x, y)); |
| 10416 } | 10415 } |
| 10417 } | 10416 } |
| 10418 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10417 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10419 // for details. All rights reserved. Use of this source code is governed by a | 10418 // for details. All rights reserved. Use of this source code is governed by a |
| 10420 // BSD-style license that can be found in the LICENSE file. | 10419 // BSD-style license that can be found in the LICENSE file. |
| 10421 | 10420 |
| 10422 // Iterator for lists with fixed size. | 10421 // Iterator for lists with fixed size. |
| 10423 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { | 10422 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { |
| (...skipping 6760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17184 EventListenerList get load() => _get('load'); | 17183 EventListenerList get load() => _get('load'); |
| 17185 EventListenerList get loadStart() => _get('loadstart'); | 17184 EventListenerList get loadStart() => _get('loadstart'); |
| 17186 EventListenerList get progress() => _get('progress'); | 17185 EventListenerList get progress() => _get('progress'); |
| 17187 EventListenerList get readyStateChange() => _get('readystatechange'); | 17186 EventListenerList get readyStateChange() => _get('readystatechange'); |
| 17188 } | 17187 } |
| 17189 | 17188 |
| 17190 class XMLHttpRequestWrappingImplementation extends EventTargetWrappingImplementa
tion implements XMLHttpRequest { | 17189 class XMLHttpRequestWrappingImplementation extends EventTargetWrappingImplementa
tion implements XMLHttpRequest { |
| 17191 XMLHttpRequestWrappingImplementation._wrap( | 17190 XMLHttpRequestWrappingImplementation._wrap( |
| 17192 dom.XMLHttpRequest ptr) : super._wrap(ptr); | 17191 dom.XMLHttpRequest ptr) : super._wrap(ptr); |
| 17193 | 17192 |
| 17194 /** @domName Window.createXMLHttpRequest */ | |
| 17195 factory XMLHttpRequestWrappingImplementation() { | 17193 factory XMLHttpRequestWrappingImplementation() { |
| 17196 return new XMLHttpRequestWrappingImplementation._wrap( | 17194 return new XMLHttpRequestWrappingImplementation._wrap( |
| 17197 new dom.XMLHttpRequest()); | 17195 new dom.XMLHttpRequest()); |
| 17198 } | 17196 } |
| 17199 | 17197 |
| 17200 factory XMLHttpRequestWrappingImplementation.getTEMPNAME(String url, | 17198 factory XMLHttpRequestWrappingImplementation.getTEMPNAME(String url, |
| 17201 onSuccess(XMLHttpRequest request)) { | 17199 onSuccess(XMLHttpRequest request)) { |
| 17202 final request = new XMLHttpRequest(); | 17200 final request = new XMLHttpRequest(); |
| 17203 request.open('GET', url, true); | 17201 request.open('GET', url, true); |
| 17204 | 17202 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17296 _ptr.setRequestHeader(header, value); | 17294 _ptr.setRequestHeader(header, value); |
| 17297 } | 17295 } |
| 17298 | 17296 |
| 17299 XMLHttpRequestEvents get on() { | 17297 XMLHttpRequestEvents get on() { |
| 17300 if (_on === null) { | 17298 if (_on === null) { |
| 17301 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr); | 17299 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr); |
| 17302 } | 17300 } |
| 17303 return _on; | 17301 return _on; |
| 17304 } | 17302 } |
| 17305 } | 17303 } |
| OLD | NEW |