| 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 _HTMLInputElementWrappingImplementation extends _HTMLElementWrappingImplem
entation implements HTMLInputElement { | 7 class _HTMLInputElementWrappingImplementation extends _HTMLElementWrappingImplem
entation implements HTMLInputElement { |
| 8 _HTMLInputElementWrappingImplementation() : super() {} | 8 _HTMLInputElementWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__HTMLInputElementWrappingImplementation() native { | 10 static create__HTMLInputElementWrappingImplementation() native { |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 _setSelectionRange(this, start, end); | 309 _setSelectionRange(this, start, end); |
| 310 return; | 310 return; |
| 311 } else { | 311 } else { |
| 312 _setSelectionRange_2(this, start, end, direction); | 312 _setSelectionRange_2(this, start, end, direction); |
| 313 return; | 313 return; |
| 314 } | 314 } |
| 315 } | 315 } |
| 316 static void _setSelectionRange(receiver, start, end) native; | 316 static void _setSelectionRange(receiver, start, end) native; |
| 317 static void _setSelectionRange_2(receiver, start, end, direction) native; | 317 static void _setSelectionRange_2(receiver, start, end, direction) native; |
| 318 | 318 |
| 319 void setValueForUser(String value) { | |
| 320 _setValueForUser(this, value); | |
| 321 return; | |
| 322 } | |
| 323 static void _setValueForUser(receiver, value) native; | |
| 324 | |
| 325 void stepDown([int n = null]) { | 319 void stepDown([int n = null]) { |
| 326 if (n === null) { | 320 if (n === null) { |
| 327 _stepDown(this); | 321 _stepDown(this); |
| 328 return; | 322 return; |
| 329 } else { | 323 } else { |
| 330 _stepDown_2(this, n); | 324 _stepDown_2(this, n); |
| 331 return; | 325 return; |
| 332 } | 326 } |
| 333 } | 327 } |
| 334 static void _stepDown(receiver) native; | 328 static void _stepDown(receiver) native; |
| 335 static void _stepDown_2(receiver, n) native; | 329 static void _stepDown_2(receiver, n) native; |
| 336 | 330 |
| 337 void stepUp([int n = null]) { | 331 void stepUp([int n = null]) { |
| 338 if (n === null) { | 332 if (n === null) { |
| 339 _stepUp(this); | 333 _stepUp(this); |
| 340 return; | 334 return; |
| 341 } else { | 335 } else { |
| 342 _stepUp_2(this, n); | 336 _stepUp_2(this, n); |
| 343 return; | 337 return; |
| 344 } | 338 } |
| 345 } | 339 } |
| 346 static void _stepUp(receiver) native; | 340 static void _stepUp(receiver) native; |
| 347 static void _stepUp_2(receiver, n) native; | 341 static void _stepUp_2(receiver, n) native; |
| 348 | 342 |
| 349 String get typeName() { return "HTMLInputElement"; } | 343 String get typeName() { return "HTMLInputElement"; } |
| 350 } | 344 } |
| OLD | NEW |