| 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 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated Dart DOM implementation. | 6 // Auto-generated Dart DOM implementation. |
| 7 | 7 |
| 8 | 8 |
| 9 function native__AbstractWorkerWrappingImplementation__get__AbstractWorker_onerr
or(_this) { | 9 function native__AbstractWorkerWrappingImplementation__get__AbstractWorker_onerr
or(_this) { |
| 10 try { | 10 try { |
| (...skipping 16468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16479 } | 16479 } |
| 16480 | 16480 |
| 16481 function native__HTMLSelectElementWrappingImplementation__namedItem(_this, name)
{ | 16481 function native__HTMLSelectElementWrappingImplementation__namedItem(_this, name)
{ |
| 16482 try { | 16482 try { |
| 16483 return __dom_wrap(_this.$dom.namedItem(__dom_unwrap(name))); | 16483 return __dom_wrap(_this.$dom.namedItem(__dom_unwrap(name))); |
| 16484 } catch (e) { | 16484 } catch (e) { |
| 16485 throw __dom_wrap_exception(e); | 16485 throw __dom_wrap_exception(e); |
| 16486 } | 16486 } |
| 16487 } | 16487 } |
| 16488 | 16488 |
| 16489 function native__HTMLSelectElementWrappingImplementation__remove(_this) { | 16489 function native__HTMLSelectElementWrappingImplementation__remove(_this, index_OR
_option) { |
| 16490 try { | 16490 try { |
| 16491 return __dom_wrap(_this.$dom.remove()); | 16491 return __dom_wrap(_this.$dom.remove(__dom_unwrap(index_OR_option))); |
| 16492 } catch (e) { | 16492 } catch (e) { |
| 16493 throw __dom_wrap_exception(e); | 16493 throw __dom_wrap_exception(e); |
| 16494 } | 16494 } |
| 16495 } |
| 16496 |
| 16497 function native__HTMLSelectElementWrappingImplementation__remove_2(_this, index_
OR_option) { |
| 16498 try { |
| 16499 return __dom_wrap(_this.$dom.remove(__dom_unwrap(index_OR_option))); |
| 16500 } catch (e) { |
| 16501 throw __dom_wrap_exception(e); |
| 16502 } |
| 16495 } | 16503 } |
| 16496 | 16504 |
| 16497 function native__HTMLSelectElementWrappingImplementation__setCustomValidity(_thi
s, error) { | 16505 function native__HTMLSelectElementWrappingImplementation__setCustomValidity(_thi
s, error) { |
| 16498 try { | 16506 try { |
| 16499 return __dom_wrap(_this.$dom.setCustomValidity(__dom_unwrap(error))); | 16507 return __dom_wrap(_this.$dom.setCustomValidity(__dom_unwrap(error))); |
| 16500 } catch (e) { | 16508 } catch (e) { |
| 16501 throw __dom_wrap_exception(e); | 16509 throw __dom_wrap_exception(e); |
| 16502 } | 16510 } |
| 16503 } | 16511 } |
| 16504 | 16512 |
| (...skipping 10911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27416 function native__NativeDomGlobalProperties_getWindow() { | 27424 function native__NativeDomGlobalProperties_getWindow() { |
| 27417 // TODO: Should the window be obtained from an isolate? | 27425 // TODO: Should the window be obtained from an isolate? |
| 27418 return __dom_wrap(window); | 27426 return __dom_wrap(window); |
| 27419 } | 27427 } |
| 27420 | 27428 |
| 27421 // Declared in src/GlobalProperties.dart | 27429 // Declared in src/GlobalProperties.dart |
| 27422 function native__NativeDomGlobalProperties_getDocument() { | 27430 function native__NativeDomGlobalProperties_getDocument() { |
| 27423 // TODO: Should the window be obtained from an isolate? | 27431 // TODO: Should the window be obtained from an isolate? |
| 27424 return __dom_wrap(window.document); | 27432 return __dom_wrap(window.document); |
| 27425 } | 27433 } |
| OLD | NEW |