OLD | NEW |
1 library indexed_db; | 1 library indexed_db; |
2 | 2 |
3 import 'dart:html'; | 3 import 'dart:html'; |
4 import 'dart:html_common'; | 4 import 'dart:html_common'; |
5 import 'dart:nativewrappers'; | 5 import 'dart:nativewrappers'; |
6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7 // for details. All rights reserved. Use of this source code is governed by a | 7 // for details. All rights reserved. Use of this source code is governed by a |
8 // BSD-style license that can be found in the LICENSE file. | 8 // BSD-style license that can be found in the LICENSE file. |
9 | 9 |
10 // DO NOT EDIT | 10 // DO NOT EDIT |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 /// @domName IDBRequest | 813 /// @domName IDBRequest |
814 class Request extends EventTarget { | 814 class Request extends EventTarget { |
815 Request.internal(): super.internal(); | 815 Request.internal(): super.internal(); |
816 | 816 |
817 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev
entTarget.dispatchEvent; @docsEditable true | 817 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev
entTarget.dispatchEvent; @docsEditable true |
818 RequestEvents get on => | 818 RequestEvents get on => |
819 new RequestEvents(this); | 819 new RequestEvents(this); |
820 | 820 |
821 | 821 |
822 /** @domName IDBRequest.error */ | 822 /** @domName IDBRequest.error */ |
823 DOMError get error native "IDBRequest_error_Getter"; | 823 DomError get error native "IDBRequest_error_Getter"; |
824 | 824 |
825 | 825 |
826 /** @domName IDBRequest.errorCode */ | 826 /** @domName IDBRequest.errorCode */ |
827 int get errorCode native "IDBRequest_errorCode_Getter"; | 827 int get errorCode native "IDBRequest_errorCode_Getter"; |
828 | 828 |
829 | 829 |
830 /** @domName IDBRequest.readyState */ | 830 /** @domName IDBRequest.readyState */ |
831 String get readyState native "IDBRequest_readyState_Getter"; | 831 String get readyState native "IDBRequest_readyState_Getter"; |
832 | 832 |
833 | 833 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 static const int READ_WRITE = 1; | 887 static const int READ_WRITE = 1; |
888 | 888 |
889 static const int VERSION_CHANGE = 2; | 889 static const int VERSION_CHANGE = 2; |
890 | 890 |
891 | 891 |
892 /** @domName IDBTransaction.db */ | 892 /** @domName IDBTransaction.db */ |
893 Database get db native "IDBTransaction_db_Getter"; | 893 Database get db native "IDBTransaction_db_Getter"; |
894 | 894 |
895 | 895 |
896 /** @domName IDBTransaction.error */ | 896 /** @domName IDBTransaction.error */ |
897 DOMError get error native "IDBTransaction_error_Getter"; | 897 DomError get error native "IDBTransaction_error_Getter"; |
898 | 898 |
899 | 899 |
900 /** @domName IDBTransaction.mode */ | 900 /** @domName IDBTransaction.mode */ |
901 String get mode native "IDBTransaction_mode_Getter"; | 901 String get mode native "IDBTransaction_mode_Getter"; |
902 | 902 |
903 | 903 |
904 /** @domName IDBTransaction.abort */ | 904 /** @domName IDBTransaction.abort */ |
905 void abort() native "IDBTransaction_abort_Callback"; | 905 void abort() native "IDBTransaction_abort_Callback"; |
906 | 906 |
907 | 907 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 VersionChangeRequestEvents get on => | 982 VersionChangeRequestEvents get on => |
983 new VersionChangeRequestEvents(this); | 983 new VersionChangeRequestEvents(this); |
984 | 984 |
985 } | 985 } |
986 | 986 |
987 class VersionChangeRequestEvents extends RequestEvents { | 987 class VersionChangeRequestEvents extends RequestEvents { |
988 VersionChangeRequestEvents(EventTarget _ptr) : super(_ptr); | 988 VersionChangeRequestEvents(EventTarget _ptr) : super(_ptr); |
989 | 989 |
990 EventListenerList get blocked => this['blocked']; | 990 EventListenerList get blocked => this['blocked']; |
991 } | 991 } |
OLD | NEW |