| // Copyright (c) 2011, 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: Do not edit - generated code. |
| |
| part of html; |
| |
| $!COMMENT |
| abstract class $ID$EXTENDS { |
| |
| /** |
| * Register a [port] on this window under the given [name]. This |
| * port may be retrieved by any isolate (or JavaScript script) |
| * running in this window. |
| */ |
| void registerPort(String name, SendPortSync port); |
| |
| /** |
| * Lookup a port by its [name]. Return null if no port is |
| * registered under [name]. |
| */ |
| SendPortSync lookupPort(String name); |
| |
| /** |
| * Executes a [callback] after the next batch of browser layout measurements |
| * has completed or would have completed if any browser layout measurements |
| * had been scheduled. |
| */ |
| void requestLayoutFrame(TimeoutHandler callback); |
| |
| /** |
| * Creates a new object URL for the specified object. The URL will be |
| * available until revokeObjectUrl is called. |
| * [object] can be a Blob, MediaStream or MediaSource. |
| */ |
| String createObjectUrl(object); |
| |
| /** @domName DOMURL.revokeObjectURL */ |
| void revokeObjectUrl(String objectUrl); |
| |
| $!MEMBERS |
| } |