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

Side by Side Diff: client/html/generated/html/dartium/ArrayBuffer.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 _ArrayBufferImpl extends _DOMTypeBase implements ArrayBuffer {
3 _ArrayBufferImpl._wrap(ptr) : super._wrap(ptr);
4
5 int get byteLength() => _wrap(_ptr.byteLength);
6
7 ArrayBuffer slice(int begin, [int end = null]) {
8 if (end === null) {
9 return _wrap(_ptr.slice(_unwrap(begin)));
10 } else {
11 return _wrap(_ptr.slice(_unwrap(begin), _unwrap(end)));
12 }
13 }
14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698