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

Side by Side Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 19789017: Regenerate dart:html from new Blink IDL files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More fixes Created 7 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 | Annotate | Revision Log
OLDNEW
1 library dart.dom.indexed_db; 1 library dart.dom.indexed_db;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:html'; 4 import 'dart:html';
5 import 'dart:html_common'; 5 import 'dart:html_common';
6 import 'dart:typed_data'; 6 import 'dart:typed_data';
7 import 'dart:_js_helper' show Creates, Returns, JSName, Null; 7 import 'dart:_js_helper' show Creates, Returns, JSName, Null;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 import 'dart:_interceptors' show Interceptor, JSExtendableArray; 9 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 1142
1143 @DomName('IDBRequest.source') 1143 @DomName('IDBRequest.source')
1144 @DocsEditable() 1144 @DocsEditable()
1145 @Creates('Null') 1145 @Creates('Null')
1146 final dynamic source; 1146 final dynamic source;
1147 1147
1148 @DomName('IDBRequest.transaction') 1148 @DomName('IDBRequest.transaction')
1149 @DocsEditable() 1149 @DocsEditable()
1150 final Transaction transaction; 1150 final Transaction transaction;
1151 1151
1152 @JSName('webkitErrorMessage')
1153 @DomName('IDBRequest.webkitErrorMessage')
1154 @DocsEditable()
1155 @SupportedBrowser(SupportedBrowser.CHROME)
1156 @SupportedBrowser(SupportedBrowser.SAFARI)
1157 @Experimental()
1158 final String errorMessage;
1159
1160 @JSName('addEventListener') 1152 @JSName('addEventListener')
1161 @DomName('IDBRequest.addEventListener') 1153 @DomName('IDBRequest.addEventListener')
1162 @DocsEditable() 1154 @DocsEditable()
1163 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 1155 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
1164 1156
1165 @DomName('IDBRequest.dispatchEvent') 1157 @DomName('IDBRequest.dispatchEvent')
1166 @DocsEditable() 1158 @DocsEditable()
1167 bool dispatchEvent(Event evt) native; 1159 bool dispatchEvent(Event evt) native;
1168 1160
1169 @JSName('removeEventListener') 1161 @JSName('removeEventListener')
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 final Database db; 1225 final Database db;
1234 1226
1235 @DomName('IDBTransaction.error') 1227 @DomName('IDBTransaction.error')
1236 @DocsEditable() 1228 @DocsEditable()
1237 final DomError error; 1229 final DomError error;
1238 1230
1239 @DomName('IDBTransaction.mode') 1231 @DomName('IDBTransaction.mode')
1240 @DocsEditable() 1232 @DocsEditable()
1241 final String mode; 1233 final String mode;
1242 1234
1243 @JSName('webkitErrorMessage')
1244 @DomName('IDBTransaction.webkitErrorMessage')
1245 @DocsEditable()
1246 @SupportedBrowser(SupportedBrowser.CHROME)
1247 @SupportedBrowser(SupportedBrowser.SAFARI)
1248 @Experimental()
1249 final String errorMessage;
1250
1251 @DomName('IDBTransaction.abort') 1235 @DomName('IDBTransaction.abort')
1252 @DocsEditable() 1236 @DocsEditable()
1253 void abort() native; 1237 void abort() native;
1254 1238
1255 @JSName('addEventListener') 1239 @JSName('addEventListener')
1256 @DomName('IDBTransaction.addEventListener') 1240 @DomName('IDBTransaction.addEventListener')
1257 @DocsEditable() 1241 @DocsEditable()
1258 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 1242 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
1259 1243
1260 @DomName('IDBTransaction.dispatchEvent') 1244 @DomName('IDBTransaction.dispatchEvent')
(...skipping 27 matching lines...) Expand all
1288 // BSD-style license that can be found in the LICENSE file. 1272 // BSD-style license that can be found in the LICENSE file.
1289 1273
1290 1274
1291 @DocsEditable() 1275 @DocsEditable()
1292 @DomName('IDBVersionChangeEvent') 1276 @DomName('IDBVersionChangeEvent')
1293 @Unstable() 1277 @Unstable()
1294 class VersionChangeEvent extends Event native "IDBVersionChangeEvent" { 1278 class VersionChangeEvent extends Event native "IDBVersionChangeEvent" {
1295 // To suppress missing implicit constructor warnings. 1279 // To suppress missing implicit constructor warnings.
1296 factory VersionChangeEvent._() { throw new UnsupportedError("Not supported"); } 1280 factory VersionChangeEvent._() { throw new UnsupportedError("Not supported"); }
1297 1281
1282 @DomName('IDBVersionChangeEvent.dataLoss')
1283 @DocsEditable()
1284 @Experimental() // untriaged
1285 final String dataLoss;
1286
1298 @DomName('IDBVersionChangeEvent.newVersion') 1287 @DomName('IDBVersionChangeEvent.newVersion')
1299 @DocsEditable() 1288 @DocsEditable()
1300 @Creates('int|String|Null') 1289 @Creates('int|String|Null')
1301 @Returns('int|String|Null') 1290 @Returns('int|String|Null')
1302 final dynamic newVersion; 1291 final dynamic newVersion;
1303 1292
1304 @DomName('IDBVersionChangeEvent.oldVersion') 1293 @DomName('IDBVersionChangeEvent.oldVersion')
1305 @DocsEditable() 1294 @DocsEditable()
1306 @Creates('int|String|Null') 1295 @Creates('int|String|Null')
1307 @Returns('int|String|Null') 1296 @Returns('int|String|Null')
1308 final dynamic oldVersion; 1297 final dynamic oldVersion;
1309 } 1298 }
1310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1311 // for details. All rights reserved. Use of this source code is governed by a 1300 // for details. All rights reserved. Use of this source code is governed by a
1312 // BSD-style license that can be found in the LICENSE file. 1301 // BSD-style license that can be found in the LICENSE file.
1313 1302
1314 1303
1315 @DocsEditable() 1304 @DocsEditable()
1316 @DomName('IDBAny') 1305 @DomName('IDBAny')
1317 @deprecated // nonstandard 1306 @deprecated // nonstandard
1318 abstract class _IDBAny extends Interceptor native "IDBAny" { 1307 abstract class _IDBAny extends Interceptor native "IDBAny" {
1319 } 1308 }
OLDNEW
« 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