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

Unified Diff: dart/sdk/lib/html/dart2js/html_dart2js.dart

Issue 12676013: Bring in new IDL files and generated code. Update the script that syncs the idl files to deal with … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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:
Download patch
« no previous file with comments | « no previous file | dart/sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/dart/sdk/lib/html/dart2js/html_dart2js.dart b/dart/sdk/lib/html/dart2js/html_dart2js.dart
index 58c7c45658a7e022208948432f64940301985d53..53b3e084741eded8863e63e1d84465b0f71a25cb 100644
--- a/dart/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/dart/sdk/lib/html/dart2js/html_dart2js.dart
@@ -17582,6 +17582,22 @@ class Navigator native "*Navigator" {
@Experimental
final BatteryManager battery;
+ @JSName('webkitPersistentStorage')
+ @DomName('Navigator.webkitPersistentStorage')
+ @DocsEditable
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental
+ final StorageQuota persistentStorage;
+
+ @JSName('webkitTemporaryStorage')
+ @DomName('Navigator.webkitTemporaryStorage')
+ @DocsEditable
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental
+ final StorageQuota temporaryStorage;
+
@DomName('Navigator.getStorageUpdates')
@DocsEditable
void getStorageUpdates() native;
@@ -20036,6 +20052,10 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
@DocsEditable
void getStats(RtcStatsCallback successCallback, MediaStreamTrack selector) native;
+ @DomName('RTCPeerConnection.getStreamById')
+ @DocsEditable
+ MediaStream getStreamById(String streamId) native;
+
@JSName('removeEventListener')
@DomName('RTCPeerConnection.removeEventListener')
@DocsEditable
@@ -20171,39 +20191,34 @@ class RtcSessionDescription native "*RTCSessionDescription" {
@DocsEditable
-@DomName('RTCStatsElement')
-class RtcStatsElement native "*RTCStatsElement" {
+@DomName('RTCStatsReport')
+class RtcStatsReport native "*RTCStatsReport" {
- DateTime get timestamp => _convertNativeToDart_DateTime(this._get_timestamp);
- @JSName('timestamp')
- @DomName('RTCStatsElement.timestamp')
+ @DomName('RTCStatsReport.id')
@DocsEditable
- final dynamic _get_timestamp;
+ final String id;
- @DomName('RTCStatsElement.names')
+ @DomName('RTCStatsReport.local')
@DocsEditable
- List<String> names() native;
+ final RtcStatsReport local;
- @DomName('RTCStatsElement.stat')
+ @DomName('RTCStatsReport.remote')
@DocsEditable
- String stat(String name) native;
-}
-// 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.
+ final RtcStatsReport remote;
+ DateTime get timestamp => _convertNativeToDart_DateTime(this._get_timestamp);
+ @JSName('timestamp')
+ @DomName('RTCStatsReport.timestamp')
+ @DocsEditable
+ final dynamic _get_timestamp;
-@DocsEditable
-@DomName('RTCStatsReport')
-class RtcStatsReport native "*RTCStatsReport" {
-
- @DomName('RTCStatsReport.local')
+ @DomName('RTCStatsReport.names')
@DocsEditable
- final RtcStatsElement local;
+ List<String> names() native;
- @DomName('RTCStatsReport.remote')
+ @DomName('RTCStatsReport.stat')
@DocsEditable
- final RtcStatsElement remote;
+ String stat(String name) native;
}
// 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
@@ -20214,6 +20229,10 @@ class RtcStatsReport native "*RTCStatsReport" {
@DomName('RTCStatsResponse')
class RtcStatsResponse native "*RTCStatsResponse" {
+ @DomName('RTCStatsResponse.namedItem')
+ @DocsEditable
+ RtcStatsReport namedItem(String name) native;
+
@DomName('RTCStatsResponse.result')
@DocsEditable
List<RtcStatsReport> result() native;
@@ -21548,6 +21567,14 @@ class Storage implements Map<String, String>
void $dom_setItem(String key, String data) native;
}
+// 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.
@@ -21608,12 +21635,12 @@ class StorageInfo native "*StorageInfo" {
@JSName('queryUsageAndQuota')
@DomName('StorageInfo.queryUsageAndQuota')
@DocsEditable
- void _queryUsageAndQuota(int storageType, [_StorageInfoUsageCallback usageCallback, _StorageInfoErrorCallback errorCallback]) native;
+ void _queryUsageAndQuota(int storageType, [StorageUsageCallback usageCallback, StorageErrorCallback errorCallback]) native;
@JSName('requestQuota')
@DomName('StorageInfo.requestQuota')
@DocsEditable
- void _requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, _StorageInfoErrorCallback errorCallback]) native;
+ void _requestQuota(int storageType, int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) native;
@JSName('requestQuota')
@DomName('StorageInfo.requestQuota')
@@ -21651,10 +21678,19 @@ class StorageInfoUsage {
// 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('StorageQuota')
+class StorageQuota native "*StorageQuota" {
+
+ @DomName('StorageQuota.queryUsageAndQuota')
+ @DocsEditable
+ void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallback errorCallback]) native;
-typedef void _StorageInfoErrorCallback(DomException error);
+ @DomName('StorageQuota.requestQuota')
+ @DocsEditable
+ void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) native;
+}
// 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.
@@ -21662,7 +21698,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.
@@ -21670,7 +21706,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.
@@ -24640,6 +24676,21 @@ class WebGLBuffer native "*WebGLBuffer" {
@DocsEditable
+@DomName('WebGLCompressedTextureATC')
+class WebGLCompressedTextureAtc native "*WebGLCompressedTextureATC" {
+
+ 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.
+
+
+@DocsEditable
@DomName('WebGLCompressedTextureS3TC')
class WebGLCompressedTextureS3TC native "*WebGLCompressedTextureS3TC" {
« no previous file with comments | « no previous file | dart/sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698