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

Unified Diff: Source/WebCore/bindings/dart/resources/builtin.dart

Issue 8802010: Dart bindings for WebKit (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk
Patch Set: Created 9 years 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
Index: Source/WebCore/bindings/dart/resources/builtin.dart
diff --git a/Source/WebCore/bindings/dart/resources/builtin.dart b/Source/WebCore/bindings/dart/resources/builtin.dart
new file mode 100644
index 0000000000000000000000000000000000000000..796c13775865c25382edad6918219f5c8ae7869c
--- /dev/null
+++ b/Source/WebCore/bindings/dart/resources/builtin.dart
@@ -0,0 +1,6 @@
+// FIXME: Inject into corelib via a callback once that API is in
+// place.
+void print(String arg) {
+ // FIXME: This needs to work on non-DOM isolates.
+ window.console.log(arg);
+}

Powered by Google App Engine
This is Rietveld 408576698