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

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

Issue 15074006: Generating annotations from DOM triage list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 701f45f84220f8dc804ea994530f77907f433bae..ac4bd223f4809cf755ff819bb93c45e5f068d133 100644
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
@@ -31,6 +31,9 @@ import 'dart:_foreign_helper' show JS;
// WARNING: Do not edit - generated code.
+@DomName('SQLStatementCallback')
+// http://www.w3.org/TR/webdatabase/#sqlstatementcallback
+@Experimental // deprecated
typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resultSet);
// 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
@@ -39,6 +42,9 @@ typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resul
// WARNING: Do not edit - generated code.
+@DomName('SQLStatementErrorCallback')
+// http://www.w3.org/TR/webdatabase/#sqlstatementerrorcallback
+@Experimental // deprecated
typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError error);
// 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
@@ -47,6 +53,9 @@ typedef void SqlStatementErrorCallback(SqlTransaction transaction, SqlError erro
// WARNING: Do not edit - generated code.
+@DomName('SQLTransactionCallback')
+// http://www.w3.org/TR/webdatabase/#sqltransactioncallback
+@Experimental // deprecated
typedef void SqlTransactionCallback(SqlTransaction transaction);
// 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
@@ -55,6 +64,9 @@ typedef void SqlTransactionCallback(SqlTransaction transaction);
// WARNING: Do not edit - generated code.
+@DomName('SQLTransactionErrorCallback')
+// http://www.w3.org/TR/webdatabase/#sqltransactionerrorcallback
+@Experimental // deprecated
typedef void SqlTransactionErrorCallback(SqlError error);
// 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
@@ -66,6 +78,8 @@ typedef void SqlTransactionErrorCallback(SqlError error);
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental
+// http://www.w3.org/TR/webdatabase/#asynchronous-database-api
+@Experimental // deprecated
class SqlDatabase native "Database" {
/// Checks if this type is supported on the current platform.
@@ -106,6 +120,8 @@ class SqlDatabase native "Database" {
@DocsEditable
@DomName('SQLError')
+// http://www.w3.org/TR/webdatabase/#sqlerror
+@Experimental // deprecated
class SqlError native "SQLError" {
@DomName('SQLError.CONSTRAINT_ERR')
@@ -155,6 +171,8 @@ class SqlError native "SQLError" {
@DocsEditable
@DomName('SQLException')
+// http://www.w3.org/TR/webdatabase/#sqlexception
+@Experimental // deprecated
class SqlException native "SQLException" {
@DomName('SQLException.CONSTRAINT_ERR')
@@ -204,6 +222,8 @@ class SqlException native "SQLException" {
@DocsEditable
@DomName('SQLResultSet')
+// http://www.w3.org/TR/webdatabase/#sqlresultset
+@Experimental // deprecated
class SqlResultSet native "SQLResultSet" {
@DomName('SQLResultSet.insertId')
@@ -225,6 +245,8 @@ class SqlResultSet native "SQLResultSet" {
@DocsEditable
@DomName('SQLResultSetRowList')
+// http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist
+@Experimental // deprecated
class SqlResultSetRowList extends Object with ListMixin<Map>, ImmutableListMixin<Map> implements JavaScriptIndexingBehavior, List<Map> native "SQLResultSetRowList" {
@DomName('SQLResultSetRowList.length')
@@ -297,6 +319,8 @@ class SqlResultSetRowList extends Object with ListMixin<Map>, ImmutableListMixin
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental
+// http://www.w3.org/TR/webdatabase/#sqltransaction
+@deprecated // deprecated
class SqlTransaction native "SQLTransaction" {
@DomName('SQLTransaction.executeSql')
@@ -313,5 +337,7 @@ class SqlTransaction native "SQLTransaction" {
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental
+// http://www.w3.org/TR/webdatabase/#sqltransactionsync
+@Experimental // deprecated
abstract class _SQLTransactionSync native "SQLTransactionSync" {
}

Powered by Google App Engine
This is Rietveld 408576698