mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:57:35 +00:00
Format all files under the sdk/lib directory.
BUG= R=floitsch@google.com, terry@google.com Review-Url: https://codereview.chromium.org/2822303002 .
This commit is contained in:
parent
b33097b9b4
commit
c890c487fe
|
@ -455,7 +455,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
|
||||
@JSName('getFloat32')
|
||||
@Returns('num')
|
||||
num _getFloat32(int byteOffset, [bool littleEndian]) native ;
|
||||
num _getFloat32(int byteOffset, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Returns the floating point number represented by the eight bytes at
|
||||
|
@ -470,7 +470,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
|
||||
@JSName('getFloat64')
|
||||
@Returns('num')
|
||||
num _getFloat64(int byteOffset, [bool littleEndian]) native ;
|
||||
num _getFloat64(int byteOffset, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Returns the (possibly negative) integer represented by the two bytes at
|
||||
|
@ -487,7 +487,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
|
||||
@JSName('getInt16')
|
||||
@Returns('int')
|
||||
int _getInt16(int byteOffset, [bool littleEndian]) native ;
|
||||
int _getInt16(int byteOffset, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Returns the (possibly negative) integer represented by the four bytes at
|
||||
|
@ -504,7 +504,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
|
||||
@JSName('getInt32')
|
||||
@Returns('int')
|
||||
int _getInt32(int byteOffset, [bool littleEndian]) native ;
|
||||
int _getInt32(int byteOffset, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Returns the (possibly negative) integer represented by the eight bytes at
|
||||
|
@ -528,7 +528,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
* Throws [RangeError] if [byteOffset] is negative, or
|
||||
* greater than or equal to the length of this object.
|
||||
*/
|
||||
int getInt8(int byteOffset) native ;
|
||||
int getInt8(int byteOffset) native;
|
||||
|
||||
/**
|
||||
* Returns the positive integer represented by the two bytes starting
|
||||
|
@ -544,7 +544,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
|
||||
@JSName('getUint16')
|
||||
@Returns('JSUInt31')
|
||||
int _getUint16(int byteOffset, [bool littleEndian]) native ;
|
||||
int _getUint16(int byteOffset, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Returns the positive integer represented by the four bytes starting
|
||||
|
@ -560,7 +560,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
|
||||
@JSName('getUint32')
|
||||
@Returns('JSUInt32')
|
||||
int _getUint32(int byteOffset, [bool littleEndian]) native ;
|
||||
int _getUint32(int byteOffset, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Returns the positive integer represented by the eight bytes starting
|
||||
|
@ -583,7 +583,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
* Throws [RangeError] if [byteOffset] is negative, or
|
||||
* greater than or equal to the length of this object.
|
||||
*/
|
||||
int getUint8(int byteOffset) native ;
|
||||
int getUint8(int byteOffset) native;
|
||||
|
||||
/**
|
||||
* Sets the four bytes starting at the specified [byteOffset] in this
|
||||
|
@ -607,7 +607,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
_setFloat32(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
||||
|
||||
@JSName('setFloat32')
|
||||
void _setFloat32(int byteOffset, num value, [bool littleEndian]) native ;
|
||||
void _setFloat32(int byteOffset, num value, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Sets the eight bytes starting at the specified [byteOffset] in this
|
||||
|
@ -622,7 +622,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
_setFloat64(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
||||
|
||||
@JSName('setFloat64')
|
||||
void _setFloat64(int byteOffset, num value, [bool littleEndian]) native ;
|
||||
void _setFloat64(int byteOffset, num value, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Sets the two bytes starting at the specified [byteOffset] in this
|
||||
|
@ -638,7 +638,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
_setInt16(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
||||
|
||||
@JSName('setInt16')
|
||||
void _setInt16(int byteOffset, int value, [bool littleEndian]) native ;
|
||||
void _setInt16(int byteOffset, int value, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Sets the four bytes starting at the specified [byteOffset] in this
|
||||
|
@ -654,7 +654,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
_setInt32(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
||||
|
||||
@JSName('setInt32')
|
||||
void _setInt32(int byteOffset, int value, [bool littleEndian]) native ;
|
||||
void _setInt32(int byteOffset, int value, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Sets the eight bytes starting at the specified [byteOffset] in this
|
||||
|
@ -679,7 +679,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
* Throws [RangeError] if [byteOffset] is negative, or
|
||||
* greater than or equal to the length of this object.
|
||||
*/
|
||||
void setInt8(int byteOffset, int value) native ;
|
||||
void setInt8(int byteOffset, int value) native;
|
||||
|
||||
/**
|
||||
* Sets the two bytes starting at the specified [byteOffset] in this object
|
||||
|
@ -695,7 +695,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
_setUint16(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
||||
|
||||
@JSName('setUint16')
|
||||
void _setUint16(int byteOffset, int value, [bool littleEndian]) native ;
|
||||
void _setUint16(int byteOffset, int value, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Sets the four bytes starting at the specified [byteOffset] in this object
|
||||
|
@ -711,7 +711,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
_setUint32(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
||||
|
||||
@JSName('setUint32')
|
||||
void _setUint32(int byteOffset, int value, [bool littleEndian]) native ;
|
||||
void _setUint32(int byteOffset, int value, [bool littleEndian]) native;
|
||||
|
||||
/**
|
||||
* Sets the eight bytes starting at the specified [byteOffset] in this object
|
||||
|
@ -736,7 +736,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|||
* Throws [RangeError] if [byteOffset] is negative,
|
||||
* or greater than or equal to the length of this object.
|
||||
*/
|
||||
void setUint8(int byteOffset, int value) native ;
|
||||
void setUint8(int byteOffset, int value) native;
|
||||
|
||||
static NativeByteData _create1(arg) =>
|
||||
JS('NativeByteData', 'new DataView(new ArrayBuffer(#))', arg);
|
||||
|
|
|
@ -871,8 +871,8 @@ abstract class Stream<T> {
|
|||
* In case of a `done` event the future completes with the given
|
||||
* [futureValue].
|
||||
*/
|
||||
Future<E> drain<E>([E futureValue]) => listen(null, cancelOnError: true)
|
||||
.asFuture<E>(futureValue);
|
||||
Future<E> drain<E>([E futureValue]) =>
|
||||
listen(null, cancelOnError: true).asFuture<E>(futureValue);
|
||||
|
||||
/**
|
||||
* Provides at most the first [count] data events of this stream.
|
||||
|
|
|
@ -500,7 +500,8 @@ class _GeneratedStreamImpl<T> extends _StreamImpl<T> {
|
|||
if (_isUsed) throw new StateError("Stream has already been listened to.");
|
||||
_isUsed = true;
|
||||
return new _BufferingStreamSubscription<T>(
|
||||
onData, onError, onDone, cancelOnError).._setPendingEvents(_pending());
|
||||
onData, onError, onDone, cancelOnError)
|
||||
.._setPendingEvents(_pending());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1381,8 +1381,9 @@ class _RootZone extends _Zone {
|
|||
|
||||
ZoneUnaryCallback<R, T> registerUnaryCallback<R, T>(R f(T arg)) => f;
|
||||
|
||||
ZoneBinaryCallback<R, T1, T2>
|
||||
registerBinaryCallback<R, T1, T2>(R f(T1 arg1, T2 arg2)) => f;
|
||||
ZoneBinaryCallback<R, T1, T2> registerBinaryCallback<R, T1, T2>(
|
||||
R f(T1 arg1, T2 arg2)) =>
|
||||
f;
|
||||
|
||||
AsyncError errorCallback(Object error, StackTrace stackTrace) => null;
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ abstract class IterableMixin<E> implements Iterable<E> {
|
|||
|
||||
Iterable<E> where(bool f(E element)) => new WhereIterable<E>(this, f);
|
||||
|
||||
Iterable<T>
|
||||
expand<T>(Iterable<T> f(E element)) => new ExpandIterable<E, T>(this, f);
|
||||
Iterable<T> expand<T>(Iterable<T> f(E element)) =>
|
||||
new ExpandIterable<E, T>(this, f);
|
||||
|
||||
bool contains(Object element) {
|
||||
for (E e in this) {
|
||||
|
|
|
@ -177,8 +177,8 @@ abstract class ListMixin<E> implements List<E> {
|
|||
|
||||
Iterable<T> map<T>(T f(E element)) => new MappedListIterable<E, T>(this, f);
|
||||
|
||||
Iterable<T>
|
||||
expand<T>(Iterable<T> f(E element)) => new ExpandIterable<E, T>(this, f);
|
||||
Iterable<T> expand<T>(Iterable<T> f(E element)) =>
|
||||
new ExpandIterable<E, T>(this, f);
|
||||
|
||||
E reduce(E combine(E previousValue, E element)) {
|
||||
int length = this.length;
|
||||
|
|
|
@ -120,8 +120,8 @@ abstract class SetMixin<E> implements Set<E> {
|
|||
return result;
|
||||
}
|
||||
|
||||
Iterable<T> map<T>(T f(E element)) => new EfficientLengthMappedIterable<E, T>(
|
||||
this, f);
|
||||
Iterable<T> map<T>(T f(E element)) =>
|
||||
new EfficientLengthMappedIterable<E, T>(this, f);
|
||||
|
||||
E get single {
|
||||
if (length > 1) throw IterableElementError.tooMany();
|
||||
|
@ -138,8 +138,8 @@ abstract class SetMixin<E> implements Set<E> {
|
|||
|
||||
Iterable<E> where(bool f(E element)) => new WhereIterable<E>(this, f);
|
||||
|
||||
Iterable<T>
|
||||
expand<T>(Iterable<T> f(E element)) => new ExpandIterable<E, T>(this, f);
|
||||
Iterable<T> expand<T>(Iterable<T> f(E element)) =>
|
||||
new ExpandIterable<E, T>(this, f);
|
||||
|
||||
void forEach(void f(E element)) {
|
||||
for (E element in this) f(element);
|
||||
|
|
|
@ -192,8 +192,8 @@ abstract class Iterable<E> {
|
|||
* print(duplicated); // => [1, 1, 2, 2, 3, 3]
|
||||
*
|
||||
*/
|
||||
Iterable<T>
|
||||
expand<T>(Iterable<T> f(E element)) => new ExpandIterable<E, T>(this, f);
|
||||
Iterable<T> expand<T>(Iterable<T> f(E element)) =>
|
||||
new ExpandIterable<E, T>(this, f);
|
||||
|
||||
/**
|
||||
* Returns true if the collection contains an element equal to [element].
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -270,17 +270,17 @@ class Cursor extends Interceptor {
|
|||
|
||||
@DomName('IDBCursor.advance')
|
||||
@DocsEditable()
|
||||
void advance(int count) native ;
|
||||
void advance(int count) native;
|
||||
|
||||
@DomName('IDBCursor.continuePrimaryKey')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void continuePrimaryKey(Object key, Object primaryKey) native ;
|
||||
void continuePrimaryKey(Object key, Object primaryKey) native;
|
||||
|
||||
@JSName('delete')
|
||||
@DomName('IDBCursor.delete')
|
||||
@DocsEditable()
|
||||
Request _delete() native ;
|
||||
Request _delete() native;
|
||||
|
||||
@DomName('IDBCursor.update')
|
||||
@DocsEditable()
|
||||
|
@ -292,7 +292,7 @@ class Cursor extends Interceptor {
|
|||
@JSName('update')
|
||||
@DomName('IDBCursor.update')
|
||||
@DocsEditable()
|
||||
Request _update_1(value) native ;
|
||||
Request _update_1(value) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -390,7 +390,7 @@ class Database extends EventTarget {
|
|||
}
|
||||
|
||||
@JSName('transaction')
|
||||
Transaction _transaction(stores, mode) native ;
|
||||
Transaction _transaction(stores, mode) native;
|
||||
|
||||
// To suppress missing implicit constructor warnings.
|
||||
factory Database._() {
|
||||
|
@ -461,7 +461,7 @@ class Database extends EventTarget {
|
|||
|
||||
@DomName('IDBDatabase.close')
|
||||
@DocsEditable()
|
||||
void close() native ;
|
||||
void close() native;
|
||||
|
||||
@DomName('IDBDatabase.createObjectStore')
|
||||
@DocsEditable()
|
||||
|
@ -476,15 +476,15 @@ class Database extends EventTarget {
|
|||
@JSName('createObjectStore')
|
||||
@DomName('IDBDatabase.createObjectStore')
|
||||
@DocsEditable()
|
||||
ObjectStore _createObjectStore_1(name, options) native ;
|
||||
ObjectStore _createObjectStore_1(name, options) native;
|
||||
@JSName('createObjectStore')
|
||||
@DomName('IDBDatabase.createObjectStore')
|
||||
@DocsEditable()
|
||||
ObjectStore _createObjectStore_2(name) native ;
|
||||
ObjectStore _createObjectStore_2(name) native;
|
||||
|
||||
@DomName('IDBDatabase.deleteObjectStore')
|
||||
@DocsEditable()
|
||||
void deleteObjectStore(String name) native ;
|
||||
void deleteObjectStore(String name) native;
|
||||
|
||||
/// Stream of `abort` events handled by this [Database].
|
||||
@DomName('IDBDatabase.onabort')
|
||||
|
@ -609,12 +609,12 @@ class IdbFactory extends Interceptor {
|
|||
|
||||
@DomName('IDBFactory.cmp')
|
||||
@DocsEditable()
|
||||
int cmp(Object first, Object second) native ;
|
||||
int cmp(Object first, Object second) native;
|
||||
|
||||
@JSName('deleteDatabase')
|
||||
@DomName('IDBFactory.deleteDatabase')
|
||||
@DocsEditable()
|
||||
OpenDBRequest _deleteDatabase(String name) native ;
|
||||
OpenDBRequest _deleteDatabase(String name) native;
|
||||
|
||||
@JSName('open')
|
||||
@DomName('IDBFactory.open')
|
||||
|
@ -622,7 +622,7 @@ class IdbFactory extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@Creates('Database')
|
||||
OpenDBRequest _open(String name, [int version]) native ;
|
||||
OpenDBRequest _open(String name, [int version]) native;
|
||||
|
||||
@JSName('webkitGetDatabaseNames')
|
||||
@DomName('IDBFactory.webkitGetDatabaseNames')
|
||||
|
@ -633,7 +633,7 @@ class IdbFactory extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@Creates('DomStringList')
|
||||
Request _webkitGetDatabaseNames() native ;
|
||||
Request _webkitGetDatabaseNames() native;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -776,7 +776,7 @@ class Index extends Interceptor {
|
|||
@JSName('count')
|
||||
@DomName('IDBIndex.count')
|
||||
@DocsEditable()
|
||||
Request _count(Object key) native ;
|
||||
Request _count(Object key) native;
|
||||
|
||||
@JSName('get')
|
||||
@DomName('IDBIndex.get')
|
||||
|
@ -784,17 +784,17 @@ class Index extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@annotation_Creates_SerializedScriptValue
|
||||
Request _get(Object key) native ;
|
||||
Request _get(Object key) native;
|
||||
|
||||
@DomName('IDBIndex.getAll')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Request getAll(Object range, [int maxCount]) native ;
|
||||
Request getAll(Object range, [int maxCount]) native;
|
||||
|
||||
@DomName('IDBIndex.getAllKeys')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Request getAllKeys(Object range, [int maxCount]) native ;
|
||||
Request getAllKeys(Object range, [int maxCount]) native;
|
||||
|
||||
@JSName('getKey')
|
||||
@DomName('IDBIndex.getKey')
|
||||
|
@ -803,7 +803,7 @@ class Index extends Interceptor {
|
|||
@Creates('Request')
|
||||
@annotation_Creates_SerializedScriptValue
|
||||
@Creates('ObjectStore')
|
||||
Request _getKey(Object key) native ;
|
||||
Request _getKey(Object key) native;
|
||||
|
||||
@JSName('openCursor')
|
||||
@DomName('IDBIndex.openCursor')
|
||||
|
@ -811,7 +811,7 @@ class Index extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@Creates('Cursor')
|
||||
Request _openCursor(Object range, [String direction]) native ;
|
||||
Request _openCursor(Object range, [String direction]) native;
|
||||
|
||||
@JSName('openKeyCursor')
|
||||
@DomName('IDBIndex.openKeyCursor')
|
||||
|
@ -819,7 +819,7 @@ class Index extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@Creates('Cursor')
|
||||
Request _openKeyCursor(Object range, [String direction]) native ;
|
||||
Request _openKeyCursor(Object range, [String direction]) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -874,22 +874,22 @@ class KeyRange extends Interceptor {
|
|||
@DomName('IDBKeyRange.bound')
|
||||
@DocsEditable()
|
||||
static KeyRange bound_(Object lower, Object upper,
|
||||
[bool lowerOpen, bool upperOpen]) native ;
|
||||
[bool lowerOpen, bool upperOpen]) native;
|
||||
|
||||
@JSName('lowerBound')
|
||||
@DomName('IDBKeyRange.lowerBound')
|
||||
@DocsEditable()
|
||||
static KeyRange lowerBound_(Object bound, [bool open]) native ;
|
||||
static KeyRange lowerBound_(Object bound, [bool open]) native;
|
||||
|
||||
@JSName('only')
|
||||
@DomName('IDBKeyRange.only')
|
||||
@DocsEditable()
|
||||
static KeyRange only_(Object value) native ;
|
||||
static KeyRange only_(Object value) native;
|
||||
|
||||
@JSName('upperBound')
|
||||
@DomName('IDBKeyRange.upperBound')
|
||||
@DocsEditable()
|
||||
static KeyRange upperBound_(Object bound, [bool open]) native ;
|
||||
static KeyRange upperBound_(Object bound, [bool open]) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -1074,24 +1074,24 @@ class ObjectStore extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@_annotation_Creates_IDBKey
|
||||
Request _add_1(value, key) native ;
|
||||
Request _add_1(value, key) native;
|
||||
@JSName('add')
|
||||
@DomName('IDBObjectStore.add')
|
||||
@DocsEditable()
|
||||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@_annotation_Creates_IDBKey
|
||||
Request _add_2(value) native ;
|
||||
Request _add_2(value) native;
|
||||
|
||||
@JSName('clear')
|
||||
@DomName('IDBObjectStore.clear')
|
||||
@DocsEditable()
|
||||
Request _clear() native ;
|
||||
Request _clear() native;
|
||||
|
||||
@JSName('count')
|
||||
@DomName('IDBObjectStore.count')
|
||||
@DocsEditable()
|
||||
Request _count(Object key) native ;
|
||||
Request _count(Object key) native;
|
||||
|
||||
@DomName('IDBObjectStore.createIndex')
|
||||
@DocsEditable()
|
||||
|
@ -1106,20 +1106,20 @@ class ObjectStore extends Interceptor {
|
|||
@JSName('createIndex')
|
||||
@DomName('IDBObjectStore.createIndex')
|
||||
@DocsEditable()
|
||||
Index _createIndex_1(name, keyPath, options) native ;
|
||||
Index _createIndex_1(name, keyPath, options) native;
|
||||
@JSName('createIndex')
|
||||
@DomName('IDBObjectStore.createIndex')
|
||||
@DocsEditable()
|
||||
Index _createIndex_2(name, keyPath) native ;
|
||||
Index _createIndex_2(name, keyPath) native;
|
||||
|
||||
@JSName('delete')
|
||||
@DomName('IDBObjectStore.delete')
|
||||
@DocsEditable()
|
||||
Request _delete(Object key) native ;
|
||||
Request _delete(Object key) native;
|
||||
|
||||
@DomName('IDBObjectStore.deleteIndex')
|
||||
@DocsEditable()
|
||||
void deleteIndex(String name) native ;
|
||||
void deleteIndex(String name) native;
|
||||
|
||||
@JSName('get')
|
||||
@DomName('IDBObjectStore.get')
|
||||
|
@ -1127,21 +1127,21 @@ class ObjectStore extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@annotation_Creates_SerializedScriptValue
|
||||
Request _get(Object key) native ;
|
||||
Request _get(Object key) native;
|
||||
|
||||
@DomName('IDBObjectStore.getAll')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Request getAll(Object range, [int maxCount]) native ;
|
||||
Request getAll(Object range, [int maxCount]) native;
|
||||
|
||||
@DomName('IDBObjectStore.getAllKeys')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Request getAllKeys(Object range, [int maxCount]) native ;
|
||||
Request getAllKeys(Object range, [int maxCount]) native;
|
||||
|
||||
@DomName('IDBObjectStore.index')
|
||||
@DocsEditable()
|
||||
Index index(String name) native ;
|
||||
Index index(String name) native;
|
||||
|
||||
@JSName('openCursor')
|
||||
@DomName('IDBObjectStore.openCursor')
|
||||
|
@ -1149,12 +1149,12 @@ class ObjectStore extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@Creates('Cursor')
|
||||
Request _openCursor(Object range, [String direction]) native ;
|
||||
Request _openCursor(Object range, [String direction]) native;
|
||||
|
||||
@DomName('IDBObjectStore.openKeyCursor')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Request openKeyCursor(Object range, [String direction]) native ;
|
||||
Request openKeyCursor(Object range, [String direction]) native;
|
||||
|
||||
@DomName('IDBObjectStore.put')
|
||||
@DocsEditable()
|
||||
|
@ -1177,14 +1177,14 @@ class ObjectStore extends Interceptor {
|
|||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@_annotation_Creates_IDBKey
|
||||
Request _put_1(value, key) native ;
|
||||
Request _put_1(value, key) native;
|
||||
@JSName('put')
|
||||
@DomName('IDBObjectStore.put')
|
||||
@DocsEditable()
|
||||
@Returns('Request')
|
||||
@Creates('Request')
|
||||
@_annotation_Creates_IDBKey
|
||||
Request _put_2(value) native ;
|
||||
Request _put_2(value) native;
|
||||
|
||||
/**
|
||||
* Helper for iterating over cursors in a request.
|
||||
|
@ -1430,11 +1430,11 @@ class Transaction extends EventTarget {
|
|||
|
||||
@DomName('IDBTransaction.abort')
|
||||
@DocsEditable()
|
||||
void abort() native ;
|
||||
void abort() native;
|
||||
|
||||
@DomName('IDBTransaction.objectStore')
|
||||
@DocsEditable()
|
||||
ObjectStore objectStore(String name) native ;
|
||||
ObjectStore objectStore(String name) native;
|
||||
|
||||
/// Stream of `abort` events handled by this [Transaction].
|
||||
@DomName('IDBTransaction.onabort')
|
||||
|
|
|
@ -121,8 +121,8 @@ class _HttpDetachedStreamSubscription implements StreamSubscription<List<int>> {
|
|||
|
||||
bool get isPaused => _subscription.isPaused;
|
||||
|
||||
Future<T>
|
||||
asFuture<T>([T futureValue]) => _subscription.asFuture<T>(futureValue);
|
||||
Future<T> asFuture<T>([T futureValue]) =>
|
||||
_subscription.asFuture<T>(futureValue);
|
||||
|
||||
Future cancel() {
|
||||
_isCanceled = true;
|
||||
|
@ -199,7 +199,8 @@ class _HttpDetachedIncoming extends Stream<List<int>> {
|
|||
return subscription..resume();
|
||||
}
|
||||
return new _HttpDetachedStreamSubscription(
|
||||
subscription, bufferedData, onData)..resume();
|
||||
subscription, bufferedData, onData)
|
||||
..resume();
|
||||
} else {
|
||||
// TODO(26379): add test for this branch.
|
||||
return new Stream<List<int>>.fromIterable([bufferedData]).listen(onData,
|
||||
|
|
|
@ -117,11 +117,11 @@ class Angle extends Interceptor {
|
|||
|
||||
@DomName('SVGAngle.convertToSpecifiedUnits')
|
||||
@DocsEditable()
|
||||
void convertToSpecifiedUnits(int unitType) native ;
|
||||
void convertToSpecifiedUnits(int unitType) native;
|
||||
|
||||
@DomName('SVGAngle.newValueSpecifiedUnits')
|
||||
@DocsEditable()
|
||||
void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native ;
|
||||
void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -517,31 +517,31 @@ class AnimationElement extends SvgElement implements Tests {
|
|||
|
||||
@DomName('SVGAnimationElement.beginElement')
|
||||
@DocsEditable()
|
||||
void beginElement() native ;
|
||||
void beginElement() native;
|
||||
|
||||
@DomName('SVGAnimationElement.beginElementAt')
|
||||
@DocsEditable()
|
||||
void beginElementAt(num offset) native ;
|
||||
void beginElementAt(num offset) native;
|
||||
|
||||
@DomName('SVGAnimationElement.endElement')
|
||||
@DocsEditable()
|
||||
void endElement() native ;
|
||||
void endElement() native;
|
||||
|
||||
@DomName('SVGAnimationElement.endElementAt')
|
||||
@DocsEditable()
|
||||
void endElementAt(num offset) native ;
|
||||
void endElementAt(num offset) native;
|
||||
|
||||
@DomName('SVGAnimationElement.getCurrentTime')
|
||||
@DocsEditable()
|
||||
double getCurrentTime() native ;
|
||||
double getCurrentTime() native;
|
||||
|
||||
@DomName('SVGAnimationElement.getSimpleDuration')
|
||||
@DocsEditable()
|
||||
double getSimpleDuration() native ;
|
||||
double getSimpleDuration() native;
|
||||
|
||||
@DomName('SVGAnimationElement.getStartTime')
|
||||
@DocsEditable()
|
||||
double getStartTime() native ;
|
||||
double getStartTime() native;
|
||||
|
||||
// From SVGTests
|
||||
|
||||
|
@ -559,7 +559,7 @@ class AnimationElement extends SvgElement implements Tests {
|
|||
|
||||
@DomName('SVGAnimationElement.hasExtension')
|
||||
@DocsEditable()
|
||||
bool hasExtension(String extension) native ;
|
||||
bool hasExtension(String extension) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -1659,7 +1659,7 @@ class FEGaussianBlurElement extends SvgElement
|
|||
|
||||
@DomName('SVGFEGaussianBlurElement.setStdDeviation')
|
||||
@DocsEditable()
|
||||
void setStdDeviation(num stdDeviationX, num stdDeviationY) native ;
|
||||
void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
|
||||
|
||||
// From SVGFilterPrimitiveStandardAttributes
|
||||
|
||||
|
@ -2550,12 +2550,12 @@ class GeometryElement extends GraphicsElement {
|
|||
@DomName('SVGGeometryElement.isPointInFill')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
bool isPointInFill(Point point) native ;
|
||||
bool isPointInFill(Point point) native;
|
||||
|
||||
@DomName('SVGGeometryElement.isPointInStroke')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
bool isPointInStroke(Point point) native ;
|
||||
bool isPointInStroke(Point point) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -2595,24 +2595,24 @@ class GraphicsElement extends SvgElement implements Tests {
|
|||
@DomName('SVGGraphicsElement.getBBox')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Rect getBBox() native ;
|
||||
Rect getBBox() native;
|
||||
|
||||
@JSName('getCTM')
|
||||
@DomName('SVGGraphicsElement.getCTM')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Matrix getCtm() native ;
|
||||
Matrix getCtm() native;
|
||||
|
||||
@JSName('getScreenCTM')
|
||||
@DomName('SVGGraphicsElement.getScreenCTM')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Matrix getScreenCtm() native ;
|
||||
Matrix getScreenCtm() native;
|
||||
|
||||
@DomName('SVGGraphicsElement.getTransformToElement')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Matrix getTransformToElement(SvgElement element) native ;
|
||||
Matrix getTransformToElement(SvgElement element) native;
|
||||
|
||||
// From SVGTests
|
||||
|
||||
|
@ -2634,7 +2634,7 @@ class GraphicsElement extends SvgElement implements Tests {
|
|||
@DomName('SVGGraphicsElement.hasExtension')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
bool hasExtension(String extension) native ;
|
||||
bool hasExtension(String extension) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -2763,11 +2763,11 @@ class Length extends Interceptor {
|
|||
|
||||
@DomName('SVGLength.convertToSpecifiedUnits')
|
||||
@DocsEditable()
|
||||
void convertToSpecifiedUnits(int unitType) native ;
|
||||
void convertToSpecifiedUnits(int unitType) native;
|
||||
|
||||
@DomName('SVGLength.newValueSpecifiedUnits')
|
||||
@DocsEditable()
|
||||
void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native ;
|
||||
void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -2840,35 +2840,35 @@ class LengthList extends Interceptor
|
|||
@DomName('SVGLengthList.__setter__')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void __setter__(int index, Length newItem) native ;
|
||||
void __setter__(int index, Length newItem) native;
|
||||
|
||||
@DomName('SVGLengthList.appendItem')
|
||||
@DocsEditable()
|
||||
Length appendItem(Length newItem) native ;
|
||||
Length appendItem(Length newItem) native;
|
||||
|
||||
@DomName('SVGLengthList.clear')
|
||||
@DocsEditable()
|
||||
void clear() native ;
|
||||
void clear() native;
|
||||
|
||||
@DomName('SVGLengthList.getItem')
|
||||
@DocsEditable()
|
||||
Length getItem(int index) native ;
|
||||
Length getItem(int index) native;
|
||||
|
||||
@DomName('SVGLengthList.initialize')
|
||||
@DocsEditable()
|
||||
Length initialize(Length newItem) native ;
|
||||
Length initialize(Length newItem) native;
|
||||
|
||||
@DomName('SVGLengthList.insertItemBefore')
|
||||
@DocsEditable()
|
||||
Length insertItemBefore(Length newItem, int index) native ;
|
||||
Length insertItemBefore(Length newItem, int index) native;
|
||||
|
||||
@DomName('SVGLengthList.removeItem')
|
||||
@DocsEditable()
|
||||
Length removeItem(int index) native ;
|
||||
Length removeItem(int index) native;
|
||||
|
||||
@DomName('SVGLengthList.replaceItem')
|
||||
@DocsEditable()
|
||||
Length replaceItem(Length newItem, int index) native ;
|
||||
Length replaceItem(Length newItem, int index) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -3031,11 +3031,11 @@ class MarkerElement extends SvgElement implements FitToViewBox {
|
|||
|
||||
@DomName('SVGMarkerElement.setOrientToAngle')
|
||||
@DocsEditable()
|
||||
void setOrientToAngle(Angle angle) native ;
|
||||
void setOrientToAngle(Angle angle) native;
|
||||
|
||||
@DomName('SVGMarkerElement.setOrientToAuto')
|
||||
@DocsEditable()
|
||||
void setOrientToAuto() native ;
|
||||
void setOrientToAuto() native;
|
||||
|
||||
// From SVGFitToViewBox
|
||||
|
||||
|
@ -3112,7 +3112,7 @@ class MaskElement extends SvgElement implements Tests {
|
|||
|
||||
@DomName('SVGMaskElement.hasExtension')
|
||||
@DocsEditable()
|
||||
bool hasExtension(String extension) native ;
|
||||
bool hasExtension(String extension) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -3154,47 +3154,47 @@ class Matrix extends Interceptor {
|
|||
|
||||
@DomName('SVGMatrix.flipX')
|
||||
@DocsEditable()
|
||||
Matrix flipX() native ;
|
||||
Matrix flipX() native;
|
||||
|
||||
@DomName('SVGMatrix.flipY')
|
||||
@DocsEditable()
|
||||
Matrix flipY() native ;
|
||||
Matrix flipY() native;
|
||||
|
||||
@DomName('SVGMatrix.inverse')
|
||||
@DocsEditable()
|
||||
Matrix inverse() native ;
|
||||
Matrix inverse() native;
|
||||
|
||||
@DomName('SVGMatrix.multiply')
|
||||
@DocsEditable()
|
||||
Matrix multiply(Matrix secondMatrix) native ;
|
||||
Matrix multiply(Matrix secondMatrix) native;
|
||||
|
||||
@DomName('SVGMatrix.rotate')
|
||||
@DocsEditable()
|
||||
Matrix rotate(num angle) native ;
|
||||
Matrix rotate(num angle) native;
|
||||
|
||||
@DomName('SVGMatrix.rotateFromVector')
|
||||
@DocsEditable()
|
||||
Matrix rotateFromVector(num x, num y) native ;
|
||||
Matrix rotateFromVector(num x, num y) native;
|
||||
|
||||
@DomName('SVGMatrix.scale')
|
||||
@DocsEditable()
|
||||
Matrix scale(num scaleFactor) native ;
|
||||
Matrix scale(num scaleFactor) native;
|
||||
|
||||
@DomName('SVGMatrix.scaleNonUniform')
|
||||
@DocsEditable()
|
||||
Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native ;
|
||||
Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native;
|
||||
|
||||
@DomName('SVGMatrix.skewX')
|
||||
@DocsEditable()
|
||||
Matrix skewX(num angle) native ;
|
||||
Matrix skewX(num angle) native;
|
||||
|
||||
@DomName('SVGMatrix.skewY')
|
||||
@DocsEditable()
|
||||
Matrix skewY(num angle) native ;
|
||||
Matrix skewY(num angle) native;
|
||||
|
||||
@DomName('SVGMatrix.translate')
|
||||
@DocsEditable()
|
||||
Matrix translate(num x, num y) native ;
|
||||
Matrix translate(num x, num y) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -3305,35 +3305,35 @@ class NumberList extends Interceptor
|
|||
@DomName('SVGNumberList.__setter__')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void __setter__(int index, Number newItem) native ;
|
||||
void __setter__(int index, Number newItem) native;
|
||||
|
||||
@DomName('SVGNumberList.appendItem')
|
||||
@DocsEditable()
|
||||
Number appendItem(Number newItem) native ;
|
||||
Number appendItem(Number newItem) native;
|
||||
|
||||
@DomName('SVGNumberList.clear')
|
||||
@DocsEditable()
|
||||
void clear() native ;
|
||||
void clear() native;
|
||||
|
||||
@DomName('SVGNumberList.getItem')
|
||||
@DocsEditable()
|
||||
Number getItem(int index) native ;
|
||||
Number getItem(int index) native;
|
||||
|
||||
@DomName('SVGNumberList.initialize')
|
||||
@DocsEditable()
|
||||
Number initialize(Number newItem) native ;
|
||||
Number initialize(Number newItem) native;
|
||||
|
||||
@DomName('SVGNumberList.insertItemBefore')
|
||||
@DocsEditable()
|
||||
Number insertItemBefore(Number newItem, int index) native ;
|
||||
Number insertItemBefore(Number newItem, int index) native;
|
||||
|
||||
@DomName('SVGNumberList.removeItem')
|
||||
@DocsEditable()
|
||||
Number removeItem(int index) native ;
|
||||
Number removeItem(int index) native;
|
||||
|
||||
@DomName('SVGNumberList.replaceItem')
|
||||
@DocsEditable()
|
||||
Number replaceItem(Number newItem, int index) native ;
|
||||
Number replaceItem(Number newItem, int index) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -3384,118 +3384,118 @@ class PathElement extends GeometryElement {
|
|||
@DomName('SVGPathElement.createSVGPathSegArcAbs')
|
||||
@DocsEditable()
|
||||
PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle,
|
||||
bool largeArcFlag, bool sweepFlag) native ;
|
||||
bool largeArcFlag, bool sweepFlag) native;
|
||||
|
||||
@JSName('createSVGPathSegArcRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegArcRel')
|
||||
@DocsEditable()
|
||||
PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle,
|
||||
bool largeArcFlag, bool sweepFlag) native ;
|
||||
bool largeArcFlag, bool sweepFlag) native;
|
||||
|
||||
@JSName('createSVGPathSegClosePath')
|
||||
@DomName('SVGPathElement.createSVGPathSegClosePath')
|
||||
@DocsEditable()
|
||||
PathSegClosePath createSvgPathSegClosePath() native ;
|
||||
PathSegClosePath createSvgPathSegClosePath() native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoCubicAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicAbs')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(
|
||||
num x, num y, num x1, num y1, num x2, num y2) native ;
|
||||
num x, num y, num x1, num y1, num x2, num y2) native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoCubicRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicRel')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(
|
||||
num x, num y, num x1, num y1, num x2, num y2) native ;
|
||||
num x, num y, num x1, num y1, num x2, num y2) native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoCubicSmoothAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(
|
||||
num x, num y, num x2, num y2) native ;
|
||||
num x, num y, num x2, num y2) native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoCubicSmoothRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(
|
||||
num x, num y, num x2, num y2) native ;
|
||||
num x, num y, num x2, num y2) native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoQuadraticAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticAbs')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(
|
||||
num x, num y, num x1, num y1) native ;
|
||||
num x, num y, num x1, num y1) native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoQuadraticRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticRel')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(
|
||||
num x, num y, num x1, num y1) native ;
|
||||
num x, num y, num x1, num y1) native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoQuadraticSmoothAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(
|
||||
num x, num y) native ;
|
||||
num x, num y) native;
|
||||
|
||||
@JSName('createSVGPathSegCurvetoQuadraticSmoothRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel')
|
||||
@DocsEditable()
|
||||
PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(
|
||||
num x, num y) native ;
|
||||
num x, num y) native;
|
||||
|
||||
@JSName('createSVGPathSegLinetoAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegLinetoAbs')
|
||||
@DocsEditable()
|
||||
PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native ;
|
||||
PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native;
|
||||
|
||||
@JSName('createSVGPathSegLinetoHorizontalAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegLinetoHorizontalAbs')
|
||||
@DocsEditable()
|
||||
PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native ;
|
||||
PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native;
|
||||
|
||||
@JSName('createSVGPathSegLinetoHorizontalRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegLinetoHorizontalRel')
|
||||
@DocsEditable()
|
||||
PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native ;
|
||||
PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native;
|
||||
|
||||
@JSName('createSVGPathSegLinetoRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegLinetoRel')
|
||||
@DocsEditable()
|
||||
PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native ;
|
||||
PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native;
|
||||
|
||||
@JSName('createSVGPathSegLinetoVerticalAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegLinetoVerticalAbs')
|
||||
@DocsEditable()
|
||||
PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native ;
|
||||
PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native;
|
||||
|
||||
@JSName('createSVGPathSegLinetoVerticalRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegLinetoVerticalRel')
|
||||
@DocsEditable()
|
||||
PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native ;
|
||||
PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native;
|
||||
|
||||
@JSName('createSVGPathSegMovetoAbs')
|
||||
@DomName('SVGPathElement.createSVGPathSegMovetoAbs')
|
||||
@DocsEditable()
|
||||
PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native ;
|
||||
PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native;
|
||||
|
||||
@JSName('createSVGPathSegMovetoRel')
|
||||
@DomName('SVGPathElement.createSVGPathSegMovetoRel')
|
||||
@DocsEditable()
|
||||
PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native ;
|
||||
PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native;
|
||||
|
||||
@DomName('SVGPathElement.getPathSegAtLength')
|
||||
@DocsEditable()
|
||||
int getPathSegAtLength(num distance) native ;
|
||||
int getPathSegAtLength(num distance) native;
|
||||
|
||||
@DomName('SVGPathElement.getPointAtLength')
|
||||
@DocsEditable()
|
||||
Point getPointAtLength(num distance) native ;
|
||||
Point getPointAtLength(num distance) native;
|
||||
|
||||
@DomName('SVGPathElement.getTotalLength')
|
||||
@DocsEditable()
|
||||
double getTotalLength() native ;
|
||||
double getTotalLength() native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -4124,35 +4124,35 @@ class PathSegList extends Interceptor
|
|||
@DomName('SVGPathSegList.__setter__')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void __setter__(int index, PathSeg newItem) native ;
|
||||
void __setter__(int index, PathSeg newItem) native;
|
||||
|
||||
@DomName('SVGPathSegList.appendItem')
|
||||
@DocsEditable()
|
||||
PathSeg appendItem(PathSeg newItem) native ;
|
||||
PathSeg appendItem(PathSeg newItem) native;
|
||||
|
||||
@DomName('SVGPathSegList.clear')
|
||||
@DocsEditable()
|
||||
void clear() native ;
|
||||
void clear() native;
|
||||
|
||||
@DomName('SVGPathSegList.getItem')
|
||||
@DocsEditable()
|
||||
PathSeg getItem(int index) native ;
|
||||
PathSeg getItem(int index) native;
|
||||
|
||||
@DomName('SVGPathSegList.initialize')
|
||||
@DocsEditable()
|
||||
PathSeg initialize(PathSeg newItem) native ;
|
||||
PathSeg initialize(PathSeg newItem) native;
|
||||
|
||||
@DomName('SVGPathSegList.insertItemBefore')
|
||||
@DocsEditable()
|
||||
PathSeg insertItemBefore(PathSeg newItem, int index) native ;
|
||||
PathSeg insertItemBefore(PathSeg newItem, int index) native;
|
||||
|
||||
@DomName('SVGPathSegList.removeItem')
|
||||
@DocsEditable()
|
||||
PathSeg removeItem(int index) native ;
|
||||
PathSeg removeItem(int index) native;
|
||||
|
||||
@DomName('SVGPathSegList.replaceItem')
|
||||
@DocsEditable()
|
||||
PathSeg replaceItem(PathSeg newItem, int index) native ;
|
||||
PathSeg replaceItem(PathSeg newItem, int index) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -4278,7 +4278,7 @@ class PatternElement extends SvgElement
|
|||
|
||||
@DomName('SVGPatternElement.hasExtension')
|
||||
@DocsEditable()
|
||||
bool hasExtension(String extension) native ;
|
||||
bool hasExtension(String extension) native;
|
||||
|
||||
// From SVGURIReference
|
||||
|
||||
|
@ -4310,7 +4310,7 @@ class Point extends Interceptor {
|
|||
|
||||
@DomName('SVGPoint.matrixTransform')
|
||||
@DocsEditable()
|
||||
Point matrixTransform(Matrix matrix) native ;
|
||||
Point matrixTransform(Matrix matrix) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -4338,35 +4338,35 @@ class PointList extends Interceptor {
|
|||
@DomName('SVGPointList.__setter__')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void __setter__(int index, Point newItem) native ;
|
||||
void __setter__(int index, Point newItem) native;
|
||||
|
||||
@DomName('SVGPointList.appendItem')
|
||||
@DocsEditable()
|
||||
Point appendItem(Point newItem) native ;
|
||||
Point appendItem(Point newItem) native;
|
||||
|
||||
@DomName('SVGPointList.clear')
|
||||
@DocsEditable()
|
||||
void clear() native ;
|
||||
void clear() native;
|
||||
|
||||
@DomName('SVGPointList.getItem')
|
||||
@DocsEditable()
|
||||
Point getItem(int index) native ;
|
||||
Point getItem(int index) native;
|
||||
|
||||
@DomName('SVGPointList.initialize')
|
||||
@DocsEditable()
|
||||
Point initialize(Point newItem) native ;
|
||||
Point initialize(Point newItem) native;
|
||||
|
||||
@DomName('SVGPointList.insertItemBefore')
|
||||
@DocsEditable()
|
||||
Point insertItemBefore(Point newItem, int index) native ;
|
||||
Point insertItemBefore(Point newItem, int index) native;
|
||||
|
||||
@DomName('SVGPointList.removeItem')
|
||||
@DocsEditable()
|
||||
Point removeItem(int index) native ;
|
||||
Point removeItem(int index) native;
|
||||
|
||||
@DomName('SVGPointList.replaceItem')
|
||||
@DocsEditable()
|
||||
Point replaceItem(Point newItem, int index) native ;
|
||||
Point replaceItem(Point newItem, int index) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -4809,35 +4809,35 @@ class StringList extends Interceptor
|
|||
@DomName('SVGStringList.__setter__')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void __setter__(int index, String newItem) native ;
|
||||
void __setter__(int index, String newItem) native;
|
||||
|
||||
@DomName('SVGStringList.appendItem')
|
||||
@DocsEditable()
|
||||
String appendItem(String newItem) native ;
|
||||
String appendItem(String newItem) native;
|
||||
|
||||
@DomName('SVGStringList.clear')
|
||||
@DocsEditable()
|
||||
void clear() native ;
|
||||
void clear() native;
|
||||
|
||||
@DomName('SVGStringList.getItem')
|
||||
@DocsEditable()
|
||||
String getItem(int index) native ;
|
||||
String getItem(int index) native;
|
||||
|
||||
@DomName('SVGStringList.initialize')
|
||||
@DocsEditable()
|
||||
String initialize(String newItem) native ;
|
||||
String initialize(String newItem) native;
|
||||
|
||||
@DomName('SVGStringList.insertItemBefore')
|
||||
@DocsEditable()
|
||||
String insertItemBefore(String item, int index) native ;
|
||||
String insertItemBefore(String item, int index) native;
|
||||
|
||||
@DomName('SVGStringList.removeItem')
|
||||
@DocsEditable()
|
||||
String removeItem(int index) native ;
|
||||
String removeItem(int index) native;
|
||||
|
||||
@DomName('SVGStringList.replaceItem')
|
||||
@DocsEditable()
|
||||
String replaceItem(String newItem, int index) native ;
|
||||
String replaceItem(String newItem, int index) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -5373,12 +5373,12 @@ class SvgElement extends Element implements GlobalEventHandlers {
|
|||
@DomName('SVGElement.blur')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void blur() native ;
|
||||
void blur() native;
|
||||
|
||||
@DomName('SVGElement.focus')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void focus() native ;
|
||||
void focus() native;
|
||||
|
||||
@DomName('SVGElement.onabort')
|
||||
@DocsEditable()
|
||||
|
@ -5728,108 +5728,107 @@ class SvgSvgElement extends GraphicsElement
|
|||
|
||||
@DomName('SVGSVGElement.animationsPaused')
|
||||
@DocsEditable()
|
||||
bool animationsPaused() native ;
|
||||
bool animationsPaused() native;
|
||||
|
||||
@DomName('SVGSVGElement.checkEnclosure')
|
||||
@DocsEditable()
|
||||
bool checkEnclosure(SvgElement element, Rect rect) native ;
|
||||
bool checkEnclosure(SvgElement element, Rect rect) native;
|
||||
|
||||
@DomName('SVGSVGElement.checkIntersection')
|
||||
@DocsEditable()
|
||||
bool checkIntersection(SvgElement element, Rect rect) native ;
|
||||
bool checkIntersection(SvgElement element, Rect rect) native;
|
||||
|
||||
@JSName('createSVGAngle')
|
||||
@DomName('SVGSVGElement.createSVGAngle')
|
||||
@DocsEditable()
|
||||
Angle createSvgAngle() native ;
|
||||
Angle createSvgAngle() native;
|
||||
|
||||
@JSName('createSVGLength')
|
||||
@DomName('SVGSVGElement.createSVGLength')
|
||||
@DocsEditable()
|
||||
Length createSvgLength() native ;
|
||||
Length createSvgLength() native;
|
||||
|
||||
@JSName('createSVGMatrix')
|
||||
@DomName('SVGSVGElement.createSVGMatrix')
|
||||
@DocsEditable()
|
||||
Matrix createSvgMatrix() native ;
|
||||
Matrix createSvgMatrix() native;
|
||||
|
||||
@JSName('createSVGNumber')
|
||||
@DomName('SVGSVGElement.createSVGNumber')
|
||||
@DocsEditable()
|
||||
Number createSvgNumber() native ;
|
||||
Number createSvgNumber() native;
|
||||
|
||||
@JSName('createSVGPoint')
|
||||
@DomName('SVGSVGElement.createSVGPoint')
|
||||
@DocsEditable()
|
||||
Point createSvgPoint() native ;
|
||||
Point createSvgPoint() native;
|
||||
|
||||
@JSName('createSVGRect')
|
||||
@DomName('SVGSVGElement.createSVGRect')
|
||||
@DocsEditable()
|
||||
Rect createSvgRect() native ;
|
||||
Rect createSvgRect() native;
|
||||
|
||||
@JSName('createSVGTransform')
|
||||
@DomName('SVGSVGElement.createSVGTransform')
|
||||
@DocsEditable()
|
||||
Transform createSvgTransform() native ;
|
||||
Transform createSvgTransform() native;
|
||||
|
||||
@JSName('createSVGTransformFromMatrix')
|
||||
@DomName('SVGSVGElement.createSVGTransformFromMatrix')
|
||||
@DocsEditable()
|
||||
Transform createSvgTransformFromMatrix(Matrix matrix) native ;
|
||||
Transform createSvgTransformFromMatrix(Matrix matrix) native;
|
||||
|
||||
@DomName('SVGSVGElement.deselectAll')
|
||||
@DocsEditable()
|
||||
void deselectAll() native ;
|
||||
void deselectAll() native;
|
||||
|
||||
@DomName('SVGSVGElement.forceRedraw')
|
||||
@DocsEditable()
|
||||
void forceRedraw() native ;
|
||||
void forceRedraw() native;
|
||||
|
||||
@DomName('SVGSVGElement.getCurrentTime')
|
||||
@DocsEditable()
|
||||
double getCurrentTime() native ;
|
||||
double getCurrentTime() native;
|
||||
|
||||
@DomName('SVGSVGElement.getElementById')
|
||||
@DocsEditable()
|
||||
Element getElementById(String elementId) native ;
|
||||
Element getElementById(String elementId) native;
|
||||
|
||||
@DomName('SVGSVGElement.getEnclosureList')
|
||||
@DocsEditable()
|
||||
@Returns('NodeList')
|
||||
@Creates('NodeList')
|
||||
List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native ;
|
||||
List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native;
|
||||
|
||||
@DomName('SVGSVGElement.getIntersectionList')
|
||||
@DocsEditable()
|
||||
@Returns('NodeList')
|
||||
@Creates('NodeList')
|
||||
List<Node> getIntersectionList(Rect rect, SvgElement referenceElement)
|
||||
native ;
|
||||
List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native;
|
||||
|
||||
@DomName('SVGSVGElement.pauseAnimations')
|
||||
@DocsEditable()
|
||||
void pauseAnimations() native ;
|
||||
void pauseAnimations() native;
|
||||
|
||||
@DomName('SVGSVGElement.setCurrentTime')
|
||||
@DocsEditable()
|
||||
void setCurrentTime(num seconds) native ;
|
||||
void setCurrentTime(num seconds) native;
|
||||
|
||||
@DomName('SVGSVGElement.suspendRedraw')
|
||||
@DocsEditable()
|
||||
int suspendRedraw(int maxWaitMilliseconds) native ;
|
||||
int suspendRedraw(int maxWaitMilliseconds) native;
|
||||
|
||||
@DomName('SVGSVGElement.unpauseAnimations')
|
||||
@DocsEditable()
|
||||
void unpauseAnimations() native ;
|
||||
void unpauseAnimations() native;
|
||||
|
||||
@DomName('SVGSVGElement.unsuspendRedraw')
|
||||
@DocsEditable()
|
||||
void unsuspendRedraw(int suspendHandleId) native ;
|
||||
void unsuspendRedraw(int suspendHandleId) native;
|
||||
|
||||
@DomName('SVGSVGElement.unsuspendRedrawAll')
|
||||
@DocsEditable()
|
||||
void unsuspendRedrawAll() native ;
|
||||
void unsuspendRedrawAll() native;
|
||||
|
||||
// From SVGFitToViewBox
|
||||
|
||||
|
@ -5995,39 +5994,39 @@ class TextContentElement extends GraphicsElement {
|
|||
|
||||
@DomName('SVGTextContentElement.getCharNumAtPosition')
|
||||
@DocsEditable()
|
||||
int getCharNumAtPosition(Point point) native ;
|
||||
int getCharNumAtPosition(Point point) native;
|
||||
|
||||
@DomName('SVGTextContentElement.getComputedTextLength')
|
||||
@DocsEditable()
|
||||
double getComputedTextLength() native ;
|
||||
double getComputedTextLength() native;
|
||||
|
||||
@DomName('SVGTextContentElement.getEndPositionOfChar')
|
||||
@DocsEditable()
|
||||
Point getEndPositionOfChar(int charnum) native ;
|
||||
Point getEndPositionOfChar(int charnum) native;
|
||||
|
||||
@DomName('SVGTextContentElement.getExtentOfChar')
|
||||
@DocsEditable()
|
||||
Rect getExtentOfChar(int charnum) native ;
|
||||
Rect getExtentOfChar(int charnum) native;
|
||||
|
||||
@DomName('SVGTextContentElement.getNumberOfChars')
|
||||
@DocsEditable()
|
||||
int getNumberOfChars() native ;
|
||||
int getNumberOfChars() native;
|
||||
|
||||
@DomName('SVGTextContentElement.getRotationOfChar')
|
||||
@DocsEditable()
|
||||
double getRotationOfChar(int charnum) native ;
|
||||
double getRotationOfChar(int charnum) native;
|
||||
|
||||
@DomName('SVGTextContentElement.getStartPositionOfChar')
|
||||
@DocsEditable()
|
||||
Point getStartPositionOfChar(int charnum) native ;
|
||||
Point getStartPositionOfChar(int charnum) native;
|
||||
|
||||
@DomName('SVGTextContentElement.getSubStringLength')
|
||||
@DocsEditable()
|
||||
double getSubStringLength(int charnum, int nchars) native ;
|
||||
double getSubStringLength(int charnum, int nchars) native;
|
||||
|
||||
@DomName('SVGTextContentElement.selectSubString')
|
||||
@DocsEditable()
|
||||
void selectSubString(int charnum, int nchars) native ;
|
||||
void selectSubString(int charnum, int nchars) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -6237,27 +6236,27 @@ class Transform extends Interceptor {
|
|||
|
||||
@DomName('SVGTransform.setMatrix')
|
||||
@DocsEditable()
|
||||
void setMatrix(Matrix matrix) native ;
|
||||
void setMatrix(Matrix matrix) native;
|
||||
|
||||
@DomName('SVGTransform.setRotate')
|
||||
@DocsEditable()
|
||||
void setRotate(num angle, num cx, num cy) native ;
|
||||
void setRotate(num angle, num cx, num cy) native;
|
||||
|
||||
@DomName('SVGTransform.setScale')
|
||||
@DocsEditable()
|
||||
void setScale(num sx, num sy) native ;
|
||||
void setScale(num sx, num sy) native;
|
||||
|
||||
@DomName('SVGTransform.setSkewX')
|
||||
@DocsEditable()
|
||||
void setSkewX(num angle) native ;
|
||||
void setSkewX(num angle) native;
|
||||
|
||||
@DomName('SVGTransform.setSkewY')
|
||||
@DocsEditable()
|
||||
void setSkewY(num angle) native ;
|
||||
void setSkewY(num angle) native;
|
||||
|
||||
@DomName('SVGTransform.setTranslate')
|
||||
@DocsEditable()
|
||||
void setTranslate(num tx, num ty) native ;
|
||||
void setTranslate(num tx, num ty) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -6330,44 +6329,44 @@ class TransformList extends Interceptor
|
|||
@DomName('SVGTransformList.__setter__')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void __setter__(int index, Transform newItem) native ;
|
||||
void __setter__(int index, Transform newItem) native;
|
||||
|
||||
@DomName('SVGTransformList.appendItem')
|
||||
@DocsEditable()
|
||||
Transform appendItem(Transform newItem) native ;
|
||||
Transform appendItem(Transform newItem) native;
|
||||
|
||||
@DomName('SVGTransformList.clear')
|
||||
@DocsEditable()
|
||||
void clear() native ;
|
||||
void clear() native;
|
||||
|
||||
@DomName('SVGTransformList.consolidate')
|
||||
@DocsEditable()
|
||||
Transform consolidate() native ;
|
||||
Transform consolidate() native;
|
||||
|
||||
@JSName('createSVGTransformFromMatrix')
|
||||
@DomName('SVGTransformList.createSVGTransformFromMatrix')
|
||||
@DocsEditable()
|
||||
Transform createSvgTransformFromMatrix(Matrix matrix) native ;
|
||||
Transform createSvgTransformFromMatrix(Matrix matrix) native;
|
||||
|
||||
@DomName('SVGTransformList.getItem')
|
||||
@DocsEditable()
|
||||
Transform getItem(int index) native ;
|
||||
Transform getItem(int index) native;
|
||||
|
||||
@DomName('SVGTransformList.initialize')
|
||||
@DocsEditable()
|
||||
Transform initialize(Transform newItem) native ;
|
||||
Transform initialize(Transform newItem) native;
|
||||
|
||||
@DomName('SVGTransformList.insertItemBefore')
|
||||
@DocsEditable()
|
||||
Transform insertItemBefore(Transform newItem, int index) native ;
|
||||
Transform insertItemBefore(Transform newItem, int index) native;
|
||||
|
||||
@DomName('SVGTransformList.removeItem')
|
||||
@DocsEditable()
|
||||
Transform removeItem(int index) native ;
|
||||
Transform removeItem(int index) native;
|
||||
|
||||
@DomName('SVGTransformList.replaceItem')
|
||||
@DocsEditable()
|
||||
Transform replaceItem(Transform newItem, int index) native ;
|
||||
Transform replaceItem(Transform newItem, int index) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
|
|
@ -55,20 +55,20 @@ class AnalyserNode extends AudioNode {
|
|||
|
||||
@DomName('AnalyserNode.getByteFrequencyData')
|
||||
@DocsEditable()
|
||||
void getByteFrequencyData(Uint8List array) native ;
|
||||
void getByteFrequencyData(Uint8List array) native;
|
||||
|
||||
@DomName('AnalyserNode.getByteTimeDomainData')
|
||||
@DocsEditable()
|
||||
void getByteTimeDomainData(Uint8List array) native ;
|
||||
void getByteTimeDomainData(Uint8List array) native;
|
||||
|
||||
@DomName('AnalyserNode.getFloatFrequencyData')
|
||||
@DocsEditable()
|
||||
void getFloatFrequencyData(Float32List array) native ;
|
||||
void getFloatFrequencyData(Float32List array) native;
|
||||
|
||||
@DomName('AnalyserNode.getFloatTimeDomainData')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void getFloatTimeDomainData(Float32List array) native ;
|
||||
void getFloatTimeDomainData(Float32List array) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -105,17 +105,17 @@ class AudioBuffer extends Interceptor {
|
|||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void copyFromChannel(Float32List destination, int channelNumber,
|
||||
[int startInChannel]) native ;
|
||||
[int startInChannel]) native;
|
||||
|
||||
@DomName('AudioBuffer.copyToChannel')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void copyToChannel(Float32List source, int channelNumber,
|
||||
[int startInChannel]) native ;
|
||||
[int startInChannel]) native;
|
||||
|
||||
@DomName('AudioBuffer.getChannelData')
|
||||
@DocsEditable()
|
||||
Float32List getChannelData(int channelIndex) native ;
|
||||
Float32List getChannelData(int channelIndex) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -260,97 +260,97 @@ class AudioContext extends EventTarget {
|
|||
@DomName('AudioContext.close')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Future close() native ;
|
||||
Future close() native;
|
||||
|
||||
@DomName('AudioContext.createAnalyser')
|
||||
@DocsEditable()
|
||||
AnalyserNode createAnalyser() native ;
|
||||
AnalyserNode createAnalyser() native;
|
||||
|
||||
@DomName('AudioContext.createBiquadFilter')
|
||||
@DocsEditable()
|
||||
BiquadFilterNode createBiquadFilter() native ;
|
||||
BiquadFilterNode createBiquadFilter() native;
|
||||
|
||||
@DomName('AudioContext.createBuffer')
|
||||
@DocsEditable()
|
||||
AudioBuffer createBuffer(
|
||||
int numberOfChannels, int numberOfFrames, num sampleRate) native ;
|
||||
int numberOfChannels, int numberOfFrames, num sampleRate) native;
|
||||
|
||||
@DomName('AudioContext.createBufferSource')
|
||||
@DocsEditable()
|
||||
AudioBufferSourceNode createBufferSource() native ;
|
||||
AudioBufferSourceNode createBufferSource() native;
|
||||
|
||||
@DomName('AudioContext.createChannelMerger')
|
||||
@DocsEditable()
|
||||
ChannelMergerNode createChannelMerger([int numberOfInputs]) native ;
|
||||
ChannelMergerNode createChannelMerger([int numberOfInputs]) native;
|
||||
|
||||
@DomName('AudioContext.createChannelSplitter')
|
||||
@DocsEditable()
|
||||
ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) native ;
|
||||
ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) native;
|
||||
|
||||
@DomName('AudioContext.createConvolver')
|
||||
@DocsEditable()
|
||||
ConvolverNode createConvolver() native ;
|
||||
ConvolverNode createConvolver() native;
|
||||
|
||||
@DomName('AudioContext.createDelay')
|
||||
@DocsEditable()
|
||||
DelayNode createDelay([num maxDelayTime]) native ;
|
||||
DelayNode createDelay([num maxDelayTime]) native;
|
||||
|
||||
@DomName('AudioContext.createDynamicsCompressor')
|
||||
@DocsEditable()
|
||||
DynamicsCompressorNode createDynamicsCompressor() native ;
|
||||
DynamicsCompressorNode createDynamicsCompressor() native;
|
||||
|
||||
@DomName('AudioContext.createMediaElementSource')
|
||||
@DocsEditable()
|
||||
MediaElementAudioSourceNode createMediaElementSource(
|
||||
MediaElement mediaElement) native ;
|
||||
MediaElement mediaElement) native;
|
||||
|
||||
@DomName('AudioContext.createMediaStreamDestination')
|
||||
@DocsEditable()
|
||||
MediaStreamAudioDestinationNode createMediaStreamDestination() native ;
|
||||
MediaStreamAudioDestinationNode createMediaStreamDestination() native;
|
||||
|
||||
@DomName('AudioContext.createMediaStreamSource')
|
||||
@DocsEditable()
|
||||
MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream)
|
||||
native ;
|
||||
native;
|
||||
|
||||
@DomName('AudioContext.createOscillator')
|
||||
@DocsEditable()
|
||||
OscillatorNode createOscillator() native ;
|
||||
OscillatorNode createOscillator() native;
|
||||
|
||||
@DomName('AudioContext.createPanner')
|
||||
@DocsEditable()
|
||||
PannerNode createPanner() native ;
|
||||
PannerNode createPanner() native;
|
||||
|
||||
@DomName('AudioContext.createPeriodicWave')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
PeriodicWave createPeriodicWave(Float32List real, Float32List imag) native ;
|
||||
PeriodicWave createPeriodicWave(Float32List real, Float32List imag) native;
|
||||
|
||||
@DomName('AudioContext.createStereoPanner')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
StereoPannerNode createStereoPanner() native ;
|
||||
StereoPannerNode createStereoPanner() native;
|
||||
|
||||
@DomName('AudioContext.createWaveShaper')
|
||||
@DocsEditable()
|
||||
WaveShaperNode createWaveShaper() native ;
|
||||
WaveShaperNode createWaveShaper() native;
|
||||
|
||||
@JSName('decodeAudioData')
|
||||
@DomName('AudioContext.decodeAudioData')
|
||||
@DocsEditable()
|
||||
void _decodeAudioData(
|
||||
ByteBuffer audioData, AudioBufferCallback successCallback,
|
||||
[AudioBufferCallback errorCallback]) native ;
|
||||
[AudioBufferCallback errorCallback]) native;
|
||||
|
||||
@DomName('AudioContext.resume')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Future resume() native ;
|
||||
Future resume() native;
|
||||
|
||||
@DomName('AudioContext.suspend')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Future suspend() native ;
|
||||
Future suspend() native;
|
||||
|
||||
factory AudioContext() => JS('AudioContext',
|
||||
'new (window.AudioContext || window.webkitAudioContext)()');
|
||||
|
@ -442,15 +442,15 @@ class AudioListener extends Interceptor {
|
|||
|
||||
@DomName('AudioListener.setOrientation')
|
||||
@DocsEditable()
|
||||
void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native ;
|
||||
void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native;
|
||||
|
||||
@DomName('AudioListener.setPosition')
|
||||
@DocsEditable()
|
||||
void setPosition(num x, num y, num z) native ;
|
||||
void setPosition(num x, num y, num z) native;
|
||||
|
||||
@DomName('AudioListener.setVelocity')
|
||||
@DocsEditable()
|
||||
void setVelocity(num x, num y, num z) native ;
|
||||
void setVelocity(num x, num y, num z) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -493,11 +493,11 @@ class AudioNode extends EventTarget {
|
|||
@JSName('connect')
|
||||
@DomName('AudioNode.connect')
|
||||
@DocsEditable()
|
||||
void _connect(destination, [int output, int input]) native ;
|
||||
void _connect(destination, [int output, int input]) native;
|
||||
|
||||
@DomName('AudioNode.disconnect')
|
||||
@DocsEditable()
|
||||
void disconnect([destination_OR_output, int output, int input]) native ;
|
||||
void disconnect([destination_OR_output, int output, int input]) native;
|
||||
|
||||
@DomName('AudioNode.connect')
|
||||
void connectNode(AudioNode destination, [int output = 0, int input = 0]) {
|
||||
|
@ -534,27 +534,27 @@ class AudioParam extends Interceptor {
|
|||
|
||||
@DomName('AudioParam.cancelScheduledValues')
|
||||
@DocsEditable()
|
||||
void cancelScheduledValues(num startTime) native ;
|
||||
void cancelScheduledValues(num startTime) native;
|
||||
|
||||
@DomName('AudioParam.exponentialRampToValueAtTime')
|
||||
@DocsEditable()
|
||||
void exponentialRampToValueAtTime(num value, num time) native ;
|
||||
void exponentialRampToValueAtTime(num value, num time) native;
|
||||
|
||||
@DomName('AudioParam.linearRampToValueAtTime')
|
||||
@DocsEditable()
|
||||
void linearRampToValueAtTime(num value, num time) native ;
|
||||
void linearRampToValueAtTime(num value, num time) native;
|
||||
|
||||
@DomName('AudioParam.setTargetAtTime')
|
||||
@DocsEditable()
|
||||
void setTargetAtTime(num target, num time, num timeConstant) native ;
|
||||
void setTargetAtTime(num target, num time, num timeConstant) native;
|
||||
|
||||
@DomName('AudioParam.setValueAtTime')
|
||||
@DocsEditable()
|
||||
void setValueAtTime(num value, num time) native ;
|
||||
void setValueAtTime(num value, num time) native;
|
||||
|
||||
@DomName('AudioParam.setValueCurveAtTime')
|
||||
@DocsEditable()
|
||||
void setValueCurveAtTime(Float32List values, num time, num duration) native ;
|
||||
void setValueCurveAtTime(Float32List values, num time, num duration) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -637,7 +637,7 @@ class BiquadFilterNode extends AudioNode {
|
|||
@DomName('BiquadFilterNode.getFrequencyResponse')
|
||||
@DocsEditable()
|
||||
void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse,
|
||||
Float32List phaseResponse) native ;
|
||||
Float32List phaseResponse) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -876,7 +876,7 @@ class OfflineAudioContext extends AudioContext {
|
|||
@DomName('OfflineAudioContext.startRendering')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
Future startRendering() native ;
|
||||
Future startRendering() native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -920,15 +920,15 @@ class OscillatorNode extends AudioSourceNode {
|
|||
@DomName('OscillatorNode.setPeriodicWave')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void setPeriodicWave(PeriodicWave periodicWave) native ;
|
||||
void setPeriodicWave(PeriodicWave periodicWave) native;
|
||||
|
||||
@DomName('OscillatorNode.start')
|
||||
@DocsEditable()
|
||||
void start([num when]) native ;
|
||||
void start([num when]) native;
|
||||
|
||||
@DomName('OscillatorNode.stop')
|
||||
@DocsEditable()
|
||||
void stop([num when]) native ;
|
||||
void stop([num when]) native;
|
||||
|
||||
/// Stream of `ended` events handled by this [OscillatorNode].
|
||||
@DomName('OscillatorNode.onended')
|
||||
|
@ -985,15 +985,15 @@ class PannerNode extends AudioNode {
|
|||
|
||||
@DomName('PannerNode.setOrientation')
|
||||
@DocsEditable()
|
||||
void setOrientation(num x, num y, num z) native ;
|
||||
void setOrientation(num x, num y, num z) native;
|
||||
|
||||
@DomName('PannerNode.setPosition')
|
||||
@DocsEditable()
|
||||
void setPosition(num x, num y, num z) native ;
|
||||
void setPosition(num x, num y, num z) native;
|
||||
|
||||
@DomName('PannerNode.setVelocity')
|
||||
@DocsEditable()
|
||||
void setVelocity(num x, num y, num z) native ;
|
||||
void setVelocity(num x, num y, num z) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -1043,7 +1043,7 @@ class ScriptProcessorNode extends AudioNode {
|
|||
@DomName('ScriptProcessorNode.setEventListener')
|
||||
@DocsEditable()
|
||||
@Experimental() // untriaged
|
||||
void setEventListener(EventListener eventListener) native ;
|
||||
void setEventListener(EventListener eventListener) native;
|
||||
|
||||
/// Stream of `audioprocess` events handled by this [ScriptProcessorNode].
|
||||
/**
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -115,19 +115,19 @@ class SqlDatabase extends Interceptor {
|
|||
void changeVersion(String oldVersion, String newVersion,
|
||||
[SqlTransactionCallback callback,
|
||||
SqlTransactionErrorCallback errorCallback,
|
||||
VoidCallback successCallback]) native ;
|
||||
VoidCallback successCallback]) native;
|
||||
|
||||
@DomName('Database.readTransaction')
|
||||
@DocsEditable()
|
||||
void readTransaction(SqlTransactionCallback callback,
|
||||
[SqlTransactionErrorCallback errorCallback,
|
||||
VoidCallback successCallback]) native ;
|
||||
VoidCallback successCallback]) native;
|
||||
|
||||
@DomName('Database.transaction')
|
||||
@DocsEditable()
|
||||
void transaction(SqlTransactionCallback callback,
|
||||
[SqlTransactionErrorCallback errorCallback,
|
||||
VoidCallback successCallback]) native ;
|
||||
VoidCallback successCallback]) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -284,7 +284,7 @@ class SqlResultSetRowList extends Interceptor
|
|||
@JSName('item')
|
||||
@DomName('SQLResultSetRowList.item')
|
||||
@DocsEditable()
|
||||
_item_1(index) native ;
|
||||
_item_1(index) native;
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
@ -309,5 +309,5 @@ class SqlTransaction extends Interceptor {
|
|||
void executeSql(String sqlStatement,
|
||||
[List arguments,
|
||||
SqlStatementCallback callback,
|
||||
SqlStatementErrorCallback errorCallback]) native ;
|
||||
SqlStatementErrorCallback errorCallback]) native;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue