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

Unified Diff: client/html/generated/html/dartium/DOMURL.dart

Issue 9619015: Regenerate dart:dom and dart:html bindings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
Index: client/html/generated/html/dartium/DOMURL.dart
diff --git a/client/html/generated/html/dartium/DOMURL.dart b/client/html/generated/html/dartium/DOMURL.dart
index 38b898ba7196415527f2e5a95bf74907afe05835..c487effd506e31474ead02545cf6ab4230a4ce24 100644
--- a/client/html/generated/html/dartium/DOMURL.dart
+++ b/client/html/generated/html/dartium/DOMURL.dart
@@ -1,4 +1,20 @@
class _DOMURLImpl extends _DOMTypeBase implements DOMURL {
_DOMURLImpl._wrap(ptr) : super._wrap(ptr);
+
+ String createObjectURL(var blob_OR_stream) {
+ if (blob_OR_stream is MediaStream) {
+ return _wrap(_ptr.createObjectURL(_unwrap(blob_OR_stream)));
+ } else {
+ if (blob_OR_stream is Blob) {
+ return _wrap(_ptr.createObjectURL(_unwrap(blob_OR_stream)));
+ }
+ }
+ throw "Incorrect number or type of arguments";
+ }
+
+ void revokeObjectURL(String url) {
+ _ptr.revokeObjectURL(_unwrap(url));
+ return;
+ }
}
« no previous file with comments | « client/html/generated/html/dartium/Clipboard.dart ('k') | client/html/generated/html/dartium/DynamicsCompressorNode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698