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

Side by Side Diff: sdk/lib/web_sql/dartium/web_sql_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 unified diff | Download patch
« no previous file with comments | « sdk/lib/web_gl/dartium/web_gl_dartium.dart ('k') | tools/dom/scripts/go.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * An API for storing data in the browser that can be queried with SQL. 2 * An API for storing data in the browser that can be queried with SQL.
3 * 3 *
4 * **Caution:** this specification is no longer actively maintained by the Web 4 * **Caution:** this specification is no longer actively maintained by the Web
5 * Applications Working Group and may be removed at any time. 5 * Applications Working Group and may be removed at any time.
6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /) 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /)
7 * for more information. 7 * for more information.
8 * 8 *
9 * The [dart:indexed_db] APIs is a recommended alternatives. 9 * The [dart:indexed_db] APIs is a recommended alternatives.
10 */ 10 */
(...skipping 16 matching lines...) Expand all
27 // FIXME: Can we make this private? 27 // FIXME: Can we make this private?
28 final web_sqlBlinkMap = { 28 final web_sqlBlinkMap = {
29 'Database': () => SqlDatabase, 29 'Database': () => SqlDatabase,
30 'SQLError': () => SqlError, 30 'SQLError': () => SqlError,
31 'SQLResultSet': () => SqlResultSet, 31 'SQLResultSet': () => SqlResultSet,
32 'SQLResultSetRowList': () => SqlResultSetRowList, 32 'SQLResultSetRowList': () => SqlResultSetRowList,
33 'SQLTransaction': () => SqlTransaction, 33 'SQLTransaction': () => SqlTransaction,
34 34
35 }; 35 };
36 36
37 // FIXME: Can we make this private?
38 final web_sqlBlinkFunctionMap = {
39 'Database': () => SqlDatabase.internalCreateSqlDatabase,
40 'SQLError': () => SqlError.internalCreateSqlError,
41 'SQLResultSet': () => SqlResultSet.internalCreateSqlResultSet,
42 'SQLResultSetRowList': () => SqlResultSetRowList.internalCreateSqlResultSetRow List,
43 'SQLTransaction': () => SqlTransaction.internalCreateSqlTransaction,
44
45 };
37 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 46 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
38 // for details. All rights reserved. Use of this source code is governed by a 47 // for details. All rights reserved. Use of this source code is governed by a
39 // BSD-style license that can be found in the LICENSE file. 48 // BSD-style license that can be found in the LICENSE file.
40 49
41 // WARNING: Do not edit - generated code. 50 // WARNING: Do not edit - generated code.
42 51
43 52
44 @DomName('SQLStatementCallback') 53 @DomName('SQLStatementCallback')
45 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback 54 // http://www.w3.org/TR/webdatabase/#sqlstatementcallback
46 @Experimental() // deprecated 55 @Experimental() // deprecated
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 396
388 SqlTransaction._internal() { } 397 SqlTransaction._internal() { }
389 398
390 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other); 399 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
391 400
392 @DomName('SQLTransaction.executeSql') 401 @DomName('SQLTransaction.executeSql')
393 @DocsEditable() 402 @DocsEditable()
394 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall back callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTrans action.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, arguments , unwrap_jso(callback), unwrap_jso(errorCallback)); 403 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall back callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTrans action.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, arguments , unwrap_jso(callback), unwrap_jso(errorCallback));
395 404
396 } 405 }
OLDNEW
« no previous file with comments | « sdk/lib/web_gl/dartium/web_gl_dartium.dart ('k') | tools/dom/scripts/go.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698