| 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 TextAreaElementWrappingImplementation extends ElementWrappingImplementatio
n implements TextAreaElement { | 7 class TextAreaElementWrappingImplementation extends ElementWrappingImplementatio
n implements TextAreaElement { |
| 8 TextAreaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8 TextAreaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 | 9 |
| 10 String get accessKey() { return _ptr.accessKey; } | 10 String get accessKey() { return _ptr.accessKey; } |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 void select() { | 92 void select() { |
| 93 _ptr.select(); | 93 _ptr.select(); |
| 94 return; | 94 return; |
| 95 } | 95 } |
| 96 | 96 |
| 97 void setCustomValidity(String error) { | 97 void setCustomValidity(String error) { |
| 98 _ptr.setCustomValidity(error); | 98 _ptr.setCustomValidity(error); |
| 99 return; | 99 return; |
| 100 } | 100 } |
| 101 | 101 |
| 102 void setSelectionRange(int start, int end, [String direction = null]) { | 102 void setSelectionRange(int start, int end, [String direction]) { |
| 103 if (direction === null) { | 103 if (direction === null) { |
| 104 _ptr.setSelectionRange(start, end); | 104 _ptr.setSelectionRange(start, end); |
| 105 return; | 105 return; |
| 106 } else { | 106 } else { |
| 107 _ptr.setSelectionRange(start, end, direction); | 107 _ptr.setSelectionRange(start, end, direction); |
| 108 return; | 108 return; |
| 109 } | 109 } |
| 110 } | 110 } |
| 111 } | 111 } |
| OLD | NEW |