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

Side by Side Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Issue 12334086: Added Web SQL to the docs.json generation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library dart.dom.web_sql; 1 library dart.dom.web_sql;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName; 7 import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexin gBehavior, JSName;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 // DO NOT EDIT - unless you are editing documentation as per: 9 // DO NOT EDIT - unless you are editing documentation as per:
10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 @Experimental 73 @Experimental
74 class SqlDatabase native "*Database" { 74 class SqlDatabase native "*Database" {
75 75
76 /// Checks if this type is supported on the current platform. 76 /// Checks if this type is supported on the current platform.
77 static bool get supported => JS('bool', '!!(window.openDatabase)'); 77 static bool get supported => JS('bool', '!!(window.openDatabase)');
78 78
79 @DomName('Database.version') 79 @DomName('Database.version')
80 @DocsEditable 80 @DocsEditable
81 final String version; 81 final String version;
82 82
83 /**
84 * Atomically update the database version to [newVersion], asynchronously
85 * running [callback] on the [SqlTransaction] representing this
86 * [changeVersion] transaction.
87 *
88 * If [callback] runs successfully, then [successCallback] is called.
89 * Otherwise, [errorCallback] is called.
90 *
91 * [oldVersion] should match the database's current [version] exactly.
92 *
93 * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom-database-c hangeversion) from W3C.
94 */
83 @DomName('Database.changeVersion') 95 @DomName('Database.changeVersion')
84 @DocsEditable 96 @DocsEditable
85 void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallba ck callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCall back]) native; 97 void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallba ck callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCall back]) native;
86 98
87 @DomName('Database.readTransaction') 99 @DomName('Database.readTransaction')
88 @DocsEditable 100 @DocsEditable
89 void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCall back errorCallback, VoidCallback successCallback]) native; 101 void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCall back errorCallback, VoidCallback successCallback]) native;
90 102
91 @DomName('Database.transaction') 103 @DomName('Database.transaction')
92 @DocsEditable 104 @DocsEditable
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 @DomName('SQLTransactionSync') 453 @DomName('SQLTransactionSync')
442 @SupportedBrowser(SupportedBrowser.CHROME) 454 @SupportedBrowser(SupportedBrowser.CHROME)
443 @SupportedBrowser(SupportedBrowser.SAFARI) 455 @SupportedBrowser(SupportedBrowser.SAFARI)
444 @Experimental 456 @Experimental
445 class SqlTransactionSync native "*SQLTransactionSync" { 457 class SqlTransactionSync native "*SQLTransactionSync" {
446 458
447 @DomName('SQLTransactionSync.executeSql') 459 @DomName('SQLTransactionSync.executeSql')
448 @DocsEditable 460 @DocsEditable
449 SqlResultSet executeSql(String sqlStatement, List arguments) native; 461 SqlResultSet executeSql(String sqlStatement, List arguments) native;
450 } 462 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698