| 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 _WorkerContextWrappingImplementation extends DOMWrapperBase implements Wor
kerContext { | 7 class _WorkerContextWrappingImplementation extends DOMWrapperBase implements Wor
kerContext { |
| 8 _WorkerContextWrappingImplementation() : super() {} | 8 _WorkerContextWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__WorkerContextWrappingImplementation() native { | 10 static create__WorkerContextWrappingImplementation() native { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 void set navigator(WorkerNavigator value) { _set__WorkerContext_navigator(this
, value); } | 23 void set navigator(WorkerNavigator value) { _set__WorkerContext_navigator(this
, value); } |
| 24 static void _set__WorkerContext_navigator(var _this, WorkerNavigator value) na
tive; | 24 static void _set__WorkerContext_navigator(var _this, WorkerNavigator value) na
tive; |
| 25 | 25 |
| 26 EventListener get onerror() { return _get__WorkerContext_onerror(this); } | 26 EventListener get onerror() { return _get__WorkerContext_onerror(this); } |
| 27 static EventListener _get__WorkerContext_onerror(var _this) native; | 27 static EventListener _get__WorkerContext_onerror(var _this) native; |
| 28 | 28 |
| 29 void set onerror(EventListener value) { _set__WorkerContext_onerror(this, valu
e); } | 29 void set onerror(EventListener value) { _set__WorkerContext_onerror(this, valu
e); } |
| 30 static void _set__WorkerContext_onerror(var _this, EventListener value) native
; | 30 static void _set__WorkerContext_onerror(var _this, EventListener value) native
; |
| 31 | 31 |
| 32 WorkerContext get self() { return _get__WorkerContext_self(this); } |
| 33 static WorkerContext _get__WorkerContext_self(var _this) native; |
| 34 |
| 35 void set self(WorkerContext value) { _set__WorkerContext_self(this, value); } |
| 36 static void _set__WorkerContext_self(var _this, WorkerContext value) native; |
| 37 |
| 32 NotificationCenter get webkitNotifications() { return _get__WorkerContext_webk
itNotifications(this); } | 38 NotificationCenter get webkitNotifications() { return _get__WorkerContext_webk
itNotifications(this); } |
| 33 static NotificationCenter _get__WorkerContext_webkitNotifications(var _this) n
ative; | 39 static NotificationCenter _get__WorkerContext_webkitNotifications(var _this) n
ative; |
| 34 | 40 |
| 35 DOMURL get webkitURL() { return _get__WorkerContext_webkitURL(this); } | 41 DOMURL get webkitURL() { return _get__WorkerContext_webkitURL(this); } |
| 36 static DOMURL _get__WorkerContext_webkitURL(var _this) native; | 42 static DOMURL _get__WorkerContext_webkitURL(var _this) native; |
| 37 | 43 |
| 38 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 44 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 39 if (useCapture === null) { | 45 if (useCapture === null) { |
| 40 _addEventListener(this, type, listener); | 46 _addEventListener(this, type, listener); |
| 41 return; | 47 return; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 } | 99 } |
| 94 static int _setInterval(receiver, handler, timeout) native; | 100 static int _setInterval(receiver, handler, timeout) native; |
| 95 | 101 |
| 96 int setTimeout(TimeoutHandler handler, int timeout) { | 102 int setTimeout(TimeoutHandler handler, int timeout) { |
| 97 return _setTimeout(this, handler, timeout); | 103 return _setTimeout(this, handler, timeout); |
| 98 } | 104 } |
| 99 static int _setTimeout(receiver, handler, timeout) native; | 105 static int _setTimeout(receiver, handler, timeout) native; |
| 100 | 106 |
| 101 String get typeName() { return "WorkerContext"; } | 107 String get typeName() { return "WorkerContext"; } |
| 102 } | 108 } |
| OLD | NEW |