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

Unified Diff: frog/lib/dom/html.dart

Issue 8457005: convert isolates to use Future (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated co19 Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « corelib/src/isolate.dart ('k') | frog/lib/isolate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/lib/dom/html.dart
diff --git a/frog/lib/dom/html.dart b/frog/lib/dom/html.dart
index b97914523bd74f75d5aa104b08a11870e38f3209..14e1d3a344446eebf00ca1a23b410a96197cb63c 100644
--- a/frog/lib/dom/html.dart
+++ b/frog/lib/dom/html.dart
@@ -18706,12 +18706,12 @@ interface Document extends Element /*, common.NodeSelector */ {
String get webkitVisibilityState();
- Promise<Range> caretRangeFromPoint([int x, int y]);
+ Future<Range> caretRangeFromPoint([int x, int y]);
// TODO(jacobr): remove.
Element createElement([String tagName]);
- Promise<Element> elementFromPoint([int x, int y]);
+ Future<Element> elementFromPoint([int x, int y]);
bool execCommand([String command, bool userInterface, String value]);
@@ -19108,7 +19108,7 @@ class DocumentWrappingImplementation extends ElementWrappingImplementation imple
String get webkitVisibilityState() => _documentPtr.webkitVisibilityState;
- Promise<Range> caretRangeFromPoint([int x = null, int y = null]) {
+ Future<Range> caretRangeFromPoint([int x = null, int y = null]) {
throw 'TODO(jacobr): impl promise.';
// return LevelDom.wrapRange(_documentPtr.caretRangeFromPoint(x, y));
}
@@ -19121,7 +19121,7 @@ class DocumentWrappingImplementation extends ElementWrappingImplementation imple
return LevelDom.wrapEvent(_documentPtr.createEvent(eventType));
}
- Promise<Element> elementFromPoint([int x = null, int y = null]) {
+ Future<Element> elementFromPoint([int x = null, int y = null]) {
throw 'TODO(jacobr): impl using promise';
// return LevelDom.wrapElement(_documentPtr.elementFromPoint(x, y));
}
« no previous file with comments | « corelib/src/isolate.dart ('k') | frog/lib/isolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698