| Index: sdk/lib/html/dartium/html_dartium.dart
|
| ===================================================================
|
| --- sdk/lib/html/dartium/html_dartium.dart (revision 14542)
|
| +++ sdk/lib/html/dartium/html_dartium.dart (working copy)
|
| @@ -10340,53 +10340,6 @@
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -/// @domName URL
|
| -abstract class DOMURL {
|
| -
|
| - factory DOMURL() => _DOMURLFactoryProvider.createDOMURL();
|
| -
|
| - /** @domName URL.createObjectURL */
|
| - static final createObjectURL = _DOMURLImpl.createObjectURL;
|
| -
|
| - /** @domName URL.revokeObjectURL */
|
| - static final revokeObjectURL = _DOMURLImpl.revokeObjectURL;
|
| -}
|
| -// 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.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _DOMURLImpl extends NativeFieldWrapperClass1 implements DOMURL {
|
| -
|
| - static String createObjectURL(blob_OR_source_OR_stream) {
|
| - if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
|
| - return _createObjectURL_1(blob_OR_source_OR_stream);
|
| - }
|
| - if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
|
| - return _createObjectURL_2(blob_OR_source_OR_stream);
|
| - }
|
| - if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
|
| - return _createObjectURL_3(blob_OR_source_OR_stream);
|
| - }
|
| - throw "Incorrect number or type of arguments";
|
| - }
|
| -
|
| - static String _createObjectURL_1(blob_OR_source_OR_stream) native "DOMURL_createObjectURL_1_Callback";
|
| -
|
| - static String _createObjectURL_2(blob_OR_source_OR_stream) native "DOMURL_createObjectURL_2_Callback";
|
| -
|
| - static String _createObjectURL_3(blob_OR_source_OR_stream) native "DOMURL_createObjectURL_3_Callback";
|
| -
|
| - static void revokeObjectURL(String url) native "DOMURL_revokeObjectURL_Callback";
|
| -
|
| -}
|
| -// 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.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| /// @domName HTMLDataListElement
|
| abstract class DataListElement implements Element {
|
|
|
| @@ -19939,17 +19892,7 @@
|
| */
|
| void requestLayoutFrame(TimeoutHandler callback);
|
|
|
| - /**
|
| - * Creates a new object URL for the specified object. The URL will be
|
| - * available until revokeObjectUrl is called.
|
| - * [object] can be a Blob, MediaStream or MediaSource.
|
| - */
|
| - String createObjectUrl(object);
|
|
|
| - /** @domName DOMURL.revokeObjectURL */
|
| - void revokeObjectUrl(String objectUrl);
|
| -
|
| -
|
| /**
|
| * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
|
| */
|
| @@ -20406,12 +20349,7 @@
|
| localStorage['dart-port:$name'] = JSON.stringify(serialized);
|
| }
|
|
|
| - String createObjectUrl(object) => DOMURL.createObjectURL(object);
|
| - void revokeObjectUrl(String url) {
|
| - DOMURL.revokeObjectURL(url);
|
| - }
|
|
|
| -
|
| _LocalWindowEventsImpl get on =>
|
| new _LocalWindowEventsImpl(this);
|
|
|
| @@ -38952,6 +38890,51 @@
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +/// @domName URL
|
| +abstract class Url {
|
| +
|
| + /** @domName URL.createObjectURL */
|
| + static final createObjectUrl = _UrlImpl.createObjectUrl;
|
| +
|
| + /** @domName URL.revokeObjectURL */
|
| + static final revokeObjectUrl = _UrlImpl.revokeObjectUrl;
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _UrlImpl extends NativeFieldWrapperClass1 implements Url {
|
| +
|
| + static String createObjectUrl(blob_OR_source_OR_stream) {
|
| + if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
|
| + return _createObjectURL_1(blob_OR_source_OR_stream);
|
| + }
|
| + if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
|
| + return _createObjectURL_2(blob_OR_source_OR_stream);
|
| + }
|
| + if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
|
| + return _createObjectURL_3(blob_OR_source_OR_stream);
|
| + }
|
| + throw "Incorrect number or type of arguments";
|
| + }
|
| +
|
| + static String _createObjectURL_1(blob_OR_source_OR_stream) native "DOMURL_createObjectURL_1_Callback";
|
| +
|
| + static String _createObjectURL_2(blob_OR_source_OR_stream) native "DOMURL_createObjectURL_2_Callback";
|
| +
|
| + static String _createObjectURL_3(blob_OR_source_OR_stream) native "DOMURL_createObjectURL_3_Callback";
|
| +
|
| + static void revokeObjectUrl(String url) native "DOMURL_revokeObjectURL_Callback";
|
| +
|
| +}
|
| +// 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.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| /// @domName ValidityState
|
| abstract class ValidityState {
|
|
|
| @@ -41989,13 +41972,6 @@
|
| // 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 _DOMURLFactoryProvider {
|
| - static DOMURL createDOMURL() native "DOMURL_constructor_Callback";
|
| -}
|
| -// 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 _DataViewFactoryProvider {
|
| static DataView createDataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) native "DataView_constructor_Callback";
|
| }
|
|
|