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 11302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11313 static final int UPDATEREADY = 4; | 11313 static final int UPDATEREADY = 4; |
11314 | 11314 |
11315 int get status(); | 11315 int get status(); |
11316 | 11316 |
11317 void swapCache(); | 11317 void swapCache(); |
11318 | 11318 |
11319 void update(); | 11319 void update(); |
11320 | 11320 |
11321 DOMApplicationCacheEvents get on(); | 11321 DOMApplicationCacheEvents get on(); |
11322 } | 11322 } |
11323 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11324 // for details. All rights reserved. Use of this source code is governed by a | 11324 // for details. All rights reserved. Use of this source code is governed by a |
11325 // BSD-style license that can be found in the LICENSE file. | 11325 // BSD-style license that can be found in the LICENSE file. |
11326 | 11326 |
11327 interface ElementList extends List<Element> { | 11327 interface ElementList extends List<Element> { |
11328 // TODO(jacobr): add element batch manipulation methods. | 11328 // TODO(jacobr): add element batch manipulation methods. |
11329 ElementList filter(bool f(Element element)); | 11329 ElementList filter(bool f(Element element)); |
11330 | 11330 |
11331 ElementList getRange(int start, int length); | 11331 ElementList getRange(int start, int length); |
11332 | 11332 |
11333 Element get first(); | 11333 Element get first(); |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11403 default ElementWrappingImplementation { | 11403 default ElementWrappingImplementation { |
11404 | 11404 |
11405 Element.html(String html); | 11405 Element.html(String html); |
11406 Element.tag(String tag); | 11406 Element.tag(String tag); |
11407 | 11407 |
11408 Map<String, String> get attributes(); | 11408 Map<String, String> get attributes(); |
11409 void set attributes(Map<String, String> value); | 11409 void set attributes(Map<String, String> value); |
11410 | 11410 |
11411 ElementList get elements(); | 11411 ElementList get elements(); |
11412 | 11412 |
11413 // TODO: The type of value should be Collection<Element>. See http://b/5392897 | 11413 void set elements(Collection<Element> value); |
11414 void set elements(value); | |
11415 | 11414 |
11416 Set<String> get classes(); | 11415 Set<String> get classes(); |
11417 | 11416 |
11418 // TODO: The type of value should be Collection<String>. See http://b/5392897 | 11417 void set classes(Collection<String> value); |
11419 void set classes(value); | |
11420 | 11418 |
11421 Map<String, String> get dataAttributes(); | 11419 Map<String, String> get dataAttributes(); |
11422 void set dataAttributes(Map<String, String> value); | 11420 void set dataAttributes(Map<String, String> value); |
11423 | 11421 |
11424 String get contentEditable(); | 11422 String get contentEditable(); |
11425 | 11423 |
11426 void set contentEditable(String value); | 11424 void set contentEditable(String value); |
11427 | 11425 |
11428 String get dir(); | 11426 String get dir(); |
11429 | 11427 |
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12466 int get attrChange(); | 12464 int get attrChange(); |
12467 | 12465 |
12468 String get attrName(); | 12466 String get attrName(); |
12469 | 12467 |
12470 String get newValue(); | 12468 String get newValue(); |
12471 | 12469 |
12472 String get prevValue(); | 12470 String get prevValue(); |
12473 | 12471 |
12474 Node get relatedNode(); | 12472 Node get relatedNode(); |
12475 } | 12473 } |
12476 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12477 // for details. All rights reserved. Use of this source code is governed by a | 12475 // for details. All rights reserved. Use of this source code is governed by a |
12478 // BSD-style license that can be found in the LICENSE file. | 12476 // BSD-style license that can be found in the LICENSE file. |
12479 | 12477 |
12480 // TODO(jacobr): stop extending eventTarget. | 12478 // TODO(jacobr): stop extending eventTarget. |
12481 interface Node extends EventTarget { | 12479 interface Node extends EventTarget { |
12482 | 12480 |
12483 NodeList get nodes(); | 12481 NodeList get nodes(); |
12484 | 12482 |
12485 // TODO: The type of value should be Collection<Node>. See http://b/5392897 | 12483 void set nodes(Collection<Node> value); |
12486 void set nodes(value); | |
12487 | 12484 |
12488 Node get nextNode(); | 12485 Node get nextNode(); |
12489 | 12486 |
12490 Document get document(); | 12487 Document get document(); |
12491 | 12488 |
12492 Node get parent(); | 12489 Node get parent(); |
12493 | 12490 |
12494 Node get previousNode(); | 12491 Node get previousNode(); |
12495 | 12492 |
12496 String get text(); | 12493 String get text(); |
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13538 EventListenerList get abort(); | 13535 EventListenerList get abort(); |
13539 EventListenerList get error(); | 13536 EventListenerList get error(); |
13540 EventListenerList get load(); | 13537 EventListenerList get load(); |
13541 EventListenerList get loadStart(); | 13538 EventListenerList get loadStart(); |
13542 EventListenerList get progress(); | 13539 EventListenerList get progress(); |
13543 } | 13540 } |
13544 | 13541 |
13545 interface XMLHttpRequestUpload extends EventTarget { | 13542 interface XMLHttpRequestUpload extends EventTarget { |
13546 XMLHttpRequestUploadEvents get on(); | 13543 XMLHttpRequestUploadEvents get on(); |
13547 } | 13544 } |
OLD | NEW |