| 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 class _DOMTokenListWrappingImplementation extends DOMWrapperBase implements DOMT
okenList { | 7 class _DOMTokenListWrappingImplementation extends DOMWrapperBase implements DOMT
okenList { |
| 8 _DOMTokenListWrappingImplementation() : super() {} | 8 _DOMTokenListWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DOMTokenListWrappingImplementation() native { | 10 static create__DOMTokenListWrappingImplementation() native { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 return _item(this, index); | 29 return _item(this, index); |
| 30 } | 30 } |
| 31 static String _item(receiver, index) native; | 31 static String _item(receiver, index) native; |
| 32 | 32 |
| 33 void remove(String token) { | 33 void remove(String token) { |
| 34 _remove(this, token); | 34 _remove(this, token); |
| 35 return; | 35 return; |
| 36 } | 36 } |
| 37 static void _remove(receiver, token) native; | 37 static void _remove(receiver, token) native; |
| 38 | 38 |
| 39 String toString() { |
| 40 return _toString(this); |
| 41 } |
| 42 static String _toString(receiver) native; |
| 43 |
| 39 bool toggle(String token) { | 44 bool toggle(String token) { |
| 40 return _toggle(this, token); | 45 return _toggle(this, token); |
| 41 } | 46 } |
| 42 static bool _toggle(receiver, token) native; | 47 static bool _toggle(receiver, token) native; |
| 43 | 48 |
| 44 String get typeName() { return "DOMTokenList"; } | 49 String get typeName() { return "DOMTokenList"; } |
| 45 } | 50 } |
| OLD | NEW |