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

Unified Diff: sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing merged classes in dartium not compiling under dartc. Created 8 years, 1 month 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/html/templates/html/dart2js/impl_IDBDatabase.darttemplate
diff --git a/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate b/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate
index 1817667a75ae45db583b7a58265762f0f6a07e94..0082f70d96af81c7f110bc2f8193b78cc61954b0 100644
--- a/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate
+++ b/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate
@@ -4,7 +4,7 @@
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- _IDBTransactionImpl transaction(storeName_OR_storeNames, String mode) {
+ IDBTransaction transaction(storeName_OR_storeNames, String mode) {
if (mode != 'readonly' && mode != 'readwrite') {
throw new ArgumentError(mode);
}
@@ -29,24 +29,24 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
return txn;
}
- static _IDBTransactionImpl _transaction_string_mode($CLASSNAME db, stores, mode) {
+ static IDBTransaction _transaction_string_mode($CLASSNAME db, stores, mode) {
return db._transaction(stores, mode);
}
- static _IDBTransactionImpl _transaction_numeric_mode($CLASSNAME db, stores, mode) {
+ static IDBTransaction _transaction_numeric_mode($CLASSNAME db, stores, mode) {
int intMode;
if (mode == 'readonly') intMode = IDBTransaction.READ_ONLY;
if (mode == 'readwrite') intMode = IDBTransaction.READ_WRITE;
return db._transaction(stores, intMode);
}
- _IDBTransactionImpl _transaction(stores, mode) native 'transaction';
+ IDBTransaction _transaction(stores, mode) native 'transaction';
static bool _hasNumericMode(txn) =>
JS('bool', 'typeof(#.mode) === "number"', txn);
$!MEMBERS}
-// TODO(sra): This should be a static member of _IDBTransactionImpl but dart2js
+// TODO(sra): This should be a static member of IDBTransaction but dart2js
// can't handle that. Move it back after dart2js is completely done.
var _transaction_fn; // Assigned one of the static methods.

Powered by Google App Engine
This is Rietveld 408576698