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

Side by Side Diff: client/html/generated/html/dartium/Uint8ClampedArray.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
(Empty)
1
2 class _Uint8ClampedArrayImpl extends _Uint8ArrayImpl implements Uint8ClampedArra y, List<int> {
3 _Uint8ClampedArrayImpl._wrap(ptr) : super._wrap(ptr);
4
5 int get length() => _wrap(_ptr.length);
6
7 Uint8ClampedArray subarray(int start, [int end = null]) {
8 if (end === null) {
9 return _wrap(_ptr.subarray(_unwrap(start)));
10 } else {
11 return _wrap(_ptr.subarray(_unwrap(start), _unwrap(end)));
12 }
13 }
14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698