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

Unified Diff: client/dom/generated/src/wrapping/_Uint8ArrayWrappingImplementation.dart

Issue 9663027: Remove generated directories with 100s of files. (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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/wrapping/_Uint8ArrayWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_Uint8ArrayWrappingImplementation.dart b/client/dom/generated/src/wrapping/_Uint8ArrayWrappingImplementation.dart
deleted file mode 100644
index 710302810e6e0ceb90ac52b243e752c1bd949ef4..0000000000000000000000000000000000000000
--- a/client/dom/generated/src/wrapping/_Uint8ArrayWrappingImplementation.dart
+++ /dev/null
@@ -1,133 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-class _Uint8ArrayWrappingImplementation extends _ArrayBufferViewWrappingImplementation implements Uint8Array {
- _Uint8ArrayWrappingImplementation() : super() {}
-
- static create__Uint8ArrayWrappingImplementation() native {
- return new _Uint8ArrayWrappingImplementation();
- }
-
- int get length() { return _get_length(this); }
- static int _get_length(var _this) native;
-
- int operator[](int index) { return _index(this, index); }
- static int _index(var _this, int index) native;
-
- void operator[]=(int index, int value) {
- return _set_index(this, index, value);
- }
- static _set_index(_this, index, value) native;
-
- void add(int value) {
- throw new UnsupportedOperationException("Cannot add to immutable List.");
- }
-
- void addLast(int value) {
- throw new UnsupportedOperationException("Cannot add to immutable List.");
- }
-
- void addAll(Collection<int> collection) {
- throw new UnsupportedOperationException("Cannot add to immutable List.");
- }
-
- void sort(int compare(int a, int b)) {
- throw new UnsupportedOperationException("Cannot sort immutable List.");
- }
-
- void copyFrom(List<Object> src, int srcStart, int dstStart, int count) {
- throw new UnsupportedOperationException("This object is immutable.");
- }
-
- int indexOf(int element, [int start = 0]) {
- return _Lists.indexOf(this, element, start, this.length);
- }
-
- int lastIndexOf(int element, [int start = null]) {
- if (start === null) start = length - 1;
- return _Lists.lastIndexOf(this, element, start);
- }
-
- int clear() {
- throw new UnsupportedOperationException("Cannot clear immutable List.");
- }
-
- int removeLast() {
- throw new UnsupportedOperationException("Cannot removeLast on immutable List.");
- }
-
- int last() {
- return this[length - 1];
- }
-
- void forEach(void f(int element)) {
- _Collections.forEach(this, f);
- }
-
- Collection map(f(int element)) {
- return _Collections.map(this, [], f);
- }
-
- Collection<int> filter(bool f(int element)) {
- return _Collections.filter(this, new List<int>(), f);
- }
-
- bool every(bool f(int element)) {
- return _Collections.every(this, f);
- }
-
- bool some(bool f(int element)) {
- return _Collections.some(this, f);
- }
-
- void setRange(int start, int length, List<int> from, [int startFrom]) {
- throw new UnsupportedOperationException("Cannot setRange on immutable List.");
- }
-
- void removeRange(int start, int length) {
- throw new UnsupportedOperationException("Cannot removeRange on immutable List.");
- }
-
- void insertRange(int start, int length, [int initialValue]) {
- throw new UnsupportedOperationException("Cannot insertRange on immutable List.");
- }
-
- List<int> getRange(int start, int length) {
- throw new NotImplementedException();
- }
-
- bool isEmpty() {
- return length == 0;
- }
-
- Iterator<int> iterator() {
- return new _FixedSizeListIterator<int>(this);
- }
-
- void setElements(Object array, [int offset = null]) {
- if (offset === null) {
- _setElements(this, array);
- return;
- } else {
- _setElements_2(this, array, offset);
- return;
- }
- }
- static void _setElements(receiver, array) native;
- static void _setElements_2(receiver, array, offset) native;
-
- Uint8Array subarray(int start, [int end = null]) {
- if (end === null) {
- return _subarray(this, start);
- } else {
- return _subarray_2(this, start, end);
- }
- }
- static Uint8Array _subarray(receiver, start) native;
- static Uint8Array _subarray_2(receiver, start, end) native;
-
- String get typeName() { return "Uint8Array"; }
-}

Powered by Google App Engine
This is Rietveld 408576698