| 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 { |
| 11 return new _DOMTokenListWrappingImplementation(); | 11 return new _DOMTokenListWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get length() { return _get__DOMTokenList_length(this); } | 14 int get length() { return _get_length(this); } |
| 15 static int _get__DOMTokenList_length(var _this) native; | 15 static int _get_length(var _this) native; |
| 16 | 16 |
| 17 void add(String token) { | 17 void add(String token) { |
| 18 _add(this, token); | 18 _add(this, token); |
| 19 return; | 19 return; |
| 20 } | 20 } |
| 21 static void _add(receiver, token) native; | 21 static void _add(receiver, token) native; |
| 22 | 22 |
| 23 bool contains(String token) { | 23 bool contains(String token) { |
| 24 return _contains(this, token); | 24 return _contains(this, token); |
| 25 } | 25 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 41 } | 41 } |
| 42 static String _toString(receiver) native; | 42 static String _toString(receiver) native; |
| 43 | 43 |
| 44 bool toggle(String token) { | 44 bool toggle(String token) { |
| 45 return _toggle(this, token); | 45 return _toggle(this, token); |
| 46 } | 46 } |
| 47 static bool _toggle(receiver, token) native; | 47 static bool _toggle(receiver, token) native; |
| 48 | 48 |
| 49 String get typeName() { return "DOMTokenList"; } | 49 String get typeName() { return "DOMTokenList"; } |
| 50 } | 50 } |
| OLD | NEW |