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

Unified Diff: client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.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/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart b/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
index a9b5ee3d06601137a87c333f1b7a4efc8bf3a101..c0aa5ebec7d9c6c35af8aadfd3f6faeccd1391d6 100644
--- a/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
@@ -11,5 +11,24 @@ class _DOMURLWrappingImplementation extends DOMWrapperBase implements DOMURL {
return new _DOMURLWrappingImplementation();
}
+ String createObjectURL(var blob_OR_stream) {
+ if (blob_OR_stream is MediaStream) {
+ return _createObjectURL(this, blob_OR_stream);
+ } else {
+ if (blob_OR_stream is Blob) {
+ return _createObjectURL_2(this, blob_OR_stream);
+ }
+ }
+ throw "Incorrect number or type of arguments";
+ }
+ static String _createObjectURL(receiver, blob_OR_stream) native;
+ static String _createObjectURL_2(receiver, blob_OR_stream) native;
+
+ void revokeObjectURL(String url) {
+ _revokeObjectURL(this, url);
+ return;
+ }
+ static void _revokeObjectURL(receiver, url) native;
+
String get typeName() { return "DOMURL"; }
}

Powered by Google App Engine
This is Rietveld 408576698