| 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 _HTMLButtonElementWrappingImplementation extends _HTMLElementWrappingImple
mentation implements HTMLButtonElement { | 7 class _HTMLButtonElementWrappingImplementation extends _HTMLElementWrappingImple
mentation implements HTMLButtonElement { |
| 8 _HTMLButtonElementWrappingImplementation() : super() {} | 8 _HTMLButtonElementWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__HTMLButtonElementWrappingImplementation() native { | 10 static create__HTMLButtonElementWrappingImplementation() native { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 static void _set_value(var _this, String value) native; | 81 static void _set_value(var _this, String value) native; |
| 82 | 82 |
| 83 bool get willValidate() { return _get_willValidate(this); } | 83 bool get willValidate() { return _get_willValidate(this); } |
| 84 static bool _get_willValidate(var _this) native; | 84 static bool _get_willValidate(var _this) native; |
| 85 | 85 |
| 86 bool checkValidity() { | 86 bool checkValidity() { |
| 87 return _checkValidity(this); | 87 return _checkValidity(this); |
| 88 } | 88 } |
| 89 static bool _checkValidity(receiver) native; | 89 static bool _checkValidity(receiver) native; |
| 90 | 90 |
| 91 void click() { | |
| 92 _click(this); | |
| 93 return; | |
| 94 } | |
| 95 static void _click(receiver) native; | |
| 96 | |
| 97 void setCustomValidity(String error) { | 91 void setCustomValidity(String error) { |
| 98 _setCustomValidity(this, error); | 92 _setCustomValidity(this, error); |
| 99 return; | 93 return; |
| 100 } | 94 } |
| 101 static void _setCustomValidity(receiver, error) native; | 95 static void _setCustomValidity(receiver, error) native; |
| 102 | 96 |
| 103 String get typeName() { return "HTMLButtonElement"; } | 97 String get typeName() { return "HTMLButtonElement"; } |
| 104 } | 98 } |
| OLD | NEW |