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

Side by Side Diff: client/dom/generated/src/wrapping/_Uint8ClampedArrayWrappingImplementation.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 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 class _Uint8ClampedArrayWrappingImplementation extends _Uint8ArrayWrappingImplem entation implements Uint8ClampedArray { 7 class _Uint8ClampedArrayWrappingImplementation extends _Uint8ArrayWrappingImplem entation implements Uint8ClampedArray {
8 _Uint8ClampedArrayWrappingImplementation() : super() {} 8 _Uint8ClampedArrayWrappingImplementation() : super() {}
9 9
10 static create__Uint8ClampedArrayWrappingImplementation() native { 10 static create__Uint8ClampedArrayWrappingImplementation() native {
11 return new _Uint8ClampedArrayWrappingImplementation(); 11 return new _Uint8ClampedArrayWrappingImplementation();
12 } 12 }
13 13
14 int get length() { return _get_length_Uint8ClampedArray(this); } 14 int get length() { return _get_length_Uint8ClampedArray(this); }
15 static int _get_length_Uint8ClampedArray(var _this) native; 15 static int _get_length_Uint8ClampedArray(var _this) native;
16 16
17 void setElements(Object array, [int offset = null]) {
18 if (offset === null) {
19 _setElements(this, array);
20 return;
21 } else {
22 _setElements_2(this, array, offset);
23 return;
24 }
25 }
26 static void _setElements(receiver, array) native;
27 static void _setElements_2(receiver, array, offset) native;
28
17 Uint8ClampedArray subarray(int start, [int end = null]) { 29 Uint8ClampedArray subarray(int start, [int end = null]) {
18 if (end === null) { 30 if (end === null) {
19 return _subarray_Uint8ClampedArray(this, start); 31 return _subarray_Uint8ClampedArray(this, start);
20 } else { 32 } else {
21 return _subarray_Uint8ClampedArray_2(this, start, end); 33 return _subarray_Uint8ClampedArray_2(this, start, end);
22 } 34 }
23 } 35 }
24 static Uint8ClampedArray _subarray_Uint8ClampedArray(receiver, start) native; 36 static Uint8ClampedArray _subarray_Uint8ClampedArray(receiver, start) native;
25 static Uint8ClampedArray _subarray_Uint8ClampedArray_2(receiver, start, end) n ative; 37 static Uint8ClampedArray _subarray_Uint8ClampedArray_2(receiver, start, end) n ative;
26 38
27 String get typeName() { return "Uint8ClampedArray"; } 39 String get typeName() { return "Uint8ClampedArray"; }
28 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698