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 11307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11318 static final int UPDATEREADY = 4; | 11318 static final int UPDATEREADY = 4; |
11319 | 11319 |
11320 int get status(); | 11320 int get status(); |
11321 | 11321 |
11322 void swapCache(); | 11322 void swapCache(); |
11323 | 11323 |
11324 void update(); | 11324 void update(); |
11325 | 11325 |
11326 DOMApplicationCacheEvents get on(); | 11326 DOMApplicationCacheEvents get on(); |
11327 } | 11327 } |
11328 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11329 // for details. All rights reserved. Use of this source code is governed by a | 11329 // for details. All rights reserved. Use of this source code is governed by a |
11330 // BSD-style license that can be found in the LICENSE file. | 11330 // BSD-style license that can be found in the LICENSE file. |
11331 | 11331 |
11332 interface ElementList extends List<Element> { | 11332 interface ElementList extends List<Element> { |
11333 // TODO(jacobr): add element batch manipulation methods. | 11333 // TODO(jacobr): add element batch manipulation methods. |
11334 ElementList filter(bool f(Element element)); | 11334 ElementList filter(bool f(Element element)); |
11335 | 11335 |
11336 ElementList getRange(int start, int length); | 11336 ElementList getRange(int start, int length); |
11337 | 11337 |
11338 Element get first(); | 11338 Element get first(); |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11408 default ElementWrappingImplementation { | 11408 default ElementWrappingImplementation { |
11409 | 11409 |
11410 Element.html(String html); | 11410 Element.html(String html); |
11411 Element.tag(String tag); | 11411 Element.tag(String tag); |
11412 | 11412 |
11413 Map<String, String> get attributes(); | 11413 Map<String, String> get attributes(); |
11414 void set attributes(Map<String, String> value); | 11414 void set attributes(Map<String, String> value); |
11415 | 11415 |
11416 ElementList get elements(); | 11416 ElementList get elements(); |
11417 | 11417 |
11418 // TODO: The type of value should be Collection<Element>. See http://b/5392897 | 11418 void set elements(Collection<Element> value); |
11419 void set elements(value); | |
11420 | 11419 |
11421 Set<String> get classes(); | 11420 Set<String> get classes(); |
11422 | 11421 |
11423 // TODO: The type of value should be Collection<String>. See http://b/5392897 | 11422 void set classes(Collection<String> value); |
11424 void set classes(value); | |
11425 | 11423 |
11426 Map<String, String> get dataAttributes(); | 11424 Map<String, String> get dataAttributes(); |
11427 void set dataAttributes(Map<String, String> value); | 11425 void set dataAttributes(Map<String, String> value); |
11428 | 11426 |
11429 String get contentEditable(); | 11427 String get contentEditable(); |
11430 | 11428 |
11431 void set contentEditable(String value); | 11429 void set contentEditable(String value); |
11432 | 11430 |
11433 String get dir(); | 11431 String get dir(); |
11434 | 11432 |
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12471 int get attrChange(); | 12469 int get attrChange(); |
12472 | 12470 |
12473 String get attrName(); | 12471 String get attrName(); |
12474 | 12472 |
12475 String get newValue(); | 12473 String get newValue(); |
12476 | 12474 |
12477 String get prevValue(); | 12475 String get prevValue(); |
12478 | 12476 |
12479 Node get relatedNode(); | 12477 Node get relatedNode(); |
12480 } | 12478 } |
12481 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12482 // for details. All rights reserved. Use of this source code is governed by a | 12480 // for details. All rights reserved. Use of this source code is governed by a |
12483 // BSD-style license that can be found in the LICENSE file. | 12481 // BSD-style license that can be found in the LICENSE file. |
12484 | 12482 |
12485 // TODO(jacobr): stop extending eventTarget. | 12483 // TODO(jacobr): stop extending eventTarget. |
12486 interface Node extends EventTarget { | 12484 interface Node extends EventTarget { |
12487 | 12485 |
12488 NodeList get nodes(); | 12486 NodeList get nodes(); |
12489 | 12487 |
12490 // TODO: The type of value should be Collection<Node>. See http://b/5392897 | 12488 void set nodes(Collection<Node> value); |
12491 void set nodes(value); | |
12492 | 12489 |
12493 Node get nextNode(); | 12490 Node get nextNode(); |
12494 | 12491 |
12495 Document get document(); | 12492 Document get document(); |
12496 | 12493 |
12497 Node get parent(); | 12494 Node get parent(); |
12498 | 12495 |
12499 Node get previousNode(); | 12496 Node get previousNode(); |
12500 | 12497 |
12501 String get text(); | 12498 String get text(); |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13566 EventListenerList get abort(); | 13563 EventListenerList get abort(); |
13567 EventListenerList get error(); | 13564 EventListenerList get error(); |
13568 EventListenerList get load(); | 13565 EventListenerList get load(); |
13569 EventListenerList get loadStart(); | 13566 EventListenerList get loadStart(); |
13570 EventListenerList get progress(); | 13567 EventListenerList get progress(); |
13571 } | 13568 } |
13572 | 13569 |
13573 interface XMLHttpRequestUpload extends EventTarget { | 13570 interface XMLHttpRequestUpload extends EventTarget { |
13574 XMLHttpRequestUploadEvents get on(); | 13571 XMLHttpRequestUploadEvents get on(); |
13575 } | 13572 } |
OLD | NEW |