e042b19b96
Review URL: https://chromiumcodereview.appspot.com//10540085 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8516 260f80e4-7a28-3924-810f-c04153c831b5
31 lines
974 B
Plaintext
31 lines
974 B
Plaintext
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// WARNING:
|
|
// This file contains documentation that is merged into the real source.
|
|
// Do not make code changes here.
|
|
|
|
/// An HTML5 Abstract Worker.
|
|
interface AbstractWorker extends EventTarget {
|
|
|
|
/**
|
|
* The valid events associated with an AbstractWorker.
|
|
*/
|
|
AbstractWorkerEvents get on();
|
|
|
|
/** @domName AbstractWorker.addEventListener */
|
|
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
|
|
|
|
/** @domName AbstractWorker.dispatchEvent */
|
|
bool $dom_dispatchEvent(Event evt);
|
|
|
|
/** @domName AbstractWorker.removeEventListener */
|
|
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
|
|
}
|
|
|
|
interface AbstractWorkerEvents extends Events {
|
|
|
|
EventListenerList get error();
|
|
}
|