Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: lib/dom/templates/html/interface/interface_Window.darttemplate

Issue 10689150: Add registerPort / lookupPort to generated interfaces with documentation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 $!COMMENT 7 $!COMMENT
8 interface $ID$EXTENDS { 8 interface $ID$EXTENDS {
9 9
10 /** 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);
Siggi Cherem (dart-lang) 2012/07/10 23:50:41 should this be registerSyncPort? (do we expect to
vsm 2012/07/10 23:53:24 We do want to allow SendPort (i.e., the async one)
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 /**
11 * Executes a [callback] after the next batch of browser layout measurements 24 * Executes a [callback] after the next batch of browser layout measurements
12 * has completed or would have completed if any browser layout measurements 25 * has completed or would have completed if any browser layout measurements
13 * had been scheduled. 26 * had been scheduled.
14 */ 27 */
15 void requestLayoutFrame(TimeoutHandler callback); 28 void requestLayoutFrame(TimeoutHandler callback);
16 29
17 30
18 /** @domName DOMWindow.webkitRequestAnimationFrame */ 31 /** @domName DOMWindow.webkitRequestAnimationFrame */
19 int requestAnimationFrame(RequestAnimationFrameCallback callback); 32 int requestAnimationFrame(RequestAnimationFrameCallback callback);
20 33
21 void cancelAnimationFrame(int id); 34 void cancelAnimationFrame(int id);
22 35
23 IDBFactory get indexedDB(); 36 IDBFactory get indexedDB();
24 37
25 $!MEMBERS 38 $!MEMBERS
26 } 39 }
OLDNEW
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698