| 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 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 $!COMMENT | |
| 8 interface $ID$EXTENDS { | |
| 9 | |
| 10 /** | |
| 11 * Register a [port] on this window under the given [name]. This | |
| 12 * port may be retrieved by any isolate (or JavaScript script) | |
| 13 * running in this window. | |
| 14 */ | |
| 15 void registerPort(String name, SendPortSync port); | |
| 16 | |
| 17 /** | |
| 18 * Lookup a port by its [name]. Return null if no port is | |
| 19 * registered under [name]. | |
| 20 */ | |
| 21 SendPortSync lookupPort(String name); | |
| 22 | |
| 23 /** | |
| 24 * Executes a [callback] after the next batch of browser layout measurements | |
| 25 * has completed or would have completed if any browser layout measurements | |
| 26 * had been scheduled. | |
| 27 */ | |
| 28 void requestLayoutFrame(TimeoutHandler callback); | |
| 29 | |
| 30 | |
| 31 /** @domName DOMWindow.webkitRequestAnimationFrame */ | |
| 32 int requestAnimationFrame(RequestAnimationFrameCallback callback); | |
| 33 | |
| 34 void cancelAnimationFrame(int id); | |
| 35 | |
| 36 IDBFactory get indexedDB(); | |
| 37 | |
| 38 /** | |
| 39 * Creates a new object URL for the specified object. The URL will be | |
| 40 * available until revokeObjectUrl is called. | |
| 41 * [object] can be a Blob, MediaStream or MediaSource. | |
| 42 */ | |
| 43 String createObjectUrl(object); | |
| 44 | |
| 45 /** @domName DOMURL.revokeObjectURL */ | |
| 46 void revokeObjectUrl(String objectUrl); | |
| 47 | |
| 48 $!MEMBERS | |
| 49 } | |
| OLD | NEW |