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

Unified Diff: lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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:
Download patch
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 70707e9552d95f0faeb8d94730fd504a47f07478..d226573d5d1ac31be818ba5b8d4e504285a6bb9d 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -6311,22 +6311,6 @@ class _DOMTokenListImpl extends _DOMTypeBase implements DOMTokenList {
class _DOMURLImpl extends _DOMTypeBase implements DOMURL {
_DOMURLImpl._wrap(ptr) : super._wrap(ptr);
-
- String createObjectURL(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;
- }
}
class _DataTransferItemImpl extends _DOMTypeBase implements DataTransferItem {
@@ -27189,12 +27173,6 @@ interface DOMTokenList {
interface DOMURL default _DOMURLFactoryProvider {
DOMURL();
-
- /** @domName DOMURL.createObjectURL */
- String createObjectURL(blob_OR_stream);
-
- /** @domName DOMURL.revokeObjectURL */
- void revokeObjectURL(String url);
}
// 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

Powered by Google App Engine
This is Rietveld 408576698