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

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

Issue 13954014: Add Supported class to dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
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 dd0de2703be0f393892c19a89c9701644549ac19..3d23ddb0808e35bb674171da804877f54327b747 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -522,9 +522,6 @@ class ArrayBuffer extends NativeFieldWrapperClass1 {
@DocsEditable
static ArrayBuffer _create(length) native "ArrayBuffer_constructorCallback";
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
@DomName('ArrayBuffer.byteLength')
@DocsEditable
int get byteLength native "ArrayBuffer_byteLength_Getter";
@@ -33469,6 +33466,14 @@ class _TypedArrayFactoryProvider {
class _TextFactoryProvider {
static Text createText(String data) => document.$dom_createTextNode(data);
}
+// 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.
+
+
+class Supported {
+ static final typeddata = true;
+}
// 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.

Powered by Google App Engine
This is Rietveld 408576698