| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index e3cb599d9d5d8b904cf0909b5d3cf67adbd53987..eddf277df3175be675966dc899812c47952adad0 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -6923,7 +6923,7 @@ class DivElement extends _Element_Merged {
|
| * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connect-dart-html/).
|
| */
|
| @DomName('Document')
|
| -class Document extends Node
|
| +class Document extends Node
|
| {
|
|
|
| Document.internal() : super.internal();
|
| @@ -8851,19 +8851,19 @@ class _ChildrenElementList implements List {
|
| }
|
|
|
| void removeAll(Iterable elements) {
|
| - Collections.removeAll(this, elements);
|
| + IterableMixinWorkaround.removeAll(this, elements);
|
| }
|
|
|
| void retainAll(Iterable elements) {
|
| - Collections.retainAll(this, elements);
|
| + IterableMixinWorkaround.retainAll(this, elements);
|
| }
|
|
|
| void removeMatching(bool test(Element element)) {
|
| - Collections.removeMatching(this, test);
|
| + IterableMixinWorkaround.removeMatching(this, test);
|
| }
|
|
|
| void retainMatching(bool test(Element element)) {
|
| - Collections.retainMatching(this, test);
|
| + IterableMixinWorkaround.retainMatching(this, test);
|
| }
|
|
|
| void removeRange(int start, int rangeLength) {
|
| @@ -11985,7 +11985,7 @@ class Float32Array extends ArrayBufferView implements List<num> {
|
| factory Float32Array.fromList(List<num> list) =>
|
| _TypedArrayFactoryProvider.createFloat32Array_fromList(list);
|
|
|
| - factory Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createFloat32Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 4;
|
| @@ -12202,7 +12202,7 @@ class Float64Array extends ArrayBufferView implements List<num> {
|
| factory Float64Array.fromList(List<num> list) =>
|
| _TypedArrayFactoryProvider.createFloat64Array_fromList(list);
|
|
|
| - factory Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createFloat64Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 8;
|
| @@ -15056,7 +15056,7 @@ class Int16Array extends ArrayBufferView implements List<int> {
|
| factory Int16Array.fromList(List<int> list) =>
|
| _TypedArrayFactoryProvider.createInt16Array_fromList(list);
|
|
|
| - factory Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createInt16Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 2;
|
| @@ -15273,7 +15273,7 @@ class Int32Array extends ArrayBufferView implements List<int> {
|
| factory Int32Array.fromList(List<int> list) =>
|
| _TypedArrayFactoryProvider.createInt32Array_fromList(list);
|
|
|
| - factory Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createInt32Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 4;
|
| @@ -15490,7 +15490,7 @@ class Int8Array extends ArrayBufferView implements List<int> {
|
| factory Int8Array.fromList(List<int> list) =>
|
| _TypedArrayFactoryProvider.createInt8Array_fromList(list);
|
|
|
| - factory Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createInt8Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 1;
|
| @@ -24910,7 +24910,7 @@ class Uint16Array extends ArrayBufferView implements List<int> {
|
| factory Uint16Array.fromList(List<int> list) =>
|
| _TypedArrayFactoryProvider.createUint16Array_fromList(list);
|
|
|
| - factory Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createUint16Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 2;
|
| @@ -25127,7 +25127,7 @@ class Uint32Array extends ArrayBufferView implements List<int> {
|
| factory Uint32Array.fromList(List<int> list) =>
|
| _TypedArrayFactoryProvider.createUint32Array_fromList(list);
|
|
|
| - factory Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createUint32Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 4;
|
| @@ -25344,7 +25344,7 @@ class Uint8Array extends ArrayBufferView implements List<int> {
|
| factory Uint8Array.fromList(List<int> list) =>
|
| _TypedArrayFactoryProvider.createUint8Array_fromList(list);
|
|
|
| - factory Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createUint8Array_fromBuffer(buffer, byteOffset, length);
|
|
|
| static const int BYTES_PER_ELEMENT = 1;
|
| @@ -25561,7 +25561,7 @@ class Uint8ClampedArray extends Uint8Array implements List<int> {
|
| factory Uint8ClampedArray.fromList(List<int> list) =>
|
| _TypedArrayFactoryProvider.createUint8ClampedArray_fromList(list);
|
|
|
| - factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| + factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
|
| _TypedArrayFactoryProvider.createUint8ClampedArray_fromBuffer(buffer, byteOffset, length);
|
|
|
| @DomName('Uint8ClampedArray.length')
|
| @@ -32571,9 +32571,9 @@ class KeyboardEventController {
|
|
|
|
|
| /**
|
| - * Defines the keycode values for keys that are returned by
|
| + * Defines the keycode values for keys that are returned by
|
| * KeyboardEvent.keyCode.
|
| - *
|
| + *
|
| * Important note: There is substantial divergence in how different browsers
|
| * handle keycodes and their variants in different locales/keyboard layouts. We
|
| * provide these constants to help make code processing keys more readable.
|
| @@ -32581,7 +32581,7 @@ class KeyboardEventController {
|
| abstract class KeyCode {
|
| // These constant names were borrowed from Closure's Keycode enumeration
|
| // class.
|
| - // http://closure-library.googlecode.com/svn/docs/closure_goog_events_keycodes.js.source.html
|
| + // http://closure-library.googlecode.com/svn/docs/closure_goog_events_keycodes.js.source.html
|
| static const int WIN_KEY_FF_LINUX = 0;
|
| static const int MAC_ENTER = 3;
|
| static const int BACKSPACE = 8;
|
| @@ -32776,12 +32776,12 @@ abstract class KeyCode {
|
| (keyCode >= A && keyCode <= Z)) {
|
| return true;
|
| }
|
| -
|
| +
|
| // Safari sends zero key code for non-latin characters.
|
| if (_Device.isWebKit && keyCode == 0) {
|
| return true;
|
| }
|
| -
|
| +
|
| return (keyCode == SPACE || keyCode == QUESTION_MARK || keyCode == NUM_PLUS
|
| || keyCode == NUM_MINUS || keyCode == NUM_PERIOD ||
|
| keyCode == NUM_DIVISION || keyCode == SEMICOLON ||
|
| @@ -34330,7 +34330,7 @@ class FixedSizeListIterator<T> implements Iterator<T> {
|
| final int _length; // Cache array length for faster access.
|
| int _position;
|
| T _current;
|
| -
|
| +
|
| FixedSizeListIterator(List<T> array)
|
| : _array = array,
|
| _position = -1,
|
|
|