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

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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 [Suppressed] void setUint8(); 223 [Suppressed] void setUint8();
224 void setInt8(in unsigned long byteOffset, in byte value) 224 void setInt8(in unsigned long byteOffset, in byte value)
225 raises (DOMException); 225 raises (DOMException);
226 void setUint8(in unsigned long byteOffset, in octet value) 226 void setUint8(in unsigned long byteOffset, in octet value)
227 raises (DOMException); 227 raises (DOMException);
228 }; 228 };
229 229
230 // TODO(vsm): Define new names for these (see b/4436830). 230 // TODO(vsm): Define new names for these (see b/4436830).
231 [Supplemental] 231 [Supplemental]
232 interface IDBCursor { 232 interface IDBCursor {
233 [DartName=continueFunction] void continue([Optional] in any key); 233 [DartName=next] void continue([Optional] in any key);
234 }; 234 };
235 [Supplemental] 235 [Supplemental]
236 interface IDBDatabase { 236 interface IDBDatabase {
237 // These variants are slated for removal from WebKit. Suppress to bring our 237 // These variants are slated for removal from WebKit. Suppress to bring our
238 // API in line with the most recent spec. 238 // API in line with the most recent spec.
239 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MStringList storeNames, in unsigned short mode) 239 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MStringList storeNames, in unsigned short mode)
240 raises (IDBDatabaseException); 240 raises (IDBDatabaseException);
241 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString[] storeNames, in unsigned short mode) 241 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString[] storeNames, in unsigned short mode)
242 raises (IDBDatabaseException); 242 raises (IDBDatabaseException);
243 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString storeName, in unsigned short mode) 243 [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
336 [Suppressed] boolean send(in DOMString data) raises(DOMException); 336 [Suppressed] boolean send(in DOMString data) raises(DOMException);
337 337
338 [Custom] void send(DOMString data) raises(DOMException); 338 [Custom] void send(DOMString data) raises(DOMException);
339 [Custom] void send(Blob data) raises(DOMException); 339 [Custom] void send(Blob data) raises(DOMException);
340 [Custom] void send(ArrayBuffer data) raises(DOMException); 340 [Custom] void send(ArrayBuffer data) raises(DOMException);
341 [Custom] void send(ArrayBufferView data) raises(DOMException); 341 [Custom] void send(ArrayBufferView data) raises(DOMException);
342 }; 342 };
343 343
344 [Suppressed] 344 [Suppressed]
345 interface Entity {}; 345 interface Entity {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698