| 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 25164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25175 } | 25175 } |
| 25176 | 25176 |
| 25177 function native__WheelEventWrappingImplementation__get__WheelEvent_y(_this) { | 25177 function native__WheelEventWrappingImplementation__get__WheelEvent_y(_this) { |
| 25178 try { | 25178 try { |
| 25179 return __dom_wrap(_this.$dom.y); | 25179 return __dom_wrap(_this.$dom.y); |
| 25180 } catch (e) { | 25180 } catch (e) { |
| 25181 throw __dom_wrap_exception(e); | 25181 throw __dom_wrap_exception(e); |
| 25182 } | 25182 } |
| 25183 } | 25183 } |
| 25184 | 25184 |
| 25185 function native__WheelEventWrappingImplementation__initWheelEvent(_this, wheelDe
ltaX, wheelDeltaY, view, screenX, screenY, clientX, clientY, ctrlKey, altKey, sh
iftKey, metaKey) { | 25185 function native__WheelEventWrappingImplementation__initWebKitWheelEvent(_this, w
heelDeltaX, wheelDeltaY, view, screenX, screenY, clientX, clientY, ctrlKey, altK
ey, shiftKey, metaKey) { |
| 25186 try { | 25186 try { |
| 25187 var _method = _this.$dom.initWebKitWheelEvent || _this.$dom.initWheelEvent; | 25187 var _method = _this.$dom.initWebKitWheelEvent || _this.$dom.initWheelEvent; |
| 25188 return __dom_wrap(_method.call(_this.$dom, __dom_unwrap(wheelDeltaX), __dom_
unwrap(wheelDeltaY), __dom_unwrap(view), __dom_unwrap(screenX), __dom_unwrap(scr
eenY), __dom_unwrap(clientX), __dom_unwrap(clientY), __dom_unwrap(ctrlKey), __do
m_unwrap(altKey), __dom_unwrap(shiftKey), __dom_unwrap(metaKey))); | 25188 return __dom_wrap(_method.call(_this.$dom, __dom_unwrap(wheelDeltaX), __dom_
unwrap(wheelDeltaY), __dom_unwrap(view), __dom_unwrap(screenX), __dom_unwrap(scr
eenY), __dom_unwrap(clientX), __dom_unwrap(clientY), __dom_unwrap(ctrlKey), __do
m_unwrap(altKey), __dom_unwrap(shiftKey), __dom_unwrap(metaKey))); |
| 25189 } catch (e) { | 25189 } catch (e) { |
| 25190 throw __dom_wrap_exception(e); | 25190 throw __dom_wrap_exception(e); |
| 25191 } | 25191 } |
| 25192 } | 25192 } |
| 25193 | 25193 |
| 25194 function native__WorkerWrappingImplementation__get__Worker_onmessage(_this) { | 25194 function native__WorkerWrappingImplementation__get__Worker_onmessage(_this) { |
| 25195 try { | 25195 try { |
| (...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26806 function native__NativeDomGlobalProperties_getWindow() { | 26806 function native__NativeDomGlobalProperties_getWindow() { |
| 26807 // TODO: Should the window be obtained from an isolate? | 26807 // TODO: Should the window be obtained from an isolate? |
| 26808 return __dom_wrap(window); | 26808 return __dom_wrap(window); |
| 26809 } | 26809 } |
| 26810 | 26810 |
| 26811 // Declared in src/GlobalProperties.dart | 26811 // Declared in src/GlobalProperties.dart |
| 26812 function native__NativeDomGlobalProperties_getDocument() { | 26812 function native__NativeDomGlobalProperties_getDocument() { |
| 26813 // TODO: Should the window be obtained from an isolate? | 26813 // TODO: Should the window be obtained from an isolate? |
| 26814 return __dom_wrap(window.document); | 26814 return __dom_wrap(window.document); |
| 26815 } | 26815 } |
| OLD | NEW |