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

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

Issue 1744613003: Fixed more sdk/lib issues (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | tools/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file introduces / supplements and forces Dart declarations. 1 // This file introduces / supplements and forces Dart declarations.
2 2
3 [DartSupplemental, 3 [DartSupplemental,
4 Constructor] 4 Constructor]
5 interface AudioContext { 5 interface AudioContext {
6 // TODO(ager): Auto-generate this custom method when the info about retaining 6 // TODO(ager): Auto-generate this custom method when the info about retaining
7 // typed arrays is in the IDL. 7 // typed arrays is in the IDL.
8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe ssCallback, AudioBufferCallback errorCallback); 8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe ssCallback, AudioBufferCallback errorCallback);
9 }; 9 };
10 10
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 [DartName=only_] static IDBKeyRange only(any value); 203 [DartName=only_] static IDBKeyRange only(any value);
204 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [DartForceOpti onal] optional boolean open); 204 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [DartForceOpti onal] optional boolean open);
205 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [DartForceOpti onal] optional boolean open); 205 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [DartForceOpti onal] optional boolean open);
206 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [DartForceOpt ional] optional boolean lowerOpen, [DartForceOptional] optional boolean upperOpe n); 206 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [DartForceOpt ional] optional boolean lowerOpen, [DartForceOptional] optional boolean upperOpe n);
207 }; 207 };
208 208
209 [DartSupplemental] 209 [DartSupplemental]
210 interface IDBObjectStore { 210 interface IDBObjectStore {
211 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [DartForce Optional] optional any key); 211 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [DartForce Optional] optional any key);
212 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [DartForce Optional] optional any key); 212 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [DartForce Optional] optional any key);
213 // [CallWith=ExecutionContext, ImplementedAs=deleteFunction, RaisesException ] IDBRequest delete(any key);
214 [CallWith=ExecutionContext, RaisesException] IDBRequest openCursor([Default= Undefined] optional any range, [DartForceOptional] optional DOMString direction) ;
215 [CallWith=ExecutionContext, RaisesException] IDBRequest count([Default=Undef ined] any key);
216 }; 213 };
217 214
218 interface EntrySync { 215 interface EntrySync {
219 // Native implementation is declared to return EntrySync. 216 // Native implementation is declared to return EntrySync.
220 [DartSuppress] DirectoryEntrySync getParent(); 217 [DartSuppress] DirectoryEntrySync getParent();
221 EntrySync getParent(); 218 EntrySync getParent();
222 }; 219 };
223 220
224 [DartSupplemental, 221 [DartSupplemental,
225 CustomConstructor, 222 CustomConstructor,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // is Uint8Array or sequence<unsigned long>. For now suppress 452 // is Uint8Array or sequence<unsigned long>. For now suppress
456 // the new operation. Vijay suggestion, and I think this makes 453 // the new operation. Vijay suggestion, and I think this makes
457 // sense, change dart:html to have a send operation that takes 454 // sense, change dart:html to have a send operation that takes
458 // a List<int> and have custom handler to call the correct 455 // a List<int> and have custom handler to call the correct
459 // method. The dart:blink library needs to do something else 456 // method. The dart:blink library needs to do something else
460 // postfix the name with send_sequence (?). 457 // postfix the name with send_sequence (?).
461 [DartSuppress] void send(sequence<unsigned long> data, optional double times tamp); 458 [DartSuppress] void send(sequence<unsigned long> data, optional double times tamp);
462 }; 459 };
463 460
464 Element implements GlobalEventHandlers; 461 Element implements GlobalEventHandlers;
OLDNEW
« no previous file with comments | « no previous file | tools/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698