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

Unified Diff: client/dom/generated/src/frog/Uint8ClampedArray.dart

Issue 9264057: Refresh dart:dom libraries from WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't re-implement List<>, causes code that dartc rejects due to static 'override' Created 8 years, 11 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:
View side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/frog/Uint8ClampedArray.dart
diff --git a/client/dom/generated/src/frog/Uint8ClampedArray.dart b/client/dom/generated/src/frog/Uint8ClampedArray.dart
new file mode 100644
index 0000000000000000000000000000000000000000..2236e164828491bfaa8c63b842abc25bf45fbe71
--- /dev/null
+++ b/client/dom/generated/src/frog/Uint8ClampedArray.dart
@@ -0,0 +1,15 @@
+
+class Uint8ClampedArrayJs extends Uint8ArrayJs implements Uint8ClampedArray, List<int> native "*Uint8ClampedArray" {
+
+ factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length);
+
+ factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedArray(list);
+
+ factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8ClampedArray(buffer);
+
+ static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray(arg);';
+
+ int get length() native "return this.length;";
+
+ Uint8ClampedArrayJs subarray(int start, [int end = null]) native;
+}

Powered by Google App Engine
This is Rietveld 408576698