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

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

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native 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 _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray, L ist<int> native "*Uint8ClampedArray" { 2 class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray, L ist<int> native "*Uint8ClampedArray" {
3 3
4 factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length) ; 4 factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length) ;
5 5
6 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA rray(list); 6 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA rray(list);
7 7
8 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl ampedArray(buffer); 8 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl ampedArray(buffer);
9 9
10 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray( arg);'; 10 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray( arg);';
11 11
12 int get length() native "return this.length;"; 12 final int length;
13 13
14 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native; 14 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native;
15 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698