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

Unified Diff: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart

Issue 11887006: Changed @domName annotation in comment to full fledge @DomName annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged and stuff.' Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: 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 445f2febef3652cf7d2dabdf9d19447b82e402d2..a552e2f8e0a1cd243ac9ec77b96c16890c62c27a 100644
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
@@ -39,28 +39,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]) {
@@ -71,20 +66,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";
}
@@ -95,12 +86,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";
}
@@ -111,7 +101,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')
@@ -119,44 +109,36 @@ class CursorWithValue extends Cursor {
class Database extends EventTarget {
Database.internal() : super.internal();
- /// @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) {
@@ -172,16 +154,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";
}
@@ -205,7 +184,8 @@ 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')
@@ -220,12 +200,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]) {
@@ -235,16 +213,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";
}
@@ -255,28 +230,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]) {
@@ -292,16 +262,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) {
@@ -314,12 +281,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) {
@@ -332,12 +297,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]) {
@@ -359,24 +322,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]) {
@@ -398,24 +356,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";
}
@@ -426,7 +379,7 @@ class Index extends NativeFieldWrapperClass1 {
// WARNING: Do not edit - generated code.
-/// @domName IDBKey
+@DomName("IDBKey")
class Key extends NativeFieldWrapperClass1 {
Key.internal();
@@ -436,29 +389,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(
@@ -466,20 +411,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]) {
@@ -492,16 +433,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]) {
@@ -511,16 +449,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]) {
@@ -530,12 +465,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";
}
@@ -546,28 +479,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]) {
@@ -577,16 +505,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]) {
@@ -602,16 +527,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]) {
@@ -624,12 +546,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) {
@@ -642,16 +562,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) {
@@ -664,16 +581,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]) {
@@ -695,24 +609,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]) {
@@ -722,12 +631,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";
}
@@ -738,11 +645,12 @@ class ObjectStore extends NativeFieldWrapperClass1 {
// WARNING: Do not edit - generated code.
-/// @domName IDBOpenDBRequest
+@DomName("IDBOpenDBRequest")
class OpenDBRequest extends Request implements EventTarget {
OpenDBRequest.internal() : super.internal();
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName("EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent")
OpenDBRequestEvents get on =>
new OpenDBRequestEvents(this);
@@ -766,48 +674,40 @@ class OpenDBRequestEvents extends RequestEvents {
// WARNING: Do not edit - generated code.
-/// @domName IDBRequest
+@DomName("IDBRequest")
class Request extends EventTarget {
Request.internal() : super.internal();
- /// @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";
}
@@ -830,48 +730,40 @@ class RequestEvents extends Events {
// WARNING: Do not edit - generated code.
-/// @domName IDBTransaction
+@DomName("IDBTransaction")
class Transaction extends EventTarget {
Transaction.internal() : super.internal();
- /// @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";
}
@@ -897,16 +789,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";
}
@@ -917,12 +807,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";
}
@@ -933,11 +822,12 @@ class VersionChangeEvent extends Event {
// WARNING: Do not edit - generated code.
-/// @domName IDBVersionChangeRequest
+@DomName("IDBVersionChangeRequest")
class VersionChangeRequest extends Request implements EventTarget {
VersionChangeRequest.internal() : super.internal();
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName("EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent")
VersionChangeRequestEvents get on =>
new VersionChangeRequestEvents(this);
@@ -958,7 +848,7 @@ class VersionChangeRequestEvents extends RequestEvents {
// WARNING: Do not edit - generated code.
-/// @domName IDBAny
+@DomName("IDBAny")
class _Any extends NativeFieldWrapperClass1 {
_Any.internal();

Powered by Google App Engine
This is Rietveld 408576698