OLD | NEW |
1 #library('html'); | 1 #library('html'); |
2 | 2 |
3 #import('dart:dom', prefix:'dom'); | 3 #import('dart:dom', prefix:'dom'); |
4 #import('dart:htmlimpl'); | 4 #import('dart:htmlimpl'); |
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 11263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11274 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11274 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
11275 // for details. All rights reserved. Use of this source code is governed by a | 11275 // for details. All rights reserved. Use of this source code is governed by a |
11276 // BSD-style license that can be found in the LICENSE file. | 11276 // BSD-style license that can be found in the LICENSE file. |
11277 | 11277 |
11278 interface DocumentFragment extends Element default DocumentFragmentWrappingImple
mentation { | 11278 interface DocumentFragment extends Element default DocumentFragmentWrappingImple
mentation { |
11279 | 11279 |
11280 DocumentFragment(); | 11280 DocumentFragment(); |
11281 | 11281 |
11282 DocumentFragment.html(String html); | 11282 DocumentFragment.html(String html); |
11283 | 11283 |
| 11284 /** WARNING: Currently this doesn't work on Dartium (issue 649). */ |
| 11285 DocumentFragment.xml(String xml); |
| 11286 |
| 11287 DocumentFragment.svg(String svg); |
| 11288 |
11284 DocumentFragment clone(bool deep); | 11289 DocumentFragment clone(bool deep); |
11285 } | 11290 } |
11286 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11291 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
11287 // for details. All rights reserved. Use of this source code is governed by a | 11292 // for details. All rights reserved. Use of this source code is governed by a |
11288 // BSD-style license that can be found in the LICENSE file. | 11293 // BSD-style license that can be found in the LICENSE file. |
11289 | 11294 |
11290 interface DOMApplicationCacheEvents extends Events { | 11295 interface DOMApplicationCacheEvents extends Events { |
11291 EventListenerList get cached(); | 11296 EventListenerList get cached(); |
11292 EventListenerList get checking(); | 11297 EventListenerList get checking(); |
11293 EventListenerList get downloading(); | 11298 EventListenerList get downloading(); |
(...skipping 2150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13444 } | 13449 } |
13445 | 13450 |
13446 interface Worker extends AbstractWorker { | 13451 interface Worker extends AbstractWorker { |
13447 | 13452 |
13448 void postMessage(String message, [MessagePort messagePort]); | 13453 void postMessage(String message, [MessagePort messagePort]); |
13449 | 13454 |
13450 void terminate(); | 13455 void terminate(); |
13451 | 13456 |
13452 WorkerEvents get on(); | 13457 WorkerEvents get on(); |
13453 } | 13458 } |
| 13459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13460 // for details. All rights reserved. Use of this source code is governed by a |
| 13461 // BSD-style license that can be found in the LICENSE file. |
| 13462 |
| 13463 interface XMLDocument extends Document, XMLElement |
| 13464 default XMLDocumentWrappingImplementation { |
| 13465 |
| 13466 /** WARNING: Currently this doesn't work on Dartium (issue 649). */ |
| 13467 XMLDocument.xml(String xml); |
| 13468 |
| 13469 XMLDocument clone(bool deep); |
| 13470 } |
| 13471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13472 // for details. All rights reserved. Use of this source code is governed by a |
| 13473 // BSD-style license that can be found in the LICENSE file. |
| 13474 |
| 13475 interface XMLElement extends Element default XMLElementWrappingImplementation { |
| 13476 |
| 13477 XMLElement.tag(String tag); |
| 13478 XMLElement.xml(String tag); |
| 13479 |
| 13480 XMLElement clone(bool deep); |
| 13481 } |
13454 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13482 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
13455 // for details. All rights reserved. Use of this source code is governed by a | 13483 // for details. All rights reserved. Use of this source code is governed by a |
13456 // BSD-style license that can be found in the LICENSE file. | 13484 // BSD-style license that can be found in the LICENSE file. |
13457 | 13485 |
13458 interface XMLHttpRequestEvents extends Events { | 13486 interface XMLHttpRequestEvents extends Events { |
13459 EventListenerList get abort(); | 13487 EventListenerList get abort(); |
13460 EventListenerList get error(); | 13488 EventListenerList get error(); |
13461 EventListenerList get load(); | 13489 EventListenerList get load(); |
13462 EventListenerList get loadStart(); | 13490 EventListenerList get loadStart(); |
13463 EventListenerList get progress(); | 13491 EventListenerList get progress(); |
(...skipping 18 matching lines...) Expand all Loading... |
13482 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request)); | 13510 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request)); |
13483 | 13511 |
13484 int get readyState(); | 13512 int get readyState(); |
13485 | 13513 |
13486 String get responseText(); | 13514 String get responseText(); |
13487 | 13515 |
13488 String get responseType(); | 13516 String get responseType(); |
13489 | 13517 |
13490 void set responseType(String value); | 13518 void set responseType(String value); |
13491 | 13519 |
13492 Document get responseXML(); | 13520 XMLDocument get responseXML(); |
13493 | 13521 |
13494 int get status(); | 13522 int get status(); |
13495 | 13523 |
13496 String get statusText(); | 13524 String get statusText(); |
13497 | 13525 |
13498 XMLHttpRequestUpload get upload(); | 13526 XMLHttpRequestUpload get upload(); |
13499 | 13527 |
13500 bool get withCredentials(); | 13528 bool get withCredentials(); |
13501 | 13529 |
13502 void set withCredentials(bool value); | 13530 void set withCredentials(bool value); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13538 EventListenerList get abort(); | 13566 EventListenerList get abort(); |
13539 EventListenerList get error(); | 13567 EventListenerList get error(); |
13540 EventListenerList get load(); | 13568 EventListenerList get load(); |
13541 EventListenerList get loadStart(); | 13569 EventListenerList get loadStart(); |
13542 EventListenerList get progress(); | 13570 EventListenerList get progress(); |
13543 } | 13571 } |
13544 | 13572 |
13545 interface XMLHttpRequestUpload extends EventTarget { | 13573 interface XMLHttpRequestUpload extends EventTarget { |
13546 XMLHttpRequestUploadEvents get on(); | 13574 XMLHttpRequestUploadEvents get on(); |
13547 } | 13575 } |
OLD | NEW |