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

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

Issue 9317046: Make dart:dom implementation types private so they don't muddle the docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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> na tive "*Int8Array" {
3 3
4 factory Int8Array(int length) => _construct_Int8Array(length); 4 factory Int8Array(int length) => _construct_Int8Array(length);
5 5
6 factory Int8Array.fromList(List<int> list) => _construct_Int8Array(list); 6 factory Int8Array.fromList(List<int> list) => _construct_Int8Array(list);
7 7
8 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct_Int8Array(buffe r); 8 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct_Int8Array(buffe r);
9 9
10 static _construct_Int8Array(arg) native 'return new Int8Array(arg);'; 10 static _construct_Int8Array(arg) native 'return new Int8Array(arg);';
11 11
12 static final int BYTES_PER_ELEMENT = 1; 12 static final int BYTES_PER_ELEMENT = 1;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void insertRange(int start, int length, [int initialValue]) { 79 void insertRange(int start, int length, [int initialValue]) {
80 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t."); 80 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
81 } 81 }
82 List<int> getRange(int start, int length) => 82 List<int> getRange(int start, int length) =>
83 _Lists.getRange(this, start, length, <int>[]); 83 _Lists.getRange(this, start, length, <int>[]);
84 84
85 // -- end List<int> mixins. 85 // -- end List<int> mixins.
86 86
87 void setElements(Object array, [int offset = null]) native; 87 void setElements(Object array, [int offset = null]) native;
88 88
89 Int8ArrayJs subarray(int start, [int end = null]) native; 89 _Int8ArrayJs subarray(int start, [int end = null]) native;
90 } 90 }
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