Skip to content

Commit

Permalink
WebSQL: Add spec links for WebIDL definitions
Browse files Browse the repository at this point in the history
R=foolip@chromium.org,lunalu@chromium.org

Review-Url: https://codereview.chromium.org/2763413004
Cr-Commit-Position: refs/heads/master@{#459063}
  • Loading branch information
inexorabletash authored and Commit bot committed Mar 23, 2017
1 parent 94c4fa8 commit 70fc37e
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions third_party/WebKit/Source/modules/webdatabase/Database.idl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#database
[
NoInterfaceObject
] interface Database {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#databasecallback
callback interface DatabaseCallback {
boolean handleEvent(Database database);
};
1 change: 1 addition & 0 deletions third_party/WebKit/Source/modules/webdatabase/SQLError.idl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#sqlerror
[
NoInterfaceObject
] interface SQLError {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#sqlresultset
[
NoInterfaceObject,
] interface SQLResultSet {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#sqlresultsetrowlist
[
NoInterfaceObject,
] interface SQLResultSetRowList {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#sqlstatementcallback
callback interface SQLStatementCallback {
boolean handleEvent(SQLTransaction transaction, SQLResultSet resultSet);
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#sqlstatementerrorcallback
callback interface SQLStatementErrorCallback {
[Custom] boolean handleEvent(SQLTransaction transaction, SQLError error);
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// http://www.w3.org/TR/webdatabase/#sqltransaction

// https://www.w3.org/TR/webdatabase/#objectarray
typedef sequence<any> ObjectArray;

// https://www.w3.org/TR/webdatabase/#sqltransaction
[
NoInterfaceObject,
] interface SQLTransaction {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#sqltransactioncallback
callback interface SQLTransactionCallback {
boolean handleEvent(SQLTransaction transaction);
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#sqltransactionerrorcallback
callback interface SQLTransactionErrorCallback {
boolean handleEvent(SQLError error);
};
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://www.w3.org/TR/webdatabase/#databases
[
ImplementedAs=DOMWindowWebDatabase,
RuntimeEnabled=Database,
Expand Down

0 comments on commit 70fc37e

Please sign in to comment.