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

Side by Side Diff: client/dom/generated/src/wrapping/_ArrayBufferWrappingImplementation.dart

Issue 8548010: Wrapper dom changes in preparation for SVG (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tweak Created 9 years, 1 month 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 _ArrayBufferWrappingImplementation extends DOMWrapperBase implements Array Buffer { 7 class _ArrayBufferWrappingImplementation extends DOMWrapperBase implements Array Buffer {
8 _ArrayBufferWrappingImplementation() : super() {} 8 _ArrayBufferWrappingImplementation() : super() {}
9 9
10 static create__ArrayBufferWrappingImplementation() native { 10 static create__ArrayBufferWrappingImplementation() native {
11 return new _ArrayBufferWrappingImplementation(); 11 return new _ArrayBufferWrappingImplementation();
12 } 12 }
13 13
14 int get byteLength() { return _get__ArrayBuffer_byteLength(this); } 14 int get byteLength() { return _get_byteLength(this); }
15 static int _get__ArrayBuffer_byteLength(var _this) native; 15 static int _get_byteLength(var _this) native;
16 16
17 ArrayBuffer slice(int begin, [int end = null]) { 17 ArrayBuffer slice(int begin, [int end = null]) {
18 if (end === null) { 18 if (end === null) {
19 return _slice(this, begin); 19 return _slice(this, begin);
20 } else { 20 } else {
21 return _slice_2(this, begin, end); 21 return _slice_2(this, begin, end);
22 } 22 }
23 } 23 }
24 static ArrayBuffer _slice(receiver, begin) native; 24 static ArrayBuffer _slice(receiver, begin) native;
25 static ArrayBuffer _slice_2(receiver, begin, end) native; 25 static ArrayBuffer _slice_2(receiver, begin, end) native;
26 26
27 String get typeName() { return "ArrayBuffer"; } 27 String get typeName() { return "ArrayBuffer"; }
28 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698