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

Unified Diff: lib/dom/frog/dom_frog.dart

Issue 10700046: Revert "Revert "Blob constructor"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/frog/dom_frog.dart
diff --git a/lib/dom/frog/dom_frog.dart b/lib/dom/frog/dom_frog.dart
index 3e3b871c883ed70b253ff7af79cbfb5994c799c2..56ed64a229102c1cc556a673ac5a49efcdad1ce6 100644
--- a/lib/dom/frog/dom_frog.dart
+++ b/lib/dom/frog/dom_frog.dart
@@ -11938,6 +11938,14 @@ class _XSLTProcessorJs extends _DOMTypeJs implements XSLTProcessor native "*XSLT
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+class _BlobFactoryProvider {
+ factory Blob(List blobParts, [String type = null, String endings = null]) native
+ '''return new Blob(blobParts, type, endings);''';
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
class _DOMParserFactoryProvider {
factory DOMParser() native
'''return new DOMParser();''';
@@ -12620,7 +12628,9 @@ interface BiquadFilterNode extends AudioNode {
// WARNING: Do not edit - generated code.
-interface Blob {
+interface Blob default _BlobFactoryProvider {
+
+ Blob(List blobParts, [String type, String endings]);
final int size;
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698