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

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

Issue 1235903003: Turn on JS interop usage for DOM Dart libraries (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Merged Created 5 years, 5 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 460b1d997a5aec14d826d30238f9535629baf27c..f0a5782ada6793a3a7f98110fda23854ebbbb708 100644
--- a/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
+++ b/sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
@@ -122,6 +122,21 @@ final indexed_dbBlinkMap = {
};
+// FIXME: Can we make this private?
+final indexed_dbBlinkFunctionMap = {
+ 'IDBCursor': () => Cursor.internalCreateCursor,
+ 'IDBCursorWithValue': () => CursorWithValue.internalCreateCursorWithValue,
+ 'IDBDatabase': () => Database.internalCreateDatabase,
+ 'IDBFactory': () => IdbFactory.internalCreateIdbFactory,
+ 'IDBIndex': () => Index.internalCreateIndex,
+ 'IDBKeyRange': () => KeyRange.internalCreateKeyRange,
+ 'IDBObjectStore': () => ObjectStore.internalCreateObjectStore,
+ 'IDBOpenDBRequest': () => OpenDBRequest.internalCreateOpenDBRequest,
+ 'IDBRequest': () => Request.internalCreateRequest,
+ 'IDBTransaction': () => Transaction.internalCreateTransaction,
+ 'IDBVersionChangeEvent': () => VersionChangeEvent.internalCreateVersionChangeEvent,
+
+};
// Copyright (c) 2013, 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.
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698