| 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 DOMTokenList { | 7 class SVGNumberWrappingImplementation extends DOMWrapperBase implements SVGNumbe
r { |
| 8 SVGNumberWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8 | 9 |
| 9 int get length(); | 10 num get value() { return _ptr.value; } |
| 10 | 11 |
| 11 void add(String token); | 12 void set value(num value) { _ptr.value = value; } |
| 12 | |
| 13 bool contains(String token); | |
| 14 | |
| 15 String item(int index); | |
| 16 | |
| 17 void remove(String token); | |
| 18 | |
| 19 bool toggle(String token); | |
| 20 } | 13 } |
| OLD | NEW |