9323a6d742
Note, the implementations are already there in Dartium and Dart2JS. This will make the APIs show up in the Editor and dartdoc. Review URL: https://chromiumcodereview.appspot.com//10689150 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9537 260f80e4-7a28-3924-810f-c04153c831b5
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
// 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.
|
|
|
|
$!COMMENT
|
|
interface $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);
|
|
|
|
|
|
/** @domName DOMWindow.webkitRequestAnimationFrame */
|
|
int requestAnimationFrame(RequestAnimationFrameCallback callback);
|
|
|
|
void cancelAnimationFrame(int id);
|
|
|
|
IDBFactory get indexedDB();
|
|
|
|
$!MEMBERS
|
|
}
|