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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 21929004: Renaming Crypto's new horribly generic class 'Key' to CryptoKey. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index f29e586b3c800740d959ced598763fa0d0ab89bd..843ea2c591df1c34effbf7e26bbcfc7ef77cbab2 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -2416,6 +2416,39 @@ class Crypto extends NativeFieldWrapperClass1 {
@DocsEditable()
+@DomName('Key')
+@Experimental() // untriaged
+class CryptoKey extends NativeFieldWrapperClass1 {
+
+ @DomName('Key.algorithm')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Algorithm get algorithm native "Key_algorithm_Getter";
+
+ @DomName('Key.extractable')
+ @DocsEditable()
+ @Experimental() // untriaged
+ bool get extractable native "Key_extractable_Getter";
+
+ @DomName('Key.type')
+ @DocsEditable()
+ @Experimental() // untriaged
+ String get type native "Key_type_Getter";
+
+ @DomName('Key.usages')
+ @DocsEditable()
+ @Experimental() // untriaged
+ List<String> get usages native "Key_usages_Getter";
+
+}
+// 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('CryptoOperation')
@Experimental() // untriaged
class CryptoOperation extends NativeFieldWrapperClass1 {
@@ -15271,39 +15304,6 @@ class InputMethodContext extends NativeFieldWrapperClass1 {
// 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('Key')
-@Experimental() // untriaged
-class Key extends NativeFieldWrapperClass1 {
-
- @DomName('Key.algorithm')
- @DocsEditable()
- @Experimental() // untriaged
- Algorithm get algorithm native "Key_algorithm_Getter";
-
- @DomName('Key.extractable')
- @DocsEditable()
- @Experimental() // untriaged
- bool get extractable native "Key_extractable_Getter";
-
- @DomName('Key.type')
- @DocsEditable()
- @Experimental() // untriaged
- String get type native "Key_type_Getter";
-
- @DomName('Key.usages')
- @DocsEditable()
- @Experimental() // untriaged
- List<String> get usages native "Key_usages_Getter";
-
-}
-// 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.
-
@DomName('KeyboardEvent')
class KeyboardEvent extends UIEvent {
@@ -25724,13 +25724,13 @@ class Url extends NativeFieldWrapperClass1 {
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
return _createObjectURL_1(blob_OR_source_OR_stream);
}
- if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
+ if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
vsm 2013/08/14 19:39:33 Any idea why the ordering changed here?
return _createObjectURL_2(blob_OR_source_OR_stream);
}
- if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
+ if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
return _createObjectURL_3(blob_OR_source_OR_stream);
}
- if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
+ if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
return _createObjectURL_4(blob_OR_source_OR_stream);
}
throw new ArgumentError("Incorrect number or type of arguments");
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698