| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface HTMLDocument extends Document { | 7 interface HTMLDocument extends Document { |
| 8 | 8 |
| 9 Element get activeElement(); | 9 Element get activeElement(); |
| 10 | 10 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 bool hasFocus(); | 57 bool hasFocus(); |
| 58 | 58 |
| 59 void open(); | 59 void open(); |
| 60 | 60 |
| 61 void releaseEvents(); | 61 void releaseEvents(); |
| 62 | 62 |
| 63 void write(String text); | 63 void write(String text); |
| 64 | 64 |
| 65 void writeln(String text); | 65 void writeln(String text); |
| 66 } | 66 } |
| 67 | |
| 68 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 69 // for details. All rights reserved. Use of this source code is governed by a | |
| 70 // BSD-style license that can be found in the LICENSE file. | |
| 71 | |
| 72 /** | |
| 73 * Contains the set of standard values returned by HTMLDocument.getReadyState. | |
| 74 */ | |
| 75 interface ReadyState { | |
| 76 /** | |
| 77 * Indicates the document is still loading and parsing. | |
| 78 */ | |
| 79 static final String LOADING = "loading"; | |
| 80 | |
| 81 /** | |
| 82 * Indicates the document is finished parsing but is still loading | |
| 83 * subresources. | |
| 84 */ | |
| 85 static final String INTERACTIVE = "interactive"; | |
| 86 | |
| 87 /** | |
| 88 * Indicates the document and all subresources have been loaded. | |
| 89 */ | |
| 90 static final String COMPLETE = "complete"; | |
| 91 } | |
| OLD | NEW |