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

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

Issue 9453030: Fix for issue 1814 for dart:dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix typo 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
« no previous file with comments | « client/dom/generated/src/frog/Uint32Array.dart ('k') | client/dom/scripts/generator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int> native "*Uint8Array" { 2 class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int> native "*Uint8Array" {
3 3
4 factory Uint8Array(int length) => _construct_Uint8Array(length); 4 factory Uint8Array(int length) => _construct_Uint8Array(length);
5 5
6 factory Uint8Array.fromList(List<int> list) => _construct_Uint8Array(list); 6 factory Uint8Array.fromList(List<int> list) => _construct_Uint8Array(list);
7 7
8 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Array(buf fer); 8 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Array(buf fer);
9 9
10 static _construct_Uint8Array(arg) native 'return new Uint8Array(arg);'; 10 static _construct_Uint8Array(arg) native 'return new Uint8Array(arg);';
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t."); 77 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
78 } 78 }
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 if (offset == null) return this.set(array);
89 return this.set(array, offset);''';
88 90
89 _Uint8ArrayJs subarray(int start, [int end = null]) native; 91 _Uint8ArrayJs subarray(int start, [int end = null]) native;
90 } 92 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/Uint32Array.dart ('k') | client/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698