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

Unified Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 12220099: Remove Webkit prefix from all members and make experimental. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
index 6390ff3cea09731e5b016d9e35893b61d38587f1..da3c30283694985ff2a2df4ad7ba1acc610ee1ba 100644
--- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
+++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
@@ -170,6 +170,8 @@ class Cursor native "*IDBCursor" {
@DocsEditable
Request delete() native;
+ @DomName('IDBCursor.update')
+ @DocsEditable
Request update(/*any*/ value) {
var value_1 = convertDartToNative_SerializedScriptValue(value);
return _update_1(value_1);
@@ -265,6 +267,8 @@ class Database extends EventTarget native "*IDBDatabase" {
@DocsEditable
void close() native;
+ @DomName('IDBDatabase.createObjectStore')
+ @DocsEditable
ObjectStore createObjectStore(String name, [Map options]) {
if (?options) {
var options_1 = convertDartToNative_Dictionary(options);
@@ -359,9 +363,13 @@ class IdbFactory native "*IDBFactory" {
@Creates('Database')
OpenDBRequest open(String name, [int version]) native;
+ @JSName('webkitGetDatabaseNames')
@DomName('IDBFactory.webkitGetDatabaseNames')
@DocsEditable
- Request webkitGetDatabaseNames() native;
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental
+ Request getDatabaseNames() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -520,6 +528,11 @@ class ObjectStore native "*IDBObjectStore" {
@DocsEditable
final Transaction transaction;
+ @DomName('IDBObjectStore.add')
+ @DocsEditable
+ @Returns('Request')
+ @Creates('Request')
+ @_annotation_Creates_IDBKey
Request add(/*any*/ value, [/*any*/ key]) {
if (?key) {
var value_1 = convertDartToNative_SerializedScriptValue(value);
@@ -552,6 +565,8 @@ class ObjectStore native "*IDBObjectStore" {
@DocsEditable
Request count([key_OR_range]) native;
+ @DomName('IDBObjectStore.createIndex')
+ @DocsEditable
Index createIndex(String name, keyPath, [Map options]) {
if ((keyPath is List<String> || keyPath == null) && !?options) {
return _createIndex_1(name, keyPath);
@@ -613,6 +628,11 @@ class ObjectStore native "*IDBObjectStore" {
@Creates('Cursor')
Request openCursor([key_OR_range, String direction]) native;
+ @DomName('IDBObjectStore.put')
+ @DocsEditable
+ @Returns('Request')
+ @Creates('Request')
+ @_annotation_Creates_IDBKey
Request put(/*any*/ value, [/*any*/ key]) {
if (?key) {
var value_1 = convertDartToNative_SerializedScriptValue(value);
@@ -728,9 +748,13 @@ class Request extends EventTarget native "*IDBRequest" {
@DocsEditable
final Transaction transaction;
+ @JSName('webkitErrorMessage')
@DomName('IDBRequest.webkitErrorMessage')
@DocsEditable
- final String webkitErrorMessage;
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental
+ final String errorMessage;
@JSName('addEventListener')
@DomName('IDBRequest.addEventListener')
@@ -806,9 +830,13 @@ class Transaction extends EventTarget native "*IDBTransaction" {
@DocsEditable
final String mode;
+ @JSName('webkitErrorMessage')
@DomName('IDBTransaction.webkitErrorMessage')
@DocsEditable
- final String webkitErrorMessage;
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental
+ final String errorMessage;
@DomName('IDBTransaction.abort')
@DocsEditable
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698