OLD | NEW |
1 #library('html'); | 1 #library('html'); |
2 | 2 |
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, 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:html library. | 8 // Auto-generated dart:html library. |
9 | 9 |
10 | 10 |
(...skipping 13122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13133 String src; | 13133 String src; |
13134 | 13134 |
13135 String type; | 13135 String type; |
13136 } | 13136 } |
13137 | 13137 |
13138 class _SpanElementImpl extends _ElementImpl implements SpanElement native "*HTML
SpanElement" { | 13138 class _SpanElementImpl extends _ElementImpl implements SpanElement native "*HTML
SpanElement" { |
13139 } | 13139 } |
13140 | 13140 |
13141 class _SpeechGrammarImpl implements SpeechGrammar native "*SpeechGrammar" { | 13141 class _SpeechGrammarImpl implements SpeechGrammar native "*SpeechGrammar" { |
13142 | 13142 |
| 13143 String src; |
| 13144 |
13143 num weight; | 13145 num weight; |
13144 } | 13146 } |
13145 | 13147 |
13146 class _SpeechGrammarListImpl implements SpeechGrammarList native "*SpeechGrammar
List" { | 13148 class _SpeechGrammarListImpl implements SpeechGrammarList native "*SpeechGrammar
List" { |
13147 | 13149 |
13148 final int length; | 13150 final int length; |
13149 | 13151 |
13150 void addFromString(String string, [num weight = null]) native; | 13152 void addFromString(String string, [num weight = null]) native; |
13151 | 13153 |
13152 void addFromUri(String src, [num weight = null]) native; | 13154 void addFromUri(String src, [num weight = null]) native; |
(...skipping 14296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
27449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
27450 // for details. All rights reserved. Use of this source code is governed by a | 27452 // for details. All rights reserved. Use of this source code is governed by a |
27451 // BSD-style license that can be found in the LICENSE file. | 27453 // BSD-style license that can be found in the LICENSE file. |
27452 | 27454 |
27453 // WARNING: Do not edit - generated code. | 27455 // WARNING: Do not edit - generated code. |
27454 | 27456 |
27455 interface SpeechGrammar default _SpeechGrammarFactoryProvider { | 27457 interface SpeechGrammar default _SpeechGrammarFactoryProvider { |
27456 | 27458 |
27457 SpeechGrammar(); | 27459 SpeechGrammar(); |
27458 | 27460 |
| 27461 String src; |
| 27462 |
27459 num weight; | 27463 num weight; |
27460 } | 27464 } |
27461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
27462 // for details. All rights reserved. Use of this source code is governed by a | 27466 // for details. All rights reserved. Use of this source code is governed by a |
27463 // BSD-style license that can be found in the LICENSE file. | 27467 // BSD-style license that can be found in the LICENSE file. |
27464 | 27468 |
27465 // WARNING: Do not edit - generated code. | 27469 // WARNING: Do not edit - generated code. |
27466 | 27470 |
27467 interface SpeechGrammarList default _SpeechGrammarListFactoryProvider { | 27471 interface SpeechGrammarList default _SpeechGrammarListFactoryProvider { |
27468 | 27472 |
(...skipping 4078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
31547 if (length < 0) throw new IllegalArgumentException('length'); | 31551 if (length < 0) throw new IllegalArgumentException('length'); |
31548 if (start < 0) throw new IndexOutOfRangeException(start); | 31552 if (start < 0) throw new IndexOutOfRangeException(start); |
31549 int end = start + length; | 31553 int end = start + length; |
31550 if (end > a.length) throw new IndexOutOfRangeException(end); | 31554 if (end > a.length) throw new IndexOutOfRangeException(end); |
31551 for (int i = start; i < end; i++) { | 31555 for (int i = start; i < end; i++) { |
31552 accumulator.add(a[i]); | 31556 accumulator.add(a[i]); |
31553 } | 31557 } |
31554 return accumulator; | 31558 return accumulator; |
31555 } | 31559 } |
31556 } | 31560 } |
OLD | NEW |