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

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

Issue 23461018: Fixing Indexed DB from latest Blink roll (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 // 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); 176 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib();
177 }; 177 };
178 178
179 // TODO(vsm): Define new names for these (see b/4436830). 179 // TODO(vsm): Define new names for these (see b/4436830).
180 [Supplemental] 180 [Supplemental]
181 interface IDBCursor { 181 interface IDBCursor {
182 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio n, RaisesException] void continue([ForceOptional] optional any key); 182 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio n, RaisesException] void continue([ForceOptional] optional any key);
183 }; 183 };
184 [Supplemental] 184 [Supplemental]
185 interface IDBIndex { 185 interface IDBIndex {
186 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([De fault=Undefined] optional any key, [Default=NullString] optional DOMString direc tion); 186 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([De fault=Undefined] optional any key, [ForceOptional] optional DOMString direction) ;
187 187
188 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [Default=Undefined] optional any key, [Default=NullString] optional DOMString di rection); 188 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [Default=Undefined] optional any key, [ForceOptional] optional DOMString directi on);
189 189
190 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([Default =Undefined] optional any key); 190 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([Default =Undefined] optional any key);
191 }; 191 };
192 192
193 [Supplemental] 193 [Supplemental]
194 interface HTMLMediaElement { 194 interface HTMLMediaElement {
195 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Un defined, TreatNullAs=NullString, TreatUndefinedAs=NullString, ForceOptional] opt ional DOMString keySystem); 195 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Un defined, TreatNullAs=NullString, TreatUndefinedAs=NullString, ForceOptional] opt ional DOMString keySystem);
196 }; 196 };
197 197
198 [Supplemental] 198 [Supplemental]
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // TextEncoder/TextDecoder 340 // TextEncoder/TextDecoder
341 [Suppressed] 341 [Suppressed]
342 interface TextEncoder {}; 342 interface TextEncoder {};
343 343
344 [Suppressed] 344 [Suppressed]
345 interface TextDecoder {}; 345 interface TextDecoder {};
346 346
347 [Supplemental] 347 [Supplemental]
348 interface Window : EventTarget {}; 348 interface Window : EventTarget {};
349 349
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698