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

Unified Diff: tools/dom/templates/html/dartium/html_dartium.darttemplate

Issue 286773002: Add builtin types to the blink type map (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/dartium/html_dartium.darttemplate
diff --git a/tools/dom/templates/html/dartium/html_dartium.darttemplate b/tools/dom/templates/html/dartium/html_dartium.darttemplate
index 6895c3663e65accb26effbbc2cec763168df369e..f13fe025f4e0ded36bb026887b6e74e4728ca5d1 100644
--- a/tools/dom/templates/html/dartium/html_dartium.darttemplate
+++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate
@@ -37,6 +37,7 @@ import 'dart:_internal' hide Symbol, deprecated;
import 'dart:html_common';
import 'dart:indexed_db';
import 'dart:isolate';
+import 'dart:js' as js;
import "dart:convert";
import 'dart:math';
// TODO(vsm): Remove this when we can do the proper checking in
@@ -142,6 +143,14 @@ Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
$if DART_USE_BLINK
// FIXME: Can we make this private?
const htmlBlinkMap = const {
+ '_HistoryCrossFrame': _HistoryCrossFrame,
+ '_LocationCrossFrame': _LocationCrossFrame,
+ '_DOMWindowCrossFrame': _DOMWindowCrossFrame,
+ // FIXME: Move these to better locations.
+ 'DateTime': DateTime,
+ 'JsObject': js.JsObject,
+ 'JsFunction': js.JsFunction,
+ 'JsArray': js.JsArray,
$!TYPE_MAP
};
$endif
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698