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

Side by Side Diff: client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart

Issue 9663027: Remove generated directories with 100s of files. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class _WebKitBlobBuilderWrappingImplementation extends DOMWrapperBase implements WebKitBlobBuilder {
8 _WebKitBlobBuilderWrappingImplementation() : super() {}
9
10 static create__WebKitBlobBuilderWrappingImplementation() native {
11 return new _WebKitBlobBuilderWrappingImplementation();
12 }
13
14 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) {
15 if (arrayBuffer_OR_blob_OR_value is Blob) {
16 if (endings === null) {
17 _append(this, arrayBuffer_OR_blob_OR_value);
18 return;
19 }
20 } else {
21 if (arrayBuffer_OR_blob_OR_value is ArrayBuffer) {
22 if (endings === null) {
23 _append_2(this, arrayBuffer_OR_blob_OR_value);
24 return;
25 }
26 } else {
27 if (arrayBuffer_OR_blob_OR_value is String) {
28 if (endings === null) {
29 _append_3(this, arrayBuffer_OR_blob_OR_value);
30 return;
31 } else {
32 _append_4(this, arrayBuffer_OR_blob_OR_value, endings);
33 return;
34 }
35 }
36 }
37 }
38 throw "Incorrect number or type of arguments";
39 }
40 static void _append(receiver, arrayBuffer_OR_blob_OR_value) native;
41 static void _append_2(receiver, arrayBuffer_OR_blob_OR_value) native;
42 static void _append_3(receiver, arrayBuffer_OR_blob_OR_value) native;
43 static void _append_4(receiver, arrayBuffer_OR_blob_OR_value, endings) native;
44
45 Blob getBlob([String contentType = null]) {
46 if (contentType === null) {
47 return _getBlob(this);
48 } else {
49 return _getBlob_2(this, contentType);
50 }
51 }
52 static Blob _getBlob(receiver) native;
53 static Blob _getBlob_2(receiver, contentType) native;
54
55 String get typeName() { return "WebKitBlobBuilder"; }
56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698