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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 class _DOMURLWrappingImplementation extends DOMWrapperBase implements DOMURL { 7 class _DOMURLWrappingImplementation extends DOMWrapperBase implements DOMURL {
8 _DOMURLWrappingImplementation() : super() {} 8 _DOMURLWrappingImplementation() : super() {}
9 9
10 static create__DOMURLWrappingImplementation() native { 10 static create__DOMURLWrappingImplementation() native {
11 return new _DOMURLWrappingImplementation(); 11 return new _DOMURLWrappingImplementation();
12 } 12 }
13 13
14 String createObjectURL(var blob_OR_stream) {
15 if (blob_OR_stream is MediaStream) {
16 return _createObjectURL(this, blob_OR_stream);
17 } else {
18 if (blob_OR_stream is Blob) {
19 return _createObjectURL_2(this, blob_OR_stream);
20 }
21 }
22 throw "Incorrect number or type of arguments";
23 }
24 static String _createObjectURL(receiver, blob_OR_stream) native;
25 static String _createObjectURL_2(receiver, blob_OR_stream) native;
26
27 void revokeObjectURL(String url) {
28 _revokeObjectURL(this, url);
29 return;
30 }
31 static void _revokeObjectURL(receiver, url) native;
32
14 String get typeName() { return "DOMURL"; } 33 String get typeName() { return "DOMURL"; }
15 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698