| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 class AbstractWorkerEventsImplementation extends EventsImplementation implements
AbstractWorkerEvents { | |
| 6 AbstractWorkerEventsImplementation._wrap(_ptr) : super._wrap(_ptr); | |
| 7 | |
| 8 EventListenerList get error() => _get('error'); | |
| 9 } | |
| 10 | |
| 11 class AbstractWorkerWrappingImplementation extends EventTargetWrappingImplementa
tion implements AbstractWorker { | |
| 12 AbstractWorkerWrappingImplementation._wrap(ptr) : super._wrap(ptr); | |
| 13 | |
| 14 AbstractWorkerEvents get on() { | |
| 15 if (_on === null) { | |
| 16 _on = new AbstractWorkerEventsImplementation._wrap(_ptr); | |
| 17 } | |
| 18 return _on; | |
| 19 } | |
| 20 } | |
| OLD | NEW |