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

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

Issue 17508002: Revert "Making all DOM types abstract and removing superfluous Dartium 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
« no previous file with comments | « sdk/lib/web_gl/dartium/web_gl_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d8b647e0bb60b98b75790e42441f3812ee1c0d68..0ef2334f895ee146d13e76fbe00159564f32ed90 100644
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
@@ -82,8 +82,6 @@ typedef void SqlTransactionErrorCallback(SqlError error);
// http://www.w3.org/TR/webdatabase/#asynchronous-database-api
@Experimental // deprecated
class SqlDatabase native "Database" {
- // To suppress missing implicit constructor warnings.
- factory SqlDatabase._() { throw new UnsupportedError("Not supported"); }
/// Checks if this type is supported on the current platform.
static bool get supported => JS('bool', '!!(window.openDatabase)');
@@ -126,8 +124,6 @@ class SqlDatabase native "Database" {
// http://www.w3.org/TR/webdatabase/#sqlerror
@Experimental // deprecated
class SqlError native "SQLError" {
- // To suppress missing implicit constructor warnings.
- factory SqlError._() { throw new UnsupportedError("Not supported"); }
@DomName('SQLError.CONSTRAINT_ERR')
@DocsEditable
@@ -179,8 +175,6 @@ class SqlError native "SQLError" {
// http://www.w3.org/TR/webdatabase/#sqlexception
@Experimental // deprecated
class SqlException native "SQLException" {
- // To suppress missing implicit constructor warnings.
- factory SqlException._() { throw new UnsupportedError("Not supported"); }
@DomName('SQLException.CONSTRAINT_ERR')
@DocsEditable
@@ -232,8 +226,6 @@ class SqlException native "SQLException" {
// http://www.w3.org/TR/webdatabase/#sqlresultset
@Experimental // deprecated
class SqlResultSet native "SQLResultSet" {
- // To suppress missing implicit constructor warnings.
- factory SqlResultSet._() { throw new UnsupportedError("Not supported"); }
@DomName('SQLResultSet.insertId')
@DocsEditable
@@ -257,8 +249,6 @@ class SqlResultSet native "SQLResultSet" {
// http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist
@Experimental // deprecated
class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableListMixin<Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSetRowList" {
- // To suppress missing implicit constructor warnings.
- factory SqlResultSetRowList._() { throw new UnsupportedError("Not supported"); }
@DomName('SQLResultSetRowList.length')
@DocsEditable
@@ -333,8 +323,6 @@ class SqlResultSetRowList extends Interceptor with ListMixin<Map>, ImmutableList
// http://www.w3.org/TR/webdatabase/#sqltransaction
@deprecated // deprecated
class SqlTransaction native "SQLTransaction" {
- // To suppress missing implicit constructor warnings.
- factory SqlTransaction._() { throw new UnsupportedError("Not supported"); }
@DomName('SQLTransaction.executeSql')
@DocsEditable
@@ -353,6 +341,4 @@ class SqlTransaction native "SQLTransaction" {
// http://www.w3.org/TR/webdatabase/#sqltransactionsync
@Experimental // deprecated
abstract class _SQLTransactionSync native "SQLTransactionSync" {
- // To suppress missing implicit constructor warnings.
- factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported"); }
}
« no previous file with comments | « sdk/lib/web_gl/dartium/web_gl_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698