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

Unified Diff: client/dom/generated/wrapping_dom.js

Side-by-side diff isn't available for this file because of its large size.
Issue 8889001: Implement typed array constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: client/dom/generated/wrapping_dom.js
diff --git a/client/dom/generated/wrapping_dom.js b/client/dom/generated/wrapping_dom.js
index e3b79ba534ebb890c1976cdb1719f55365abe029..9561334309ee475a9ea44ad6fc7d3619db470ee7 100644
--- a/client/dom/generated/wrapping_dom.js
+++ b/client/dom/generated/wrapping_dom.js
@@ -7382,6 +7382,22 @@ function native__Float32ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Float32ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Float32ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Float32ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -7406,6 +7422,22 @@ function native__Float64ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Float64ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Float64ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Float64ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -16542,6 +16574,22 @@ function native__Int16ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Int16ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Int16ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Int16ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -16566,6 +16614,22 @@ function native__Int32ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Int32ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Int32ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Int32ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -16590,6 +16654,22 @@ function native__Int8ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Int8ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Int8ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Int8ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -30070,6 +30150,22 @@ function native__Uint16ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Uint16ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Uint16ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Uint16ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -30094,6 +30190,22 @@ function native__Uint32ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Uint32ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Uint32ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Uint32ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -30118,6 +30230,22 @@ function native__Uint8ArrayWrappingImplementation__get_length(_this) {
}
}
+function native__Uint8ArrayWrappingImplementation__index(_this, index) {
+ try {
+ return __dom_wrap(_this.$dom[index]);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__Uint8ArrayWrappingImplementation__set_index(_this, index, value) {
+ try {
+ return _this.$dom[index] = __dom_unwrap(value);
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__Uint8ArrayWrappingImplementation__subarray(_this, start) {
try {
return __dom_wrap(_this.$dom.subarray(__dom_unwrap(start)));
@@ -33497,6 +33625,71 @@ function native__FileReaderFactoryProvider_create() {
}
}
+function native__TypedArrayFactoryProvider__F32(arg) {
+ try {
+ return __dom_wrap(new Float32Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__TypedArrayFactoryProvider__F64(arg) {
+ try {
+ return __dom_wrap(new Float64Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__TypedArrayFactoryProvider__I8(arg) {
+ try {
+ return __dom_wrap(new Int8Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__TypedArrayFactoryProvider__I16(arg) {
+ try {
+ return __dom_wrap(new Int16Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__TypedArrayFactoryProvider__I32(arg) {
+ try {
+ return __dom_wrap(new Int32Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__TypedArrayFactoryProvider__U8(arg) {
+ try {
+ return __dom_wrap(new Uint8Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__TypedArrayFactoryProvider__U16(arg) {
+ try {
+ return __dom_wrap(new Uint16Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+function native__TypedArrayFactoryProvider__U32(arg) {
+ try {
+ return __dom_wrap(new Uint32Array(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
+
function native__WebKitCSSMatrixFactoryProvider_create(spec) {
try {
return __dom_wrap(new WebKitCSSMatrix(spec)); // string doesn't need unwrap.
« no previous file with comments | « client/dom/generated/src/wrapping/_Uint8ArrayWrappingImplementation.dart ('k') | client/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698