| 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 { |
| 11 return new _WorkerContextWrappingImplementation(); | 11 return new _WorkerContextWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 WorkerLocation get location() { return _get_location(this); } | 14 WorkerLocation get location() { return _get_location(this); } |
| 15 static WorkerLocation _get_location(var _this) native; | 15 static WorkerLocation _get_location(var _this) native; |
| 16 | 16 |
| 17 void set location(WorkerLocation value) { _set_location(this, value); } | 17 void set location(WorkerLocation value) { _set_location(this, value); } |
| 18 static void _set_location(var _this, WorkerLocation value) native; | 18 static void _set_location(var _this, WorkerLocation value) native; |
| 19 | 19 |
| 20 WorkerNavigator get navigator() { return _get_navigator(this); } | 20 WorkerNavigator get navigator() { return _get_navigator(this); } |
| 21 static WorkerNavigator _get_navigator(var _this) native; | 21 static WorkerNavigator _get_navigator(var _this) native; |
| 22 | 22 |
| 23 void set navigator(WorkerNavigator value) { _set_navigator(this, value); } | 23 void set navigator(WorkerNavigator value) { _set_navigator(this, value); } |
| 24 static void _set_navigator(var _this, WorkerNavigator value) native; | 24 static void _set_navigator(var _this, WorkerNavigator value) native; |
| 25 | 25 |
| 26 EventListener get onerror() { return _get_onerror(this); } | |
| 27 static EventListener _get_onerror(var _this) native; | |
| 28 | |
| 29 void set onerror(EventListener value) { _set_onerror(this, value); } | |
| 30 static void _set_onerror(var _this, EventListener value) native; | |
| 31 | |
| 32 WorkerContext get self() { return _get_self(this); } | 26 WorkerContext get self() { return _get_self(this); } |
| 33 static WorkerContext _get_self(var _this) native; | 27 static WorkerContext _get_self(var _this) native; |
| 34 | 28 |
| 35 void set self(WorkerContext value) { _set_self(this, value); } | 29 void set self(WorkerContext value) { _set_self(this, value); } |
| 36 static void _set_self(var _this, WorkerContext value) native; | 30 static void _set_self(var _this, WorkerContext value) native; |
| 37 | 31 |
| 38 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } | 32 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } |
| 39 static NotificationCenter _get_webkitNotifications(var _this) native; | 33 static NotificationCenter _get_webkitNotifications(var _this) native; |
| 40 | 34 |
| 41 DOMURL get webkitURL() { return _get_webkitURL(this); } | 35 DOMURL get webkitURL() { return _get_webkitURL(this); } |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 } | 93 } |
| 100 static int _setInterval(receiver, handler, timeout) native; | 94 static int _setInterval(receiver, handler, timeout) native; |
| 101 | 95 |
| 102 int setTimeout(TimeoutHandler handler, int timeout) { | 96 int setTimeout(TimeoutHandler handler, int timeout) { |
| 103 return _setTimeout(this, handler, timeout); | 97 return _setTimeout(this, handler, timeout); |
| 104 } | 98 } |
| 105 static int _setTimeout(receiver, handler, timeout) native; | 99 static int _setTimeout(receiver, handler, timeout) native; |
| 106 | 100 |
| 107 String get typeName() { return "WorkerContext"; } | 101 String get typeName() { return "WorkerContext"; } |
| 108 } | 102 } |
| OLD | NEW |