| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 void set onerror(EventListener value) { _set_onerror(this, value); } | 29 void set onerror(EventListener value) { _set_onerror(this, value); } |
| 30 static void _set_onerror(var _this, EventListener value) native; | 30 static void _set_onerror(var _this, EventListener value) native; |
| 31 | 31 |
| 32 WorkerContext get self() { return _get_self(this); } | 32 WorkerContext get self() { return _get_self(this); } |
| 33 static WorkerContext _get_self(var _this) native; | 33 static WorkerContext _get_self(var _this) native; |
| 34 | 34 |
| 35 void set self(WorkerContext value) { _set_self(this, value); } | 35 void set self(WorkerContext value) { _set_self(this, value); } |
| 36 static void _set_self(var _this, WorkerContext value) native; | 36 static void _set_self(var _this, WorkerContext value) native; |
| 37 | 37 |
| 38 IDBFactory get webkitIndexedDB() { return _get_webkitIndexedDB(this); } |
| 39 static IDBFactory _get_webkitIndexedDB(var _this) native; |
| 40 |
| 38 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } | 41 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } |
| 39 static NotificationCenter _get_webkitNotifications(var _this) native; | 42 static NotificationCenter _get_webkitNotifications(var _this) native; |
| 40 | 43 |
| 41 DOMURL get webkitURL() { return _get_webkitURL(this); } | 44 DOMURL get webkitURL() { return _get_webkitURL(this); } |
| 42 static DOMURL _get_webkitURL(var _this) native; | 45 static DOMURL _get_webkitURL(var _this) native; |
| 43 | 46 |
| 44 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 47 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 45 if (useCapture === null) { | 48 if (useCapture === null) { |
| 46 _addEventListener(this, type, listener); | 49 _addEventListener(this, type, listener); |
| 47 return; | 50 return; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 } | 174 } |
| 172 } | 175 } |
| 173 throw "Incorrect number or type of arguments"; | 176 throw "Incorrect number or type of arguments"; |
| 174 } | 177 } |
| 175 static void _webkitResolveLocalFileSystemURL(receiver, url) native; | 178 static void _webkitResolveLocalFileSystemURL(receiver, url) native; |
| 176 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback)
native; | 179 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback)
native; |
| 177 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback,
errorCallback) native; | 180 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback,
errorCallback) native; |
| 178 | 181 |
| 179 String get typeName() { return "WorkerContext"; } | 182 String get typeName() { return "WorkerContext"; } |
| 180 } | 183 } |
| OLD | NEW |