| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated Dart DOM library. | 8 // Auto-generated Dart DOM library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 11958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11969 /** | 11969 /** |
| 11970 * Key value used when an implementation is unable to identify another key | 11970 * Key value used when an implementation is unable to identify another key |
| 11971 * value, due to either hardware, platform, or software constraints | 11971 * value, due to either hardware, platform, or software constraints |
| 11972 */ | 11972 */ |
| 11973 static final String UNIDENTIFIED = "Unidentified"; | 11973 static final String UNIDENTIFIED = "Unidentified"; |
| 11974 } | 11974 } |
| 11975 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11975 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11976 // for details. All rights reserved. Use of this source code is governed by a | 11976 // for details. All rights reserved. Use of this source code is governed by a |
| 11977 // BSD-style license that can be found in the LICENSE file. | 11977 // BSD-style license that can be found in the LICENSE file. |
| 11978 | 11978 |
| 11979 /** |
| 11980 * Contains the set of standard values returned by HTMLDocument.getReadyState. |
| 11981 */ |
| 11982 interface ReadyState { |
| 11983 /** |
| 11984 * Indicates the document is still loading and parsing. |
| 11985 */ |
| 11986 static final String LOADING = "loading"; |
| 11987 |
| 11988 /** |
| 11989 * Indicates the document is finished parsing but is still loading |
| 11990 * subresources. |
| 11991 */ |
| 11992 static final String INTERACTIVE = "interactive"; |
| 11993 |
| 11994 /** |
| 11995 * Indicates the document and all subresources have been loaded. |
| 11996 */ |
| 11997 static final String COMPLETE = "complete"; |
| 11998 } |
| 11999 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12000 // for details. All rights reserved. Use of this source code is governed by a |
| 12001 // BSD-style license that can be found in the LICENSE file. |
| 12002 |
| 11979 typedef bool RequestAnimationFrameCallback(int time); | 12003 typedef bool RequestAnimationFrameCallback(int time); |
| 11980 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12004 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11981 // for details. All rights reserved. Use of this source code is governed by a | 12005 // for details. All rights reserved. Use of this source code is governed by a |
| 11982 // BSD-style license that can be found in the LICENSE file. | 12006 // BSD-style license that can be found in the LICENSE file. |
| 11983 | 12007 |
| 11984 typedef void TimeoutHandler(); | 12008 typedef void TimeoutHandler(); |
| 11985 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12009 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11986 // for details. All rights reserved. Use of this source code is governed by a | 12010 // for details. All rights reserved. Use of this source code is governed by a |
| 11987 // BSD-style license that can be found in the LICENSE file. | 12011 // BSD-style license that can be found in the LICENSE file. |
| 11988 | 12012 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12109 startIndex = a.length - 1; | 12133 startIndex = a.length - 1; |
| 12110 } | 12134 } |
| 12111 for (int i = startIndex; i >= 0; i--) { | 12135 for (int i = startIndex; i >= 0; i--) { |
| 12112 if (a[i] == element) { | 12136 if (a[i] == element) { |
| 12113 return i; | 12137 return i; |
| 12114 } | 12138 } |
| 12115 } | 12139 } |
| 12116 return -1; | 12140 return -1; |
| 12117 } | 12141 } |
| 12118 } | 12142 } |
| OLD | NEW |