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

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

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Introducing AddStaticOperation Created 8 years, 8 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
« no previous file with comments | « lib/dom/src/native_FactoryProvidersImplementation.dart ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index dd3226eb54e73efdd47354047fe64b136d5624e8..3e50c8b2ba3d88da1880bfa1d48a5c83cdb295bc 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -6271,22 +6271,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 {
@@ -27144,12 +27128,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
« no previous file with comments | « lib/dom/src/native_FactoryProvidersImplementation.dart ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698