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

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

Issue 18346012: Make keySystem argument optional in MediaElement.canPlayType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | 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 [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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction); 177 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction);
178 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction); 178 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction);
179 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( any key, 179 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( any key,
180 [ForceOptional] optional DOMString direction); 180 [ForceOptional] optional DOMString direction);
181 181
182 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range); 182 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range);
183 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ; 183 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ;
184 }; 184 };
185 185
186 [Supplemental] 186 [Supplemental]
187 interface HTMLMediaElement {
188 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Un defined, TreatNullAs=NullString, TreatUndefinedAs=NullString, ForceOptional] opt ional DOMString keySystem);
189 };
190
191 [Supplemental]
187 interface IDBKeyRange { 192 interface IDBKeyRange {
188 [DartName=only_] static IDBKeyRange only(any value); 193 [DartName=only_] static IDBKeyRange only(any value);
189 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [ForceOptional ] optional boolean open); 194 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [ForceOptional ] optional boolean open);
190 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [ForceOptional ] optional boolean open); 195 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [ForceOptional ] optional boolean open);
191 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [ForceOptiona l] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen); 196 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [ForceOptiona l] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen);
192 }; 197 };
193 [Supplemental] 198 [Supplemental]
194 interface IDBObjectStore { 199 interface IDBObjectStore {
195 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti onal] optional any key); 200 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti onal] optional any key);
196 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti onal] optional any key); 201 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti onal] optional any key);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 [Custom] void reload(); 317 [Custom] void reload();
313 318
314 // URI decomposition attributes 319 // URI decomposition attributes
315 [CustomSetter] attribute DOMString protocol; 320 [CustomSetter] attribute DOMString protocol;
316 [CustomSetter] attribute DOMString host; 321 [CustomSetter] attribute DOMString host;
317 [CustomSetter] attribute DOMString hostname; 322 [CustomSetter] attribute DOMString hostname;
318 [CustomSetter] attribute DOMString port; 323 [CustomSetter] attribute DOMString port;
319 [CustomSetter] attribute DOMString pathname; 324 [CustomSetter] attribute DOMString pathname;
320 [CustomSetter] attribute DOMString search; 325 [CustomSetter] attribute DOMString search;
321 [CustomSetter] attribute DOMString hash; 326 [CustomSetter] attribute DOMString hash;
322 }; 327 };
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698