Index: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
diff --git a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
index 74a659876ae6111c7b1079556e74141254c9018b..7950468a6381a58c9d7f9ab892047ec2f750e0b8 100644 |
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart |
@@ -40,28 +40,23 @@ class _KeyRangeFactoryProvider { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBCursor |
+@DomName('IDBCursor') |
class Cursor extends NativeFieldWrapperClass1 { |
Cursor.internal(); |
- |
- /** @domName IDBCursor.direction */ |
+ @DomName('IDBCursor.direction') |
String get direction native "IDBCursor_direction_Getter"; |
- |
- /** @domName IDBCursor.key */ |
+ @DomName('IDBCursor.key') |
Object get key native "IDBCursor_key_Getter"; |
- |
- /** @domName IDBCursor.primaryKey */ |
+ @DomName('IDBCursor.primaryKey') |
Object get primaryKey native "IDBCursor_primaryKey_Getter"; |
- |
- /** @domName IDBCursor.source */ |
+ @DomName('IDBCursor.source') |
dynamic get source native "IDBCursor_source_Getter"; |
- |
- /** @domName IDBCursor.advance */ |
+ @DomName('IDBCursor.advance') |
void advance(int count) native "IDBCursor_advance_Callback"; |
void continueFunction([/*IDBKey*/ key]) { |
@@ -72,20 +67,16 @@ class Cursor extends NativeFieldWrapperClass1 { |
_continue_2(); |
} |
- |
- /** @domName IDBCursor.continue_1 */ |
+ @DomName('IDBCursor.continue_1') |
void _continue_1(key) native "IDBCursor_continue_1_Callback"; |
- |
- /** @domName IDBCursor.continue_2 */ |
+ @DomName('IDBCursor.continue_2') |
void _continue_2() native "IDBCursor_continue_2_Callback"; |
- |
- /** @domName IDBCursor.delete */ |
+ @DomName('IDBCursor.delete') |
Request delete() native "IDBCursor_delete_Callback"; |
- |
- /** @domName IDBCursor.update */ |
+ @DomName('IDBCursor.update') |
Request update(Object value) native "IDBCursor_update_Callback"; |
} |
@@ -96,12 +87,11 @@ class Cursor extends NativeFieldWrapperClass1 { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBCursorWithValue |
+@DomName('IDBCursorWithValue') |
class CursorWithValue extends Cursor { |
CursorWithValue.internal() : super.internal(); |
- |
- /** @domName IDBCursorWithValue.value */ |
+ @DomName('IDBCursorWithValue.value') |
Object get value native "IDBCursorWithValue_value_Getter"; |
} |
@@ -112,7 +102,7 @@ class CursorWithValue extends Cursor { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBDatabase |
+@DomName('IDBDatabase') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.FIREFOX, '15') |
@SupportedBrowser(SupportedBrowser.IE, '10') |
@@ -126,44 +116,36 @@ class Database extends EventTarget { |
static const EventStreamProvider<UpgradeNeededEvent> versionChangeEvent = const EventStreamProvider<UpgradeNeededEvent>('versionchange'); |
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true |
+ /// @docsEditable true |
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent') |
DatabaseEvents get on => |
new DatabaseEvents(this); |
- |
- /** @domName IDBDatabase.name */ |
+ @DomName('IDBDatabase.name') |
String get name native "IDBDatabase_name_Getter"; |
- |
- /** @domName IDBDatabase.objectStoreNames */ |
+ @DomName('IDBDatabase.objectStoreNames') |
List<String> get objectStoreNames native "IDBDatabase_objectStoreNames_Getter"; |
- |
- /** @domName IDBDatabase.version */ |
+ @DomName('IDBDatabase.version') |
dynamic get version native "IDBDatabase_version_Getter"; |
- |
- /** @domName IDBDatabase.addEventListener */ |
+ @DomName('IDBDatabase.addEventListener') |
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "IDBDatabase_addEventListener_Callback"; |
- |
- /** @domName IDBDatabase.close */ |
+ @DomName('IDBDatabase.close') |
void close() native "IDBDatabase_close_Callback"; |
- |
- /** @domName IDBDatabase.createObjectStore */ |
+ @DomName('IDBDatabase.createObjectStore') |
ObjectStore createObjectStore(String name, [Map options]) native "IDBDatabase_createObjectStore_Callback"; |
- |
- /** @domName IDBDatabase.deleteObjectStore */ |
+ @DomName('IDBDatabase.deleteObjectStore') |
void deleteObjectStore(String name) native "IDBDatabase_deleteObjectStore_Callback"; |
- |
- /** @domName IDBDatabase.dispatchEvent */ |
+ @DomName('IDBDatabase.dispatchEvent') |
bool $dom_dispatchEvent(Event evt) native "IDBDatabase_dispatchEvent_Callback"; |
- |
- /** @domName IDBDatabase.removeEventListener */ |
+ @DomName('IDBDatabase.removeEventListener') |
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "IDBDatabase_removeEventListener_Callback"; |
Transaction transaction(storeName_OR_storeNames, /*DOMString*/ mode) { |
@@ -179,16 +161,13 @@ class Database extends EventTarget { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBDatabase.transaction_1 */ |
+ @DomName('IDBDatabase.transaction_1') |
Transaction _transaction_1(storeName_OR_storeNames, mode) native "IDBDatabase_transaction_1_Callback"; |
- |
- /** @domName IDBDatabase.transaction_2 */ |
+ @DomName('IDBDatabase.transaction_2') |
Transaction _transaction_2(storeName_OR_storeNames, mode) native "IDBDatabase_transaction_2_Callback"; |
- |
- /** @domName IDBDatabase.transaction_3 */ |
+ @DomName('IDBDatabase.transaction_3') |
Transaction _transaction_3(storeName_OR_storeNames, mode) native "IDBDatabase_transaction_3_Callback"; |
Stream<Event> get onAbort => abortEvent.forTarget(this); |
@@ -218,7 +197,7 @@ class DatabaseEvents extends Events { |
// BSD-style license that can be found in the LICENSE file. |
-/// @domName IDBFactory |
+@DomName('IDBFactory') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.FIREFOX, '15') |
@SupportedBrowser(SupportedBrowser.IE, '10') |
@@ -233,12 +212,10 @@ class IdbFactory extends NativeFieldWrapperClass1 { |
IdbFactory.internal(); |
- |
- /** @domName IDBFactory.cmp */ |
+ @DomName('IDBFactory.cmp') |
int cmp(/*IDBKey*/ first, /*IDBKey*/ second) native "IDBFactory_cmp_Callback"; |
- |
- /** @domName IDBFactory.deleteDatabase */ |
+ @DomName('IDBFactory.deleteDatabase') |
VersionChangeRequest deleteDatabase(String name) native "IDBFactory_deleteDatabase_Callback"; |
OpenDBRequest open(/*DOMString*/ name, [/*long long*/ version]) { |
@@ -248,16 +225,13 @@ class IdbFactory extends NativeFieldWrapperClass1 { |
return _open_2(name); |
} |
- |
- /** @domName IDBFactory.open_1 */ |
+ @DomName('IDBFactory.open_1') |
OpenDBRequest _open_1(name, version) native "IDBFactory_open_1_Callback"; |
- |
- /** @domName IDBFactory.open_2 */ |
+ @DomName('IDBFactory.open_2') |
OpenDBRequest _open_2(name) native "IDBFactory_open_2_Callback"; |
- |
- /** @domName IDBFactory.webkitGetDatabaseNames */ |
+ @DomName('IDBFactory.webkitGetDatabaseNames') |
Request webkitGetDatabaseNames() native "IDBFactory_webkitGetDatabaseNames_Callback"; |
} |
@@ -268,28 +242,23 @@ class IdbFactory extends NativeFieldWrapperClass1 { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBIndex |
+@DomName('IDBIndex') |
class Index extends NativeFieldWrapperClass1 { |
Index.internal(); |
- |
- /** @domName IDBIndex.keyPath */ |
+ @DomName('IDBIndex.keyPath') |
dynamic get keyPath native "IDBIndex_keyPath_Getter"; |
- |
- /** @domName IDBIndex.multiEntry */ |
+ @DomName('IDBIndex.multiEntry') |
bool get multiEntry native "IDBIndex_multiEntry_Getter"; |
- |
- /** @domName IDBIndex.name */ |
+ @DomName('IDBIndex.name') |
String get name native "IDBIndex_name_Getter"; |
- |
- /** @domName IDBIndex.objectStore */ |
+ @DomName('IDBIndex.objectStore') |
ObjectStore get objectStore native "IDBIndex_objectStore_Getter"; |
- |
- /** @domName IDBIndex.unique */ |
+ @DomName('IDBIndex.unique') |
bool get unique native "IDBIndex_unique_Getter"; |
Request count([key_OR_range]) { |
@@ -305,16 +274,13 @@ class Index extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBIndex.count_1 */ |
+ @DomName('IDBIndex.count_1') |
Request _count_1() native "IDBIndex_count_1_Callback"; |
- |
- /** @domName IDBIndex.count_2 */ |
+ @DomName('IDBIndex.count_2') |
Request _count_2(key_OR_range) native "IDBIndex_count_2_Callback"; |
- |
- /** @domName IDBIndex.count_3 */ |
+ @DomName('IDBIndex.count_3') |
Request _count_3(key_OR_range) native "IDBIndex_count_3_Callback"; |
Request get(key) { |
@@ -327,12 +293,10 @@ class Index extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBIndex.get_1 */ |
+ @DomName('IDBIndex.get_1') |
Request _get_1(key) native "IDBIndex_get_1_Callback"; |
- |
- /** @domName IDBIndex.get_2 */ |
+ @DomName('IDBIndex.get_2') |
Request _get_2(key) native "IDBIndex_get_2_Callback"; |
Request getKey(key) { |
@@ -345,12 +309,10 @@ class Index extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBIndex.getKey_1 */ |
+ @DomName('IDBIndex.getKey_1') |
Request _getKey_1(key) native "IDBIndex_getKey_1_Callback"; |
- |
- /** @domName IDBIndex.getKey_2 */ |
+ @DomName('IDBIndex.getKey_2') |
Request _getKey_2(key) native "IDBIndex_getKey_2_Callback"; |
Request openCursor([key_OR_range, /*DOMString*/ direction]) { |
@@ -372,24 +334,19 @@ class Index extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBIndex.openCursor_1 */ |
+ @DomName('IDBIndex.openCursor_1') |
Request _openCursor_1() native "IDBIndex_openCursor_1_Callback"; |
- |
- /** @domName IDBIndex.openCursor_2 */ |
+ @DomName('IDBIndex.openCursor_2') |
Request _openCursor_2(key_OR_range) native "IDBIndex_openCursor_2_Callback"; |
- |
- /** @domName IDBIndex.openCursor_3 */ |
+ @DomName('IDBIndex.openCursor_3') |
Request _openCursor_3(key_OR_range, direction) native "IDBIndex_openCursor_3_Callback"; |
- |
- /** @domName IDBIndex.openCursor_4 */ |
+ @DomName('IDBIndex.openCursor_4') |
Request _openCursor_4(key_OR_range) native "IDBIndex_openCursor_4_Callback"; |
- |
- /** @domName IDBIndex.openCursor_5 */ |
+ @DomName('IDBIndex.openCursor_5') |
Request _openCursor_5(key_OR_range, direction) native "IDBIndex_openCursor_5_Callback"; |
Request openKeyCursor([key_OR_range, /*DOMString*/ direction]) { |
@@ -411,24 +368,19 @@ class Index extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBIndex.openKeyCursor_1 */ |
+ @DomName('IDBIndex.openKeyCursor_1') |
Request _openKeyCursor_1() native "IDBIndex_openKeyCursor_1_Callback"; |
- |
- /** @domName IDBIndex.openKeyCursor_2 */ |
+ @DomName('IDBIndex.openKeyCursor_2') |
Request _openKeyCursor_2(key_OR_range) native "IDBIndex_openKeyCursor_2_Callback"; |
- |
- /** @domName IDBIndex.openKeyCursor_3 */ |
+ @DomName('IDBIndex.openKeyCursor_3') |
Request _openKeyCursor_3(key_OR_range, direction) native "IDBIndex_openKeyCursor_3_Callback"; |
- |
- /** @domName IDBIndex.openKeyCursor_4 */ |
+ @DomName('IDBIndex.openKeyCursor_4') |
Request _openKeyCursor_4(key_OR_range) native "IDBIndex_openKeyCursor_4_Callback"; |
- |
- /** @domName IDBIndex.openKeyCursor_5 */ |
+ @DomName('IDBIndex.openKeyCursor_5') |
Request _openKeyCursor_5(key_OR_range, direction) native "IDBIndex_openKeyCursor_5_Callback"; |
} |
@@ -439,7 +391,7 @@ class Index extends NativeFieldWrapperClass1 { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBKey |
+@DomName('IDBKey') |
class Key extends NativeFieldWrapperClass1 { |
Key.internal(); |
@@ -449,29 +401,21 @@ class Key extends NativeFieldWrapperClass1 { |
// BSD-style license that can be found in the LICENSE file. |
-/// @domName IDBKeyRange |
+@DomName('IDBKeyRange') |
class KeyRange extends NativeFieldWrapperClass1 { |
- /** |
- * @domName IDBKeyRange.only |
- */ |
+ @DomName('IDBKeyRange.only') |
factory KeyRange.only(/*Key*/ value) => |
_KeyRangeFactoryProvider.createKeyRange_only(value); |
- /** |
- * @domName IDBKeyRange.lowerBound |
- */ |
+ @DomName('IDBKeyRange.lowerBound') |
factory KeyRange.lowerBound(/*Key*/ bound, [bool open = false]) => |
_KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); |
- /** |
- * @domName IDBKeyRange.upperBound |
- */ |
+ @DomName('IDBKeyRange.upperBound') |
factory KeyRange.upperBound(/*Key*/ bound, [bool open = false]) => |
_KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); |
- /** |
- * @domName KeyRange.bound |
- */ |
+ @DomName('KeyRange.bound') |
factory KeyRange.bound(/*Key*/ lower, /*Key*/ upper, |
[bool lowerOpen = false, bool upperOpen = false]) => |
_KeyRangeFactoryProvider.createKeyRange_bound( |
@@ -479,20 +423,16 @@ class KeyRange extends NativeFieldWrapperClass1 { |
KeyRange.internal(); |
- |
- /** @domName IDBKeyRange.lower */ |
+ @DomName('IDBKeyRange.lower') |
dynamic get lower native "IDBKeyRange_lower_Getter"; |
- |
- /** @domName IDBKeyRange.lowerOpen */ |
+ @DomName('IDBKeyRange.lowerOpen') |
bool get lowerOpen native "IDBKeyRange_lowerOpen_Getter"; |
- |
- /** @domName IDBKeyRange.upper */ |
+ @DomName('IDBKeyRange.upper') |
dynamic get upper native "IDBKeyRange_upper_Getter"; |
- |
- /** @domName IDBKeyRange.upperOpen */ |
+ @DomName('IDBKeyRange.upperOpen') |
bool get upperOpen native "IDBKeyRange_upperOpen_Getter"; |
static KeyRange bound_(/*IDBKey*/ lower, /*IDBKey*/ upper, [/*boolean*/ lowerOpen, /*boolean*/ upperOpen]) { |
@@ -505,16 +445,13 @@ class KeyRange extends NativeFieldWrapperClass1 { |
return _bound_3(lower, upper); |
} |
- |
- /** @domName IDBKeyRange.bound_1 */ |
+ @DomName('IDBKeyRange.bound_1') |
static KeyRange _bound_1(lower, upper, lowerOpen, upperOpen) native "IDBKeyRange_bound_1_Callback"; |
- |
- /** @domName IDBKeyRange.bound_2 */ |
+ @DomName('IDBKeyRange.bound_2') |
static KeyRange _bound_2(lower, upper, lowerOpen) native "IDBKeyRange_bound_2_Callback"; |
- |
- /** @domName IDBKeyRange.bound_3 */ |
+ @DomName('IDBKeyRange.bound_3') |
static KeyRange _bound_3(lower, upper) native "IDBKeyRange_bound_3_Callback"; |
static KeyRange lowerBound_(/*IDBKey*/ bound, [/*boolean*/ open]) { |
@@ -524,16 +461,13 @@ class KeyRange extends NativeFieldWrapperClass1 { |
return _lowerBound_2(bound); |
} |
- |
- /** @domName IDBKeyRange.lowerBound_1 */ |
+ @DomName('IDBKeyRange.lowerBound_1') |
static KeyRange _lowerBound_1(bound, open) native "IDBKeyRange_lowerBound_1_Callback"; |
- |
- /** @domName IDBKeyRange.lowerBound_2 */ |
+ @DomName('IDBKeyRange.lowerBound_2') |
static KeyRange _lowerBound_2(bound) native "IDBKeyRange_lowerBound_2_Callback"; |
- |
- /** @domName IDBKeyRange.only_ */ |
+ @DomName('IDBKeyRange.only_') |
static KeyRange only_(/*IDBKey*/ value) native "IDBKeyRange_only__Callback"; |
static KeyRange upperBound_(/*IDBKey*/ bound, [/*boolean*/ open]) { |
@@ -543,12 +477,10 @@ class KeyRange extends NativeFieldWrapperClass1 { |
return _upperBound_2(bound); |
} |
- |
- /** @domName IDBKeyRange.upperBound_1 */ |
+ @DomName('IDBKeyRange.upperBound_1') |
static KeyRange _upperBound_1(bound, open) native "IDBKeyRange_upperBound_1_Callback"; |
- |
- /** @domName IDBKeyRange.upperBound_2 */ |
+ @DomName('IDBKeyRange.upperBound_2') |
static KeyRange _upperBound_2(bound) native "IDBKeyRange_upperBound_2_Callback"; |
} |
@@ -559,28 +491,23 @@ class KeyRange extends NativeFieldWrapperClass1 { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBObjectStore |
+@DomName('IDBObjectStore') |
class ObjectStore extends NativeFieldWrapperClass1 { |
ObjectStore.internal(); |
- |
- /** @domName IDBObjectStore.autoIncrement */ |
+ @DomName('IDBObjectStore.autoIncrement') |
bool get autoIncrement native "IDBObjectStore_autoIncrement_Getter"; |
- |
- /** @domName IDBObjectStore.indexNames */ |
+ @DomName('IDBObjectStore.indexNames') |
List<String> get indexNames native "IDBObjectStore_indexNames_Getter"; |
- |
- /** @domName IDBObjectStore.keyPath */ |
+ @DomName('IDBObjectStore.keyPath') |
dynamic get keyPath native "IDBObjectStore_keyPath_Getter"; |
- |
- /** @domName IDBObjectStore.name */ |
+ @DomName('IDBObjectStore.name') |
String get name native "IDBObjectStore_name_Getter"; |
- |
- /** @domName IDBObjectStore.transaction */ |
+ @DomName('IDBObjectStore.transaction') |
Transaction get transaction native "IDBObjectStore_transaction_Getter"; |
Request add(/*any*/ value, [/*IDBKey*/ key]) { |
@@ -590,16 +517,13 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
return _add_2(value); |
} |
- |
- /** @domName IDBObjectStore.add_1 */ |
+ @DomName('IDBObjectStore.add_1') |
Request _add_1(value, key) native "IDBObjectStore_add_1_Callback"; |
- |
- /** @domName IDBObjectStore.add_2 */ |
+ @DomName('IDBObjectStore.add_2') |
Request _add_2(value) native "IDBObjectStore_add_2_Callback"; |
- |
- /** @domName IDBObjectStore.clear */ |
+ @DomName('IDBObjectStore.clear') |
Request clear() native "IDBObjectStore_clear_Callback"; |
Request count([key_OR_range]) { |
@@ -615,16 +539,13 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBObjectStore.count_1 */ |
+ @DomName('IDBObjectStore.count_1') |
Request _count_1() native "IDBObjectStore_count_1_Callback"; |
- |
- /** @domName IDBObjectStore.count_2 */ |
+ @DomName('IDBObjectStore.count_2') |
Request _count_2(key_OR_range) native "IDBObjectStore_count_2_Callback"; |
- |
- /** @domName IDBObjectStore.count_3 */ |
+ @DomName('IDBObjectStore.count_3') |
Request _count_3(key_OR_range) native "IDBObjectStore_count_3_Callback"; |
Index createIndex(/*DOMString*/ name, keyPath, [/*Dictionary*/ options]) { |
@@ -637,12 +558,10 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBObjectStore.createIndex_1 */ |
+ @DomName('IDBObjectStore.createIndex_1') |
Index _createIndex_1(name, keyPath, options) native "IDBObjectStore_createIndex_1_Callback"; |
- |
- /** @domName IDBObjectStore.createIndex_2 */ |
+ @DomName('IDBObjectStore.createIndex_2') |
Index _createIndex_2(name, keyPath, options) native "IDBObjectStore_createIndex_2_Callback"; |
Request delete(key_OR_keyRange) { |
@@ -655,16 +574,13 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBObjectStore.delete_1 */ |
+ @DomName('IDBObjectStore.delete_1') |
Request _delete_1(key_OR_keyRange) native "IDBObjectStore_delete_1_Callback"; |
- |
- /** @domName IDBObjectStore.delete_2 */ |
+ @DomName('IDBObjectStore.delete_2') |
Request _delete_2(key_OR_keyRange) native "IDBObjectStore_delete_2_Callback"; |
- |
- /** @domName IDBObjectStore.deleteIndex */ |
+ @DomName('IDBObjectStore.deleteIndex') |
void deleteIndex(String name) native "IDBObjectStore_deleteIndex_Callback"; |
Request getObject(key) { |
@@ -677,16 +593,13 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBObjectStore.get_1 */ |
+ @DomName('IDBObjectStore.get_1') |
Request _get_1(key) native "IDBObjectStore_get_1_Callback"; |
- |
- /** @domName IDBObjectStore.get_2 */ |
+ @DomName('IDBObjectStore.get_2') |
Request _get_2(key) native "IDBObjectStore_get_2_Callback"; |
- |
- /** @domName IDBObjectStore.index */ |
+ @DomName('IDBObjectStore.index') |
Index index(String name) native "IDBObjectStore_index_Callback"; |
Request openCursor([key_OR_range, /*DOMString*/ direction]) { |
@@ -708,24 +621,19 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- |
- /** @domName IDBObjectStore.openCursor_1 */ |
+ @DomName('IDBObjectStore.openCursor_1') |
Request _openCursor_1() native "IDBObjectStore_openCursor_1_Callback"; |
- |
- /** @domName IDBObjectStore.openCursor_2 */ |
+ @DomName('IDBObjectStore.openCursor_2') |
Request _openCursor_2(key_OR_range) native "IDBObjectStore_openCursor_2_Callback"; |
- |
- /** @domName IDBObjectStore.openCursor_3 */ |
+ @DomName('IDBObjectStore.openCursor_3') |
Request _openCursor_3(key_OR_range, direction) native "IDBObjectStore_openCursor_3_Callback"; |
- |
- /** @domName IDBObjectStore.openCursor_4 */ |
+ @DomName('IDBObjectStore.openCursor_4') |
Request _openCursor_4(key_OR_range) native "IDBObjectStore_openCursor_4_Callback"; |
- |
- /** @domName IDBObjectStore.openCursor_5 */ |
+ @DomName('IDBObjectStore.openCursor_5') |
Request _openCursor_5(key_OR_range, direction) native "IDBObjectStore_openCursor_5_Callback"; |
Request put(/*any*/ value, [/*IDBKey*/ key]) { |
@@ -735,12 +643,10 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
return _put_2(value); |
} |
- |
- /** @domName IDBObjectStore.put_1 */ |
+ @DomName('IDBObjectStore.put_1') |
Request _put_1(value, key) native "IDBObjectStore_put_1_Callback"; |
- |
- /** @domName IDBObjectStore.put_2 */ |
+ @DomName('IDBObjectStore.put_2') |
Request _put_2(value) native "IDBObjectStore_put_2_Callback"; |
} |
@@ -751,7 +657,7 @@ class ObjectStore extends NativeFieldWrapperClass1 { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBOpenDBRequest |
+@DomName('IDBOpenDBRequest') |
class OpenDBRequest extends Request implements EventTarget { |
OpenDBRequest.internal() : super.internal(); |
@@ -759,7 +665,8 @@ class OpenDBRequest extends Request implements EventTarget { |
static const EventStreamProvider<VersionChangeEvent> upgradeNeededEvent = const EventStreamProvider<VersionChangeEvent>('upgradeneeded'); |
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true |
+ /// @docsEditable true |
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent') |
OpenDBRequestEvents get on => |
new OpenDBRequestEvents(this); |
@@ -787,7 +694,7 @@ class OpenDBRequestEvents extends RequestEvents { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBRequest |
+@DomName('IDBRequest') |
class Request extends EventTarget { |
Request.internal() : super.internal(); |
@@ -795,44 +702,36 @@ class Request extends EventTarget { |
static const EventStreamProvider<Event> successEvent = const EventStreamProvider<Event>('success'); |
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true |
+ /// @docsEditable true |
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent') |
RequestEvents get on => |
new RequestEvents(this); |
- |
- /** @domName IDBRequest.error */ |
+ @DomName('IDBRequest.error') |
DomError get error native "IDBRequest_error_Getter"; |
- |
- /** @domName IDBRequest.readyState */ |
+ @DomName('IDBRequest.readyState') |
String get readyState native "IDBRequest_readyState_Getter"; |
- |
- /** @domName IDBRequest.result */ |
+ @DomName('IDBRequest.result') |
dynamic get result native "IDBRequest_result_Getter"; |
- |
- /** @domName IDBRequest.source */ |
+ @DomName('IDBRequest.source') |
dynamic get source native "IDBRequest_source_Getter"; |
- |
- /** @domName IDBRequest.transaction */ |
+ @DomName('IDBRequest.transaction') |
Transaction get transaction native "IDBRequest_transaction_Getter"; |
- |
- /** @domName IDBRequest.webkitErrorMessage */ |
+ @DomName('IDBRequest.webkitErrorMessage') |
String get webkitErrorMessage native "IDBRequest_webkitErrorMessage_Getter"; |
- |
- /** @domName IDBRequest.addEventListener */ |
+ @DomName('IDBRequest.addEventListener') |
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "IDBRequest_addEventListener_Callback"; |
- |
- /** @domName IDBRequest.dispatchEvent */ |
+ @DomName('IDBRequest.dispatchEvent') |
bool $dom_dispatchEvent(Event evt) native "IDBRequest_dispatchEvent_Callback"; |
- |
- /** @domName IDBRequest.removeEventListener */ |
+ @DomName('IDBRequest.removeEventListener') |
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "IDBRequest_removeEventListener_Callback"; |
Stream<Event> get onError => errorEvent.forTarget(this); |
@@ -859,7 +758,7 @@ class RequestEvents extends Events { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBTransaction |
+@DomName('IDBTransaction') |
class Transaction extends EventTarget { |
Transaction.internal() : super.internal(); |
@@ -869,44 +768,36 @@ class Transaction extends EventTarget { |
static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error'); |
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true |
+ /// @docsEditable true |
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent') |
TransactionEvents get on => |
new TransactionEvents(this); |
- |
- /** @domName IDBTransaction.db */ |
+ @DomName('IDBTransaction.db') |
Database get db native "IDBTransaction_db_Getter"; |
- |
- /** @domName IDBTransaction.error */ |
+ @DomName('IDBTransaction.error') |
DomError get error native "IDBTransaction_error_Getter"; |
- |
- /** @domName IDBTransaction.mode */ |
+ @DomName('IDBTransaction.mode') |
String get mode native "IDBTransaction_mode_Getter"; |
- |
- /** @domName IDBTransaction.webkitErrorMessage */ |
+ @DomName('IDBTransaction.webkitErrorMessage') |
String get webkitErrorMessage native "IDBTransaction_webkitErrorMessage_Getter"; |
- |
- /** @domName IDBTransaction.abort */ |
+ @DomName('IDBTransaction.abort') |
void abort() native "IDBTransaction_abort_Callback"; |
- |
- /** @domName IDBTransaction.addEventListener */ |
+ @DomName('IDBTransaction.addEventListener') |
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "IDBTransaction_addEventListener_Callback"; |
- |
- /** @domName IDBTransaction.dispatchEvent */ |
+ @DomName('IDBTransaction.dispatchEvent') |
bool $dom_dispatchEvent(Event evt) native "IDBTransaction_dispatchEvent_Callback"; |
- |
- /** @domName IDBTransaction.objectStore */ |
+ @DomName('IDBTransaction.objectStore') |
ObjectStore objectStore(String name) native "IDBTransaction_objectStore_Callback"; |
- |
- /** @domName IDBTransaction.removeEventListener */ |
+ @DomName('IDBTransaction.removeEventListener') |
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "IDBTransaction_removeEventListener_Callback"; |
Stream<Event> get onAbort => abortEvent.forTarget(this); |
@@ -938,16 +829,14 @@ class TransactionEvents extends Events { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBVersionChangeEvent |
+@DomName('IDBVersionChangeEvent') |
class UpgradeNeededEvent extends Event { |
UpgradeNeededEvent.internal() : super.internal(); |
- |
- /** @domName IDBUpgradeNeededEvent.newVersion */ |
+ @DomName('IDBUpgradeNeededEvent.newVersion') |
int get newVersion native "IDBUpgradeNeededEvent_newVersion_Getter"; |
- |
- /** @domName IDBUpgradeNeededEvent.oldVersion */ |
+ @DomName('IDBUpgradeNeededEvent.oldVersion') |
int get oldVersion native "IDBUpgradeNeededEvent_oldVersion_Getter"; |
} |
@@ -958,12 +847,11 @@ class UpgradeNeededEvent extends Event { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBVersionChangeEvent |
+@DomName('IDBVersionChangeEvent') |
class VersionChangeEvent extends Event { |
VersionChangeEvent.internal() : super.internal(); |
- |
- /** @domName IDBVersionChangeEvent.version */ |
+ @DomName('IDBVersionChangeEvent.version') |
String get version native "IDBVersionChangeEvent_version_Getter"; |
} |
@@ -974,13 +862,14 @@ class VersionChangeEvent extends Event { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBVersionChangeRequest |
+@DomName('IDBVersionChangeRequest') |
class VersionChangeRequest extends Request implements EventTarget { |
VersionChangeRequest.internal() : super.internal(); |
static const EventStreamProvider<Event> blockedEvent = const EventStreamProvider<Event>('blocked'); |
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true |
+ /// @docsEditable true |
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent') |
VersionChangeRequestEvents get on => |
new VersionChangeRequestEvents(this); |
@@ -1003,7 +892,7 @@ class VersionChangeRequestEvents extends RequestEvents { |
// WARNING: Do not edit - generated code. |
-/// @domName IDBAny |
+@DomName('IDBAny') |
class _Any extends NativeFieldWrapperClass1 { |
_Any.internal(); |