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

Unified Diff: lib/dom/templates/html/interface/interface_Window.darttemplate

Issue 10905049: Implementing window.createObjectURL* (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. 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 | « lib/dom/templates/html/dart2js/impl_Window.darttemplate ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/interface/interface_Window.darttemplate
diff --git a/lib/dom/templates/html/interface/interface_Window.darttemplate b/lib/dom/templates/html/interface/interface_Window.darttemplate
index 2cce70016a5bd7871585fbe8022f493ece59a2a1..d7c0e83a09f1c3b9a84ad07363cf209554995ffc 100644
--- a/lib/dom/templates/html/interface/interface_Window.darttemplate
+++ b/lib/dom/templates/html/interface/interface_Window.darttemplate
@@ -35,5 +35,15 @@ interface $ID$EXTENDS {
IDBFactory get indexedDB();
+ /**
+ * Creates a new object URL for the specified object. The URL will be
+ * available until revokeObjectUrl is called.
+ * [object] can be a Blob, MediaStream or MediaSource.
+ */
+ String createObjectUrl(object);
+
+ /** @domName DOMURL.revokeObjectURL */
+ void revokeObjectUrl(String objectUrl);
+
$!MEMBERS
}
« no previous file with comments | « lib/dom/templates/html/dart2js/impl_Window.darttemplate ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698