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

Side by Side Diff: client/dom/generated/src/frog/Int8Array.dart

Issue 9271031: Make DOMType the root of DOM implementation types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class Int8ArrayJS extends ArrayBufferViewJS implements Int8Array, List<int> nati ve "*Int8Array" { 2 class Int8ArrayJs extends ArrayBufferViewJs implements Int8Array, List<int> nati ve "*Int8Array" {
3 3
4 factory Int8Array(int length) => _construct(length); 4 factory Int8Array(int length) => _construct(length);
5 5
6 factory Int8Array.fromList(List<int> list) => _construct(list); 6 factory Int8Array.fromList(List<int> list) => _construct(list);
7 7
8 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 8 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9 9
10 static _construct(arg) native 'return new Int8Array(arg);'; 10 static _construct(arg) native 'return new Int8Array(arg);';
11 11
12 static final int BYTES_PER_ELEMENT = 1; 12 static final int BYTES_PER_ELEMENT = 1;
13 13
14 int get length() native "return this.length;"; 14 int get length() native "return this.length;";
15 15
16 int operator[](int index) native; 16 int operator[](int index) native;
17 17
18 void operator[]=(int index, int value) native; 18 void operator[]=(int index, int value) native;
19 19
20 void setElements(Object array, [int offset = null]) native; 20 void setElements(Object array, [int offset = null]) native;
21 21
22 Int8ArrayJS subarray(int start, [int end = null]) native; 22 Int8ArrayJs subarray(int start, [int end = null]) native;
23 } 23 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/Int32Array.dart ('k') | client/dom/generated/src/frog/JavaScriptAudioNode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698