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

Unified Diff: lib/html/templates/html/dartium/impl_Window.darttemplate

Issue 10989022: Temporarily expose createObjectUrl/revokeObjectUrl on window. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « no previous file | tests/html/html.status » ('j') | tests/html/url_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/templates/html/dartium/impl_Window.darttemplate
diff --git a/lib/html/templates/html/dartium/impl_Window.darttemplate b/lib/html/templates/html/dartium/impl_Window.darttemplate
index b00851677a61d7ee03ad8bcab94c5628d4b4a5a0..fab97f7b8682737a37daebcb1489011c502990ce 100644
--- a/lib/html/templates/html/dartium/impl_Window.darttemplate
+++ b/lib/html/templates/html/dartium/impl_Window.darttemplate
@@ -24,5 +24,10 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
localStorage['dart-port:$name'] = JSON.stringify(serialized);
}
+ String createObjectUrl(object) => DOMURL.createObjectURL(object);
+ void revokeObjectUrl(String url) {
+ DOMURL.revokeObjectURL(url);
+ }
+
$!MEMBERS
}
« no previous file with comments | « no previous file | tests/html/html.status » ('j') | tests/html/url_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698