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

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

Issue 9539003: Safely wrap window.top in frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and merge Created 8 years, 9 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 // Use implementation from Uint8Array. 12 // Use implementation from Uint8Array.
13 // final int length; 13 // final int length;
14 14
15 void setElements(Object array, [int offset = null]) native '''
16 if (offset == null) return this.set(array);
17 return this.set(array, offset);''';
18
15 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native; 19 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native;
16 } 20 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/HTMLIFrameElement.dart ('k') | client/dom/generated/src/interface/Uint8ClampedArray.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698