| Index: dart/sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/dart/sdk/lib/html/dartium/html_dartium.dart b/dart/sdk/lib/html/dartium/html_dartium.dart
|
| index 1fbd92a913fd1698ceed09959695ee1ef8be9142..e1424ad95943e37b21fdcefa22297da2c4db64b1 100644
|
| --- a/dart/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/dart/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -19023,6 +19023,20 @@ class Navigator extends NativeFieldWrapperClass1 {
|
| @Experimental
|
| BatteryManager get battery native "Navigator_webkitBattery_Getter";
|
|
|
| + @DomName('Navigator.webkitPersistentStorage')
|
| + @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| + StorageQuota get persistentStorage native "Navigator_webkitPersistentStorage_Getter";
|
| +
|
| + @DomName('Navigator.webkitTemporaryStorage')
|
| + @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| + StorageQuota get temporaryStorage native "Navigator_webkitTemporaryStorage_Getter";
|
| +
|
| @DomName('Navigator.getStorageUpdates')
|
| @DocsEditable
|
| void getStorageUpdates() native "Navigator_getStorageUpdates_Callback";
|
| @@ -21684,6 +21698,10 @@ class RtcPeerConnection extends EventTarget {
|
| @DocsEditable
|
| void getStats(RtcStatsCallback successCallback, MediaStreamTrack selector) native "RTCPeerConnection_getStats_Callback";
|
|
|
| + @DomName('RTCPeerConnection.getStreamById')
|
| + @DocsEditable
|
| + MediaStream getStreamById(String streamId) native "RTCPeerConnection_getStreamById_Callback";
|
| +
|
| @DomName('RTCPeerConnection.removeEventListener')
|
| @DocsEditable
|
| void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "RTCPeerConnection_removeEventListener_Callback";
|
| @@ -21803,42 +21821,33 @@ class RtcSessionDescription extends NativeFieldWrapperClass1 {
|
|
|
|
|
| @DocsEditable
|
| -@DomName('RTCStatsElement')
|
| -class RtcStatsElement extends NativeFieldWrapperClass1 {
|
| - RtcStatsElement.internal();
|
| +@DomName('RTCStatsReport')
|
| +class RtcStatsReport extends NativeFieldWrapperClass1 {
|
| + RtcStatsReport.internal();
|
|
|
| - @DomName('RTCStatsElement.timestamp')
|
| + @DomName('RTCStatsReport.id')
|
| @DocsEditable
|
| - DateTime get timestamp native "RTCStatsElement_timestamp_Getter";
|
| + String get id native "RTCStatsReport_id_Getter";
|
|
|
| - @DomName('RTCStatsElement.names')
|
| + @DomName('RTCStatsReport.local')
|
| @DocsEditable
|
| - List<String> names() native "RTCStatsElement_names_Callback";
|
| + RtcStatsReport get local native "RTCStatsReport_local_Getter";
|
|
|
| - @DomName('RTCStatsElement.stat')
|
| + @DomName('RTCStatsReport.remote')
|
| @DocsEditable
|
| - String stat(String name) native "RTCStatsElement_stat_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.
|
| + RtcStatsReport get remote native "RTCStatsReport_remote_Getter";
|
|
|
| + @DomName('RTCStatsReport.timestamp')
|
| + @DocsEditable
|
| + DateTime get timestamp native "RTCStatsReport_timestamp_Getter";
|
|
|
| -@DocsEditable
|
| -@DomName('RTCStatsReport')
|
| -class RtcStatsReport extends NativeFieldWrapperClass1 {
|
| - RtcStatsReport.internal();
|
| -
|
| - @DomName('RTCStatsReport.local')
|
| + @DomName('RTCStatsReport.names')
|
| @DocsEditable
|
| - RtcStatsElement get local native "RTCStatsReport_local_Getter";
|
| + List<String> names() native "RTCStatsReport_names_Callback";
|
|
|
| - @DomName('RTCStatsReport.remote')
|
| + @DomName('RTCStatsReport.stat')
|
| @DocsEditable
|
| - RtcStatsElement get remote native "RTCStatsReport_remote_Getter";
|
| + String stat(String name) native "RTCStatsReport_stat_Callback";
|
|
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -21853,6 +21862,10 @@ class RtcStatsReport extends NativeFieldWrapperClass1 {
|
| class RtcStatsResponse extends NativeFieldWrapperClass1 {
|
| RtcStatsResponse.internal();
|
|
|
| + @DomName('RTCStatsResponse.namedItem')
|
| + @DocsEditable
|
| + RtcStatsReport namedItem(String name) native "RTCStatsResponse_namedItem_Callback";
|
| +
|
| @DomName('RTCStatsResponse.result')
|
| @DocsEditable
|
| List<RtcStatsReport> result() native "RTCStatsResponse_result_Callback";
|
| @@ -23399,6 +23412,14 @@ class Storage extends NativeFieldWrapperClass1 implements Map<String, String>
|
| void $dom_setItem(String key, String data) native "Storage_setItem_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.
|
| +
|
| +
|
| +typedef void StorageErrorCallback(DomException error);
|
| // Copyright (c) 2013, 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.
|
| @@ -23459,11 +23480,11 @@ class StorageInfo extends NativeFieldWrapperClass1 {
|
|
|
| @DomName('StorageInfo.queryUsageAndQuota')
|
| @DocsEditable
|
| - void _queryUsageAndQuota(int storageType, [_StorageInfoUsageCallback usageCallback, _StorageInfoErrorCallback errorCallback]) native "StorageInfo_queryUsageAndQuota_Callback";
|
| + void _queryUsageAndQuota(int storageType, [StorageUsageCallback usageCallback, StorageErrorCallback errorCallback]) native "StorageInfo_queryUsageAndQuota_Callback";
|
|
|
| @DomName('StorageInfo.requestQuota')
|
| @DocsEditable
|
| - void _requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, _StorageInfoErrorCallback errorCallback]) native "StorageInfo_requestQuota_Callback";
|
| + void _requestQuota(int storageType, int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) native "StorageInfo_requestQuota_Callback";
|
|
|
| Future<int> requestQuota(int storageType, int newQuotaInBytes) {
|
| var completer = new Completer<int>();
|
| @@ -23501,7 +23522,20 @@ class StorageInfoUsage {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void _StorageInfoErrorCallback(DomException error);
|
| +@DocsEditable
|
| +@DomName('StorageQuota')
|
| +class StorageQuota extends NativeFieldWrapperClass1 {
|
| + StorageQuota.internal();
|
| +
|
| + @DomName('StorageQuota.queryUsageAndQuota')
|
| + @DocsEditable
|
| + void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallback errorCallback]) native "StorageQuota_queryUsageAndQuota_Callback";
|
| +
|
| + @DomName('StorageQuota.requestQuota')
|
| + @DocsEditable
|
| + void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) native "StorageQuota_requestQuota_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.
|
| @@ -23509,7 +23543,7 @@ typedef void _StorageInfoErrorCallback(DomException error);
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void StorageInfoQuotaCallback(int grantedQuotaInBytes);
|
| +typedef void StorageQuotaCallback(int grantedQuotaInBytes);
|
| // 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.
|
| @@ -23517,7 +23551,7 @@ typedef void StorageInfoQuotaCallback(int grantedQuotaInBytes);
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void _StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaInBytes);
|
| +typedef void StorageUsageCallback(int currentUsageInBytes, int currentQuotaInBytes);
|
| // 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.
|
| @@ -26853,6 +26887,25 @@ class WebGLBuffer extends NativeFieldWrapperClass1 {
|
|
|
|
|
| @DocsEditable
|
| +@DomName('WebGLCompressedTextureATC')
|
| +class WebGLCompressedTextureAtc extends NativeFieldWrapperClass1 {
|
| + WebGLCompressedTextureAtc.internal();
|
| +
|
| + static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
|
| +
|
| + static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
|
| +
|
| + static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
|
| +
|
| +}
|
| +// 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.
|
| +
|
| +
|
| +@DocsEditable
|
| @DomName('WebGLCompressedTextureS3TC')
|
| class WebGLCompressedTextureS3TC extends NativeFieldWrapperClass1 {
|
| WebGLCompressedTextureS3TC.internal();
|
|
|