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

Side by Side Diff: tools/dom/idl/dart/dart.idl

Issue 12159005: Dartifying some IndexedDB APIs. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // This file introduces / supplements and forces Dart declarations. 1 // This file introduces / supplements and forces Dart declarations.
2 2
3 [Supplemental, 3 [Supplemental,
4 Constructor] 4 Constructor]
5 interface AudioContext {}; 5 interface AudioContext {};
6 6
7 [Supplemental] 7 [Supplemental]
8 interface Document { 8 interface Document {
9 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height); 9 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height);
10 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height); 10 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 [Suppressed] void setUint8(); 227 [Suppressed] void setUint8();
228 void setInt8(in unsigned long byteOffset, in byte value) 228 void setInt8(in unsigned long byteOffset, in byte value)
229 raises (DOMException); 229 raises (DOMException);
230 void setUint8(in unsigned long byteOffset, in octet value) 230 void setUint8(in unsigned long byteOffset, in octet value)
231 raises (DOMException); 231 raises (DOMException);
232 }; 232 };
233 233
234 // TODO(vsm): Define new names for these (see b/4436830). 234 // TODO(vsm): Define new names for these (see b/4436830).
235 [Supplemental] 235 [Supplemental]
236 interface IDBCursor { 236 interface IDBCursor {
237 [DartName=continueFunction] void continue([Optional] in any key); 237 [DartName=next] void continue([Optional] in any key);
238 }; 238 };
239 [Supplemental] 239 [Supplemental]
240 interface IDBDatabase { 240 interface IDBDatabase {
241 // These variants are slated for removal from WebKit. Suppress to bring our 241 // These variants are slated for removal from WebKit. Suppress to bring our
242 // API in line with the most recent spec. 242 // API in line with the most recent spec.
243 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MStringList storeNames, in unsigned short mode) 243 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MStringList storeNames, in unsigned short mode)
244 raises (IDBDatabaseException); 244 raises (IDBDatabaseException);
245 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString[] storeNames, in unsigned short mode) 245 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString[] storeNames, in unsigned short mode)
246 raises (IDBDatabaseException); 246 raises (IDBDatabaseException);
247 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString storeName, in unsigned short mode) 247 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString storeName, in unsigned short mode)
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 [Suppressed] boolean send(in DOMString data) raises(DOMException); 340 [Suppressed] boolean send(in DOMString data) raises(DOMException);
341 341
342 [Custom] void send(DOMString data) raises(DOMException); 342 [Custom] void send(DOMString data) raises(DOMException);
343 [Custom] void send(Blob data) raises(DOMException); 343 [Custom] void send(Blob data) raises(DOMException);
344 [Custom] void send(ArrayBuffer data) raises(DOMException); 344 [Custom] void send(ArrayBuffer data) raises(DOMException);
345 [Custom] void send(ArrayBufferView data) raises(DOMException); 345 [Custom] void send(ArrayBufferView data) raises(DOMException);
346 }; 346 };
347 347
348 [Suppressed] 348 [Suppressed]
349 interface Entity {}; 349 interface Entity {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698