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

Unified Diff: sdk/lib/custom/custom.dart

Issue 2098493002: WIP: Add custom platform library. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add argument. Created 4 years, 6 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
« pkg/compiler/lib/src/js_backend/backend.dart ('K') | « sdk/lib/custom.platform ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/custom/custom.dart
diff --git a/sdk/lib/custom/custom.dart b/sdk/lib/custom/custom.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8c0d1f00086aae77285ec9cd9ec3e16379a81ad2
--- /dev/null
+++ b/sdk/lib/custom/custom.dart
@@ -0,0 +1,7 @@
+library dart.custom;
+
+void normalMethod(String argument) {
+ print('Normal method in dart:custom: $argument');
+}
+
+external void externalMethod(String argument);
« pkg/compiler/lib/src/js_backend/backend.dart ('K') | « sdk/lib/custom.platform ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698