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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | sdk/lib/html/dartium/html_dartium.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 988f8c4752215a13e14674514cc7606b3cee9b1e..1ff5ad4464343cd229896a30c3e6378b9ee92576 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -2021,6 +2021,36 @@ class Crypto extends Interceptor native "Crypto" {
@DocsEditable()
+@DomName('Key')
+@Experimental() // untriaged
+class CryptoKey extends Interceptor native "Key" {
+
+ @DomName('Key.algorithm')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final Algorithm algorithm;
+
+ @DomName('Key.extractable')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final bool extractable;
+
+ @DomName('Key.type')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final String type;
+
+ @DomName('Key.usages')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final List<String> usages;
+}
+// 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('CryptoOperation')
@Experimental() // untriaged
class CryptoOperation extends Interceptor native "CryptoOperation" {
@@ -14393,36 +14423,6 @@ class InputMethodContext extends Interceptor native "InputMethodContext" {
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable()
-@DomName('Key')
-@Experimental() // untriaged
-class Key extends Interceptor native "Key" {
-
- @DomName('Key.algorithm')
- @DocsEditable()
- @Experimental() // untriaged
- final Algorithm algorithm;
-
- @DomName('Key.extractable')
- @DocsEditable()
- @Experimental() // untriaged
- final bool extractable;
-
- @DomName('Key.type')
- @DocsEditable()
- @Experimental() // untriaged
- final String type;
-
- @DomName('Key.usages')
- @DocsEditable()
- @Experimental() // untriaged
- final List<String> usages;
-}
-// 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.
-
-
/**
* An event that describes user interaction with the keyboard.
*
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | sdk/lib/html/dartium/html_dartium.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698