| 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 4ce232cefc53938a548a4531e0e2e2d94382f75d..426ab312000f203ad590d6995969278e983ed537 100644
|
| --- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
| +++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
| @@ -4,7 +4,7 @@ import 'dart:async';
|
| import 'dart:html';
|
| import 'dart:html_common';
|
| import 'dart:nativewrappers';
|
| -import 'dart:blink' as blink;
|
| +import 'dart:_blink' as _blink;
|
| // 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
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -65,41 +65,41 @@ class Cursor extends NativeFieldWrapperClass2 {
|
|
|
| @DomName('IDBCursor.direction')
|
| @DocsEditable()
|
| - String get direction => blink.Native_IDBCursor_direction_Getter(this);
|
| + String get direction => _blink.Native_IDBCursor_direction_Getter(this);
|
|
|
| @DomName('IDBCursor.key')
|
| @DocsEditable()
|
| - Object get key => blink.Native_IDBCursor_key_Getter(this);
|
| + Object get key => _blink.Native_IDBCursor_key_Getter(this);
|
|
|
| @DomName('IDBCursor.primaryKey')
|
| @DocsEditable()
|
| - Object get primaryKey => blink.Native_IDBCursor_primaryKey_Getter(this);
|
| + Object get primaryKey => _blink.Native_IDBCursor_primaryKey_Getter(this);
|
|
|
| @DomName('IDBCursor.source')
|
| @DocsEditable()
|
| - Object get source => blink.Native_IDBCursor_source_Getter(this);
|
| + Object get source => _blink.Native_IDBCursor_source_Getter(this);
|
|
|
| @DomName('IDBCursor.advance')
|
| @DocsEditable()
|
| - void advance(int count) => blink.Native_IDBCursor_advance_Callback(this, count);
|
| + void advance(int count) => _blink.Native_IDBCursor_advance_Callback(this, count);
|
|
|
| @DomName('IDBCursor.continuePrimaryKey')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void continuePrimaryKey(Object key, Object primaryKey) => blink.Native_IDBCursor_continuePrimaryKey_Callback(this, key, primaryKey);
|
| + void continuePrimaryKey(Object key, Object primaryKey) => _blink.Native_IDBCursor_continuePrimaryKey_Callback(this, key, primaryKey);
|
|
|
| @DomName('IDBCursor.delete')
|
| @DocsEditable()
|
| - Request _delete() => blink.Native_IDBCursor_delete_Callback(this);
|
| + Request _delete() => _blink.Native_IDBCursor_delete_Callback(this);
|
|
|
| @DomName('IDBCursor.next')
|
| @DocsEditable()
|
| @Experimental() // non-standard
|
| - void next([Object key]) => blink.Native_IDBCursor_next_Callback(this, key);
|
| + void next([Object key]) => _blink.Native_IDBCursor_next_Callback(this, key);
|
|
|
| @DomName('IDBCursor.update')
|
| @DocsEditable()
|
| - Request _update(Object value) => blink.Native_IDBCursor_update_Callback(this, value);
|
| + Request _update(Object value) => _blink.Native_IDBCursor_update_Callback(this, value);
|
|
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -118,7 +118,7 @@ class CursorWithValue extends Cursor {
|
|
|
| @DomName('IDBCursorWithValue.value')
|
| @DocsEditable()
|
| - Object get value => blink.Native_IDBCursorWithValue_value_Getter(this);
|
| + Object get value => _blink.Native_IDBCursorWithValue_value_Getter(this);
|
|
|
| }
|
| // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| @@ -201,27 +201,27 @@ class Database extends EventTarget {
|
|
|
| @DomName('IDBDatabase.name')
|
| @DocsEditable()
|
| - String get name => blink.Native_IDBDatabase_name_Getter(this);
|
| + String get name => _blink.Native_IDBDatabase_name_Getter(this);
|
|
|
| @DomName('IDBDatabase.objectStoreNames')
|
| @DocsEditable()
|
| - List<String> get objectStoreNames => blink.Native_IDBDatabase_objectStoreNames_Getter(this);
|
| + List<String> get objectStoreNames => _blink.Native_IDBDatabase_objectStoreNames_Getter(this);
|
|
|
| @DomName('IDBDatabase.version')
|
| @DocsEditable()
|
| - Object get version => blink.Native_IDBDatabase_version_Getter(this);
|
| + Object get version => _blink.Native_IDBDatabase_version_Getter(this);
|
|
|
| @DomName('IDBDatabase.close')
|
| @DocsEditable()
|
| - void close() => blink.Native_IDBDatabase_close_Callback(this);
|
| + void close() => _blink.Native_IDBDatabase_close_Callback(this);
|
|
|
| @DomName('IDBDatabase.createObjectStore')
|
| @DocsEditable()
|
| - ObjectStore _createObjectStore(String name, [Map options]) => blink.Native_IDBDatabase_createObjectStore_Callback(this, name, options);
|
| + ObjectStore _createObjectStore(String name, [Map options]) => _blink.Native_IDBDatabase_createObjectStore_Callback(this, name, options);
|
|
|
| @DomName('IDBDatabase.deleteObjectStore')
|
| @DocsEditable()
|
| - void deleteObjectStore(String name) => blink.Native_IDBDatabase_deleteObjectStore_Callback(this, name);
|
| + void deleteObjectStore(String name) => _blink.Native_IDBDatabase_deleteObjectStore_Callback(this, name);
|
|
|
| Transaction transaction(storeName_OR_storeNames, String mode) {
|
| if ((mode is String || mode == null) && (storeName_OR_storeNames is List<String> || storeName_OR_storeNames == null)) {
|
| @@ -236,35 +236,35 @@ class Database extends EventTarget {
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
|
|
| - Transaction _transaction_1(storeName_OR_storeNames, mode) => blink.Native_IDBDatabase__transaction_1_Callback(this, storeName_OR_storeNames, mode);
|
| + Transaction _transaction_1(storeName_OR_storeNames, mode) => _blink.Native_IDBDatabase__transaction_1_Callback(this, storeName_OR_storeNames, mode);
|
|
|
| - Transaction _transaction_2(storeName_OR_storeNames, mode) => blink.Native_IDBDatabase__transaction_2_Callback(this, storeName_OR_storeNames, mode);
|
| + Transaction _transaction_2(storeName_OR_storeNames, mode) => _blink.Native_IDBDatabase__transaction_2_Callback(this, storeName_OR_storeNames, mode);
|
|
|
| - Transaction _transaction_3(storeName_OR_storeNames, mode) => blink.Native_IDBDatabase__transaction_3_Callback(this, storeName_OR_storeNames, mode);
|
| + Transaction _transaction_3(storeName_OR_storeNames, mode) => _blink.Native_IDBDatabase__transaction_3_Callback(this, storeName_OR_storeNames, mode);
|
|
|
| @DomName('IDBDatabase.transactionList')
|
| @DocsEditable()
|
| - Transaction transactionList(List<String> storeNames, String mode) => blink.Native_IDBDatabase_transactionList_Callback(this, storeNames, mode);
|
| + Transaction transactionList(List<String> storeNames, String mode) => _blink.Native_IDBDatabase_transactionList_Callback(this, storeNames, mode);
|
|
|
| @DomName('IDBDatabase.transactionStore')
|
| @DocsEditable()
|
| - Transaction transactionStore(String storeName, String mode) => blink.Native_IDBDatabase_transactionStore_Callback(this, storeName, mode);
|
| + Transaction transactionStore(String storeName, String mode) => _blink.Native_IDBDatabase_transactionStore_Callback(this, storeName, mode);
|
|
|
| @DomName('IDBDatabase.transactionStores')
|
| @DocsEditable()
|
| - Transaction transactionStores(List<String> storeNames, String mode) => blink.Native_IDBDatabase_transactionStores_Callback(this, storeNames, mode);
|
| + Transaction transactionStores(List<String> storeNames, String mode) => _blink.Native_IDBDatabase_transactionStores_Callback(this, storeNames, mode);
|
|
|
| @DomName('IDBDatabase.addEventListener')
|
| @DocsEditable()
|
| - void addEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_IDBDatabase_addEventListener_Callback(this, type, listener, useCapture);
|
| + void addEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_IDBDatabase_addEventListener_Callback(this, type, listener, useCapture);
|
|
|
| @DomName('IDBDatabase.dispatchEvent')
|
| @DocsEditable()
|
| - bool dispatchEvent(Event event) => blink.Native_IDBDatabase_dispatchEvent_Callback(this, event);
|
| + bool dispatchEvent(Event event) => _blink.Native_IDBDatabase_dispatchEvent_Callback(this, event);
|
|
|
| @DomName('IDBDatabase.removeEventListener')
|
| @DocsEditable()
|
| - void removeEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_IDBDatabase_removeEventListener_Callback(this, type, listener, useCapture);
|
| + void removeEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_IDBDatabase_removeEventListener_Callback(this, type, listener, useCapture);
|
|
|
| /// Stream of `abort` events handled by this [Database].
|
| @DomName('IDBDatabase.onabort')
|
| @@ -380,11 +380,11 @@ class IdbFactory extends NativeFieldWrapperClass2 {
|
|
|
| @DomName('IDBFactory.cmp')
|
| @DocsEditable()
|
| - int cmp(Object first, Object second) => blink.Native_IDBFactory_cmp_Callback(this, first, second);
|
| + int cmp(Object first, Object second) => _blink.Native_IDBFactory_cmp_Callback(this, first, second);
|
|
|
| @DomName('IDBFactory.deleteDatabase')
|
| @DocsEditable()
|
| - OpenDBRequest _deleteDatabase(String name) => blink.Native_IDBFactory_deleteDatabase_Callback(this, name);
|
| + OpenDBRequest _deleteDatabase(String name) => _blink.Native_IDBFactory_deleteDatabase_Callback(this, name);
|
|
|
| OpenDBRequest _open(String name, [int version]) {
|
| if (version != null) {
|
| @@ -393,16 +393,16 @@ class IdbFactory extends NativeFieldWrapperClass2 {
|
| return _open_2(name);
|
| }
|
|
|
| - OpenDBRequest _open_1(name, version) => blink.Native_IDBFactory__open_1_Callback(this, name, version);
|
| + OpenDBRequest _open_1(name, version) => _blink.Native_IDBFactory__open_1_Callback(this, name, version);
|
|
|
| - OpenDBRequest _open_2(name) => blink.Native_IDBFactory__open_2_Callback(this, name);
|
| + OpenDBRequest _open_2(name) => _blink.Native_IDBFactory__open_2_Callback(this, name);
|
|
|
| @DomName('IDBFactory.webkitGetDatabaseNames')
|
| @DocsEditable()
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.SAFARI)
|
| @Experimental()
|
| - Request _webkitGetDatabaseNames() => blink.Native_IDBFactory_webkitGetDatabaseNames_Callback(this);
|
| + Request _webkitGetDatabaseNames() => _blink.Native_IDBFactory_webkitGetDatabaseNames_Callback(this);
|
|
|
| }
|
|
|
| @@ -520,43 +520,43 @@ class Index extends NativeFieldWrapperClass2 {
|
|
|
| @DomName('IDBIndex.keyPath')
|
| @DocsEditable()
|
| - Object get keyPath => blink.Native_IDBIndex_keyPath_Getter(this);
|
| + Object get keyPath => _blink.Native_IDBIndex_keyPath_Getter(this);
|
|
|
| @DomName('IDBIndex.multiEntry')
|
| @DocsEditable()
|
| - bool get multiEntry => blink.Native_IDBIndex_multiEntry_Getter(this);
|
| + bool get multiEntry => _blink.Native_IDBIndex_multiEntry_Getter(this);
|
|
|
| @DomName('IDBIndex.name')
|
| @DocsEditable()
|
| - String get name => blink.Native_IDBIndex_name_Getter(this);
|
| + String get name => _blink.Native_IDBIndex_name_Getter(this);
|
|
|
| @DomName('IDBIndex.objectStore')
|
| @DocsEditable()
|
| - ObjectStore get objectStore => blink.Native_IDBIndex_objectStore_Getter(this);
|
| + ObjectStore get objectStore => _blink.Native_IDBIndex_objectStore_Getter(this);
|
|
|
| @DomName('IDBIndex.unique')
|
| @DocsEditable()
|
| - bool get unique => blink.Native_IDBIndex_unique_Getter(this);
|
| + bool get unique => _blink.Native_IDBIndex_unique_Getter(this);
|
|
|
| @DomName('IDBIndex.count')
|
| @DocsEditable()
|
| - Request _count(Object key) => blink.Native_IDBIndex_count_Callback(this, key);
|
| + Request _count(Object key) => _blink.Native_IDBIndex_count_Callback(this, key);
|
|
|
| @DomName('IDBIndex.get')
|
| @DocsEditable()
|
| - Request _get(Object key) => blink.Native_IDBIndex_get_Callback(this, key);
|
| + Request _get(Object key) => _blink.Native_IDBIndex_get_Callback(this, key);
|
|
|
| @DomName('IDBIndex.getKey')
|
| @DocsEditable()
|
| - Request _getKey(Object key) => blink.Native_IDBIndex_getKey_Callback(this, key);
|
| + Request _getKey(Object key) => _blink.Native_IDBIndex_getKey_Callback(this, key);
|
|
|
| @DomName('IDBIndex.openCursor')
|
| @DocsEditable()
|
| - Request _openCursor(Object key, [String direction]) => blink.Native_IDBIndex_openCursor_Callback(this, key, direction);
|
| + Request _openCursor(Object key, [String direction]) => _blink.Native_IDBIndex_openCursor_Callback(this, key, direction);
|
|
|
| @DomName('IDBIndex.openKeyCursor')
|
| @DocsEditable()
|
| - Request _openKeyCursor(Object key, [String direction]) => blink.Native_IDBIndex_openKeyCursor_Callback(this, key, direction);
|
| + Request _openKeyCursor(Object key, [String direction]) => _blink.Native_IDBIndex_openKeyCursor_Callback(this, key, direction);
|
|
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -590,39 +590,39 @@ class KeyRange extends NativeFieldWrapperClass2 {
|
|
|
| @DomName('IDBKeyRange.lower')
|
| @DocsEditable()
|
| - Object get lower => blink.Native_IDBKeyRange_lower_Getter(this);
|
| + Object get lower => _blink.Native_IDBKeyRange_lower_Getter(this);
|
|
|
| @DomName('IDBKeyRange.lowerOpen')
|
| @DocsEditable()
|
| - bool get lowerOpen => blink.Native_IDBKeyRange_lowerOpen_Getter(this);
|
| + bool get lowerOpen => _blink.Native_IDBKeyRange_lowerOpen_Getter(this);
|
|
|
| @DomName('IDBKeyRange.upper')
|
| @DocsEditable()
|
| - Object get upper => blink.Native_IDBKeyRange_upper_Getter(this);
|
| + Object get upper => _blink.Native_IDBKeyRange_upper_Getter(this);
|
|
|
| @DomName('IDBKeyRange.upperOpen')
|
| @DocsEditable()
|
| - bool get upperOpen => blink.Native_IDBKeyRange_upperOpen_Getter(this);
|
| + bool get upperOpen => _blink.Native_IDBKeyRange_upperOpen_Getter(this);
|
|
|
| @DomName('IDBKeyRange.bound_')
|
| @DocsEditable()
|
| @Experimental() // non-standard
|
| - static KeyRange bound_(Object lower, Object upper, [bool lowerOpen, bool upperOpen]) => blink.Native_IDBKeyRange_bound__Callback(lower, upper, lowerOpen, upperOpen);
|
| + static KeyRange bound_(Object lower, Object upper, [bool lowerOpen, bool upperOpen]) => _blink.Native_IDBKeyRange_bound__Callback(lower, upper, lowerOpen, upperOpen);
|
|
|
| @DomName('IDBKeyRange.lowerBound_')
|
| @DocsEditable()
|
| @Experimental() // non-standard
|
| - static KeyRange lowerBound_(Object bound, [bool open]) => blink.Native_IDBKeyRange_lowerBound__Callback(bound, open);
|
| + static KeyRange lowerBound_(Object bound, [bool open]) => _blink.Native_IDBKeyRange_lowerBound__Callback(bound, open);
|
|
|
| @DomName('IDBKeyRange.only_')
|
| @DocsEditable()
|
| @Experimental() // non-standard
|
| - static KeyRange only_(Object value) => blink.Native_IDBKeyRange_only__Callback(value);
|
| + static KeyRange only_(Object value) => _blink.Native_IDBKeyRange_only__Callback(value);
|
|
|
| @DomName('IDBKeyRange.upperBound_')
|
| @DocsEditable()
|
| @Experimental() // non-standard
|
| - static KeyRange upperBound_(Object bound, [bool open]) => blink.Native_IDBKeyRange_upperBound__Callback(bound, open);
|
| + static KeyRange upperBound_(Object bound, [bool open]) => _blink.Native_IDBKeyRange_upperBound__Callback(bound, open);
|
|
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -765,35 +765,35 @@ class ObjectStore extends NativeFieldWrapperClass2 {
|
|
|
| @DomName('IDBObjectStore.autoIncrement')
|
| @DocsEditable()
|
| - bool get autoIncrement => blink.Native_IDBObjectStore_autoIncrement_Getter(this);
|
| + bool get autoIncrement => _blink.Native_IDBObjectStore_autoIncrement_Getter(this);
|
|
|
| @DomName('IDBObjectStore.indexNames')
|
| @DocsEditable()
|
| - List<String> get indexNames => blink.Native_IDBObjectStore_indexNames_Getter(this);
|
| + List<String> get indexNames => _blink.Native_IDBObjectStore_indexNames_Getter(this);
|
|
|
| @DomName('IDBObjectStore.keyPath')
|
| @DocsEditable()
|
| - Object get keyPath => blink.Native_IDBObjectStore_keyPath_Getter(this);
|
| + Object get keyPath => _blink.Native_IDBObjectStore_keyPath_Getter(this);
|
|
|
| @DomName('IDBObjectStore.name')
|
| @DocsEditable()
|
| - String get name => blink.Native_IDBObjectStore_name_Getter(this);
|
| + String get name => _blink.Native_IDBObjectStore_name_Getter(this);
|
|
|
| @DomName('IDBObjectStore.transaction')
|
| @DocsEditable()
|
| - Transaction get transaction => blink.Native_IDBObjectStore_transaction_Getter(this);
|
| + Transaction get transaction => _blink.Native_IDBObjectStore_transaction_Getter(this);
|
|
|
| @DomName('IDBObjectStore.add')
|
| @DocsEditable()
|
| - Request _add(Object value, [Object key]) => blink.Native_IDBObjectStore_add_Callback(this, value, key);
|
| + Request _add(Object value, [Object key]) => _blink.Native_IDBObjectStore_add_Callback(this, value, key);
|
|
|
| @DomName('IDBObjectStore.clear')
|
| @DocsEditable()
|
| - Request _clear() => blink.Native_IDBObjectStore_clear_Callback(this);
|
| + Request _clear() => _blink.Native_IDBObjectStore_clear_Callback(this);
|
|
|
| @DomName('IDBObjectStore.count')
|
| @DocsEditable()
|
| - Request _count(Object key) => blink.Native_IDBObjectStore_count_Callback(this, key);
|
| + Request _count(Object key) => _blink.Native_IDBObjectStore_count_Callback(this, key);
|
|
|
| Index _createIndex(String name, keyPath, [Map options]) {
|
| if ((options is Map || options == null) && (keyPath is List<String> || keyPath == null) && (name is String || name == null)) {
|
| @@ -805,38 +805,38 @@ class ObjectStore extends NativeFieldWrapperClass2 {
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
|
|
| - Index _createIndex_1(name, keyPath, options) => blink.Native_IDBObjectStore__createIndex_1_Callback(this, name, keyPath, options);
|
| + Index _createIndex_1(name, keyPath, options) => _blink.Native_IDBObjectStore__createIndex_1_Callback(this, name, keyPath, options);
|
|
|
| - Index _createIndex_2(name, keyPath, options) => blink.Native_IDBObjectStore__createIndex_2_Callback(this, name, keyPath, options);
|
| + Index _createIndex_2(name, keyPath, options) => _blink.Native_IDBObjectStore__createIndex_2_Callback(this, name, keyPath, options);
|
|
|
| @DomName('IDBObjectStore.delete')
|
| @DocsEditable()
|
| - Request _delete(Object key) => blink.Native_IDBObjectStore_delete_Callback(this, key);
|
| + Request _delete(Object key) => _blink.Native_IDBObjectStore_delete_Callback(this, key);
|
|
|
| @DomName('IDBObjectStore.deleteIndex')
|
| @DocsEditable()
|
| - void deleteIndex(String name) => blink.Native_IDBObjectStore_deleteIndex_Callback(this, name);
|
| + void deleteIndex(String name) => _blink.Native_IDBObjectStore_deleteIndex_Callback(this, name);
|
|
|
| @DomName('IDBObjectStore.get')
|
| @DocsEditable()
|
| - Request _get(Object key) => blink.Native_IDBObjectStore_get_Callback(this, key);
|
| + Request _get(Object key) => _blink.Native_IDBObjectStore_get_Callback(this, key);
|
|
|
| @DomName('IDBObjectStore.index')
|
| @DocsEditable()
|
| - Index index(String name) => blink.Native_IDBObjectStore_index_Callback(this, name);
|
| + Index index(String name) => _blink.Native_IDBObjectStore_index_Callback(this, name);
|
|
|
| @DomName('IDBObjectStore.openCursor')
|
| @DocsEditable()
|
| - Request _openCursor(Object key, [String direction]) => blink.Native_IDBObjectStore_openCursor_Callback(this, key, direction);
|
| + Request _openCursor(Object key, [String direction]) => _blink.Native_IDBObjectStore_openCursor_Callback(this, key, direction);
|
|
|
| @DomName('IDBObjectStore.openKeyCursor')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Request openKeyCursor(Object range, String direction) => blink.Native_IDBObjectStore_openKeyCursor_Callback(this, range, direction);
|
| + Request openKeyCursor(Object range, String direction) => _blink.Native_IDBObjectStore_openKeyCursor_Callback(this, range, direction);
|
|
|
| @DomName('IDBObjectStore.put')
|
| @DocsEditable()
|
| - Request _put(Object value, [Object key]) => blink.Native_IDBObjectStore_put_Callback(this, value, key);
|
| + Request _put(Object value, [Object key]) => _blink.Native_IDBObjectStore_put_Callback(this, value, key);
|
|
|
|
|
| /**
|
| @@ -947,35 +947,35 @@ class Request extends EventTarget {
|
|
|
| @DomName('IDBRequest.error')
|
| @DocsEditable()
|
| - DomError get error => blink.Native_IDBRequest_error_Getter(this);
|
| + DomError get error => _blink.Native_IDBRequest_error_Getter(this);
|
|
|
| @DomName('IDBRequest.readyState')
|
| @DocsEditable()
|
| - String get readyState => blink.Native_IDBRequest_readyState_Getter(this);
|
| + String get readyState => _blink.Native_IDBRequest_readyState_Getter(this);
|
|
|
| @DomName('IDBRequest.result')
|
| @DocsEditable()
|
| - Object get result => blink.Native_IDBRequest_result_Getter(this);
|
| + Object get result => _blink.Native_IDBRequest_result_Getter(this);
|
|
|
| @DomName('IDBRequest.source')
|
| @DocsEditable()
|
| - Object get source => blink.Native_IDBRequest_source_Getter(this);
|
| + Object get source => _blink.Native_IDBRequest_source_Getter(this);
|
|
|
| @DomName('IDBRequest.transaction')
|
| @DocsEditable()
|
| - Transaction get transaction => blink.Native_IDBRequest_transaction_Getter(this);
|
| + Transaction get transaction => _blink.Native_IDBRequest_transaction_Getter(this);
|
|
|
| @DomName('IDBRequest.addEventListener')
|
| @DocsEditable()
|
| - void addEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_IDBRequest_addEventListener_Callback(this, type, listener, useCapture);
|
| + void addEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_IDBRequest_addEventListener_Callback(this, type, listener, useCapture);
|
|
|
| @DomName('IDBRequest.dispatchEvent')
|
| @DocsEditable()
|
| - bool dispatchEvent(Event event) => blink.Native_IDBRequest_dispatchEvent_Callback(this, event);
|
| + bool dispatchEvent(Event event) => _blink.Native_IDBRequest_dispatchEvent_Callback(this, event);
|
|
|
| @DomName('IDBRequest.removeEventListener')
|
| @DocsEditable()
|
| - void removeEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_IDBRequest_removeEventListener_Callback(this, type, listener, useCapture);
|
| + void removeEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_IDBRequest_removeEventListener_Callback(this, type, listener, useCapture);
|
|
|
| /// Stream of `error` events handled by this [Request].
|
| @DomName('IDBRequest.onerror')
|
| @@ -1060,35 +1060,35 @@ class Transaction extends EventTarget {
|
|
|
| @DomName('IDBTransaction.db')
|
| @DocsEditable()
|
| - Database get db => blink.Native_IDBTransaction_db_Getter(this);
|
| + Database get db => _blink.Native_IDBTransaction_db_Getter(this);
|
|
|
| @DomName('IDBTransaction.error')
|
| @DocsEditable()
|
| - DomError get error => blink.Native_IDBTransaction_error_Getter(this);
|
| + DomError get error => _blink.Native_IDBTransaction_error_Getter(this);
|
|
|
| @DomName('IDBTransaction.mode')
|
| @DocsEditable()
|
| - String get mode => blink.Native_IDBTransaction_mode_Getter(this);
|
| + String get mode => _blink.Native_IDBTransaction_mode_Getter(this);
|
|
|
| @DomName('IDBTransaction.abort')
|
| @DocsEditable()
|
| - void abort() => blink.Native_IDBTransaction_abort_Callback(this);
|
| + void abort() => _blink.Native_IDBTransaction_abort_Callback(this);
|
|
|
| @DomName('IDBTransaction.objectStore')
|
| @DocsEditable()
|
| - ObjectStore objectStore(String name) => blink.Native_IDBTransaction_objectStore_Callback(this, name);
|
| + ObjectStore objectStore(String name) => _blink.Native_IDBTransaction_objectStore_Callback(this, name);
|
|
|
| @DomName('IDBTransaction.addEventListener')
|
| @DocsEditable()
|
| - void addEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_IDBTransaction_addEventListener_Callback(this, type, listener, useCapture);
|
| + void addEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_IDBTransaction_addEventListener_Callback(this, type, listener, useCapture);
|
|
|
| @DomName('IDBTransaction.dispatchEvent')
|
| @DocsEditable()
|
| - bool dispatchEvent(Event event) => blink.Native_IDBTransaction_dispatchEvent_Callback(this, event);
|
| + bool dispatchEvent(Event event) => _blink.Native_IDBTransaction_dispatchEvent_Callback(this, event);
|
|
|
| @DomName('IDBTransaction.removeEventListener')
|
| @DocsEditable()
|
| - void removeEventListener(String type, EventListener listener, [bool useCapture]) => blink.Native_IDBTransaction_removeEventListener_Callback(this, type, listener, useCapture);
|
| + void removeEventListener(String type, EventListener listener, [bool useCapture]) => _blink.Native_IDBTransaction_removeEventListener_Callback(this, type, listener, useCapture);
|
|
|
| /// Stream of `abort` events handled by this [Transaction].
|
| @DomName('IDBTransaction.onabort')
|
| @@ -1123,19 +1123,19 @@ class VersionChangeEvent extends Event {
|
| @DomName('IDBVersionChangeEvent.dataLoss')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - String get dataLoss => blink.Native_IDBVersionChangeEvent_dataLoss_Getter(this);
|
| + String get dataLoss => _blink.Native_IDBVersionChangeEvent_dataLoss_Getter(this);
|
|
|
| @DomName('IDBVersionChangeEvent.dataLossMessage')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - String get dataLossMessage => blink.Native_IDBVersionChangeEvent_dataLossMessage_Getter(this);
|
| + String get dataLossMessage => _blink.Native_IDBVersionChangeEvent_dataLossMessage_Getter(this);
|
|
|
| @DomName('IDBVersionChangeEvent.newVersion')
|
| @DocsEditable()
|
| - Object get newVersion => blink.Native_IDBVersionChangeEvent_newVersion_Getter(this);
|
| + Object get newVersion => _blink.Native_IDBVersionChangeEvent_newVersion_Getter(this);
|
|
|
| @DomName('IDBVersionChangeEvent.oldVersion')
|
| @DocsEditable()
|
| - Object get oldVersion => blink.Native_IDBVersionChangeEvent_oldVersion_Getter(this);
|
| + Object get oldVersion => _blink.Native_IDBVersionChangeEvent_oldVersion_Getter(this);
|
|
|
| }
|
|
|