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); } | |
18 static void _set_location(var _this, WorkerLocation value) native; | |
19 | |
20 WorkerNavigator get navigator() { return _get_navigator(this); } | 17 WorkerNavigator get navigator() { return _get_navigator(this); } |
21 static WorkerNavigator _get_navigator(var _this) native; | 18 static WorkerNavigator _get_navigator(var _this) native; |
22 | 19 |
23 void set navigator(WorkerNavigator value) { _set_navigator(this, value); } | |
24 static void _set_navigator(var _this, WorkerNavigator value) native; | |
25 | |
26 EventListener get onerror() { return _get_onerror(this); } | 20 EventListener get onerror() { return _get_onerror(this); } |
27 static EventListener _get_onerror(var _this) native; | 21 static EventListener _get_onerror(var _this) native; |
28 | 22 |
29 void set onerror(EventListener value) { _set_onerror(this, value); } | 23 void set onerror(EventListener value) { _set_onerror(this, value); } |
30 static void _set_onerror(var _this, EventListener value) native; | 24 static void _set_onerror(var _this, EventListener value) native; |
31 | 25 |
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); } | |
36 static void _set_self(var _this, WorkerContext value) native; | |
37 | |
38 IDBFactory get webkitIndexedDB() { return _get_webkitIndexedDB(this); } | 29 IDBFactory get webkitIndexedDB() { return _get_webkitIndexedDB(this); } |
39 static IDBFactory _get_webkitIndexedDB(var _this) native; | 30 static IDBFactory _get_webkitIndexedDB(var _this) native; |
40 | 31 |
41 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } | 32 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } |
42 static NotificationCenter _get_webkitNotifications(var _this) native; | 33 static NotificationCenter _get_webkitNotifications(var _this) native; |
43 | 34 |
44 DOMURL get webkitURL() { return _get_webkitURL(this); } | |
45 static DOMURL _get_webkitURL(var _this) native; | |
46 | |
47 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 35 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
48 if (useCapture === null) { | 36 if (useCapture === null) { |
49 _addEventListener(this, type, listener); | 37 _addEventListener(this, type, listener); |
50 return; | 38 return; |
51 } else { | 39 } else { |
52 _addEventListener_2(this, type, listener, useCapture); | 40 _addEventListener_2(this, type, listener, useCapture); |
53 return; | 41 return; |
54 } | 42 } |
55 } | 43 } |
56 static void _addEventListener(receiver, type, listener) native; | 44 static void _addEventListener(receiver, type, listener) native; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 } | 162 } |
175 } | 163 } |
176 throw "Incorrect number or type of arguments"; | 164 throw "Incorrect number or type of arguments"; |
177 } | 165 } |
178 static void _webkitResolveLocalFileSystemURL(receiver, url) native; | 166 static void _webkitResolveLocalFileSystemURL(receiver, url) native; |
179 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback)
native; | 167 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback)
native; |
180 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback,
errorCallback) native; | 168 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback,
errorCallback) native; |
181 | 169 |
182 String get typeName() { return "WorkerContext"; } | 170 String get typeName() { return "WorkerContext"; } |
183 } | 171 } |
OLD | NEW |