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

Unified Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Issue 18054021: Fixing up DOM constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/web_sql/dart2js/web_sql_dart2js.dart
diff --git a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
index 0ef2334f895ee146d13e76fbe00159564f32ed90..9a8c7c585bd8902f3fd1825e078603ae4c2dc575 100644
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
@@ -81,7 +81,7 @@ typedef void SqlTransactionErrorCallback(SqlError error);
@Experimental
// http://www.w3.org/TR/webdatabase/#asynchronous-database-api
@Experimental // deprecated
-class SqlDatabase native "Database" {
+class SqlDatabase extends Interceptor native "Database" {
/// Checks if this type is supported on the current platform.
static bool get supported => JS('bool', '!!(window.openDatabase)');
@@ -123,7 +123,7 @@ class SqlDatabase native "Database" {
@DomName('SQLError')
// http://www.w3.org/TR/webdatabase/#sqlerror
@Experimental // deprecated
-class SqlError native "SQLError" {
+class SqlError extends Interceptor native "SQLError" {
@DomName('SQLError.CONSTRAINT_ERR')
@DocsEditable
@@ -174,7 +174,7 @@ class SqlError native "SQLError" {
@DomName('SQLException')
// http://www.w3.org/TR/webdatabase/#sqlexception
@Experimental // deprecated
-class SqlException native "SQLException" {
+class SqlException extends Interceptor native "SQLException" {
@DomName('SQLException.CONSTRAINT_ERR')
@DocsEditable
@@ -225,7 +225,7 @@ class SqlException native "SQLException" {
@DomName('SQLResultSet')
// http://www.w3.org/TR/webdatabase/#sqlresultset
@Experimental // deprecated
-class SqlResultSet native "SQLResultSet" {
+class SqlResultSet extends Interceptor native "SQLResultSet" {
@DomName('SQLResultSet.insertId')
@DocsEditable
@@ -322,7 +322,7 @@ class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
@Experimental
// http://www.w3.org/TR/webdatabase/#sqltransaction
@deprecated // deprecated
-class SqlTransaction native "SQLTransaction" {
+class SqlTransaction extends Interceptor native "SQLTransaction" {
@DomName('SQLTransaction.executeSql')
@DocsEditable
@@ -340,5 +340,5 @@ class SqlTransaction native "SQLTransaction" {
@Experimental
// http://www.w3.org/TR/webdatabase/#sqltransactionsync
@Experimental // deprecated
-abstract class _SQLTransactionSync native "SQLTransactionSync" {
+abstract class _SQLTransactionSync extends Interceptor native "SQLTransactionSync" {
}

Powered by Google App Engine
This is Rietveld 408576698